Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007586/0.0007587, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 239 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 188.4 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.513/0.513, allocations: 78.56 MB / 419.9 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12 kB / 499.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 69.35 MB / 0.5558 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2579/0.3875, allocations: 3.061 MB / 0.5588 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.389, allocations: 1.014 MB / 0.5598 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.3892, allocations: 4.594 kB / 0.5598 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.3895, allocations: 78.3 kB / 0.5599 GB, free: 37.44 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.3898, allocations: 153.4 kB / 0.56 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.3903, allocations: 257 kB / 0.5603 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.3908, allocations: 0.5466 MB / 0.5608 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.391, allocations: 114.3 kB / 0.5609 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.3913, allocations: 210.2 kB / 0.5611 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3915, allocations: 233.3 kB / 0.5613 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.3916, allocations: 26.41 kB / 0.5613 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3918, allocations: 64.86 kB / 0.5614 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.3918, allocations: 90.28 kB / 0.5615 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.3919, allocations: 109.3 kB / 0.5616 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.3924, allocations: 0.5063 MB / 0.5621 GB, free: 36.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3924, allocations: 0 / 0.5621 GB, free: 36.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3924, allocations: 0 / 0.5621 GB, free: 36.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3924, allocations: 0.5 kB / 0.5621 GB, free: 36.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001162/0.3936, allocations: 0.7663 MB / 0.5628 GB, free: 36.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3936, allocations: 8.875 kB / 0.5628 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.3945, allocations: 172.5 kB / 0.563 GB, free: 36.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.3949, allocations: 382.6 kB / 0.5634 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.395, allocations: 63.16 kB / 0.5634 GB, free: 36.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.3951, allocations: 27.97 kB / 0.5635 GB, free: 36.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.3958, allocations: 400.2 kB / 0.5638 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3959, allocations: 0 / 0.5638 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.3959, allocations: 14.42 kB / 0.5639 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3959, allocations: 9.125 kB / 0.5639 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.3966, allocations: 347.8 kB / 0.5642 GB, free: 36.09 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.3988, allocations: 1.869 MB / 0.566 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.3997, allocations: 0.8376 MB / 0.5668 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.4001, allocations: 208.3 kB / 0.567 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.4002, allocations: 3.766 kB / 0.567 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4002, allocations: 34.84 kB / 0.5671 GB, free: 34.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.4002, allocations: 3.938 kB / 0.5671 GB, free: 34.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004245/0.4044, allocations: 1.402 MB / 0.5684 GB, free: 34.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.4045, allocations: 60.16 kB / 0.5685 GB, free: 34.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.4049, allocations: 424.4 kB / 0.5689 GB, free: 34.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4049, allocations: 34.86 kB / 0.5689 GB, free: 34.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4051, allocations: 259.9 kB / 0.5692 GB, free: 34.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.4052, allocations: 81.56 kB / 0.5693 GB, free: 34.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.4052, allocations: 10.56 kB / 0.5693 GB, free: 34.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.4053, allocations: 356.3 kB / 0.5696 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.4056, allocations: 199.7 kB / 0.5698 GB, free: 33.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.406, allocations: 248.4 kB / 0.57 GB, free: 33.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.4064, allocations: 210.2 kB / 0.5702 GB, free: 33.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4064, allocations: 0 / 0.5702 GB, free: 33.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00214/0.4086, allocations: 0.9359 MB / 0.5712 GB, free: 33.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4086, allocations: 12.14 kB / 0.5712 GB, free: 33.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4086, allocations: 7.188 kB / 0.5712 GB, free: 33.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.4108, allocations: 0.645 MB / 0.5718 GB, free: 33.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.4115, allocations: 175.3 kB / 0.572 GB, free: 33.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.4174, allocations: 3.157 MB / 0.5751 GB, free: 32.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.4178, allocations: 54.61 kB / 0.5751 GB, free: 32.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4179, allocations: 14.25 kB / 0.5751 GB, free: 32.2 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.4181, allocations: 168.1 kB / 0.5753 GB, free: 32.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.4182, allocations: 49.3 kB / 0.5753 GB, free: 32.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.4204, allocations: 0.8685 MB / 0.5762 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4204, allocations: 3.5 kB / 0.5762 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4204, allocations: 2.156 kB / 0.5762 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4204, allocations: 2.766 kB / 0.5762 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.4232, allocations: 1.594 MB / 0.5777 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4232, allocations: 0.6875 kB / 0.5777 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.424, allocations: 156.3 kB / 0.5779 GB, free: 31.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.4263, allocations: 0.7308 MB / 0.5786 GB, free: 31.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.4264, allocations: 11.19 kB / 0.5786 GB, free: 31.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.4318, allocations: 3.128 MB / 0.5817 GB, free: 29.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4318, allocations: 4 kB / 0.5817 GB, free: 29.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.4344, allocations: 1.162 MB / 0.5828 GB, free: 29.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4345, allocations: 127.6 kB / 0.5829 GB, free: 28.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.4346, allocations: 11.73 kB / 0.5829 GB, free: 28.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.4349, allocations: 33.44 kB / 0.583 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4351, allocations: 62.72 kB / 0.583 GB, free: 28.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4351, allocations: 7.891 kB / 0.583 GB, free: 28.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.4354, allocations: 294.7 kB / 0.5833 GB, free: 28.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4354, allocations: 1.969 kB / 0.5833 GB, free: 28.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.436, allocations: 130.6 kB / 0.5835 GB, free: 28.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.4362, allocations: 104.6 kB / 0.5836 GB, free: 28.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.4387, allocations: 0.8041 MB / 0.5843 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4387, allocations: 4 kB / 0.5843 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.4407, allocations: 0.6184 MB / 0.5849 GB, free: 28.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4411, allocations: 38.52 kB / 0.585 GB, free: 28.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.4443, allocations: 1.168 MB / 0.5861 GB, free: 27.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4446, allocations: 0.8263 MB / 0.5869 GB, free: 26.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.4447, allocations: 37.03 kB / 0.587 GB, free: 26.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.4448, allocations: 25.25 kB / 0.587 GB, free: 26.79 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4448, allocations: 0 / 0.587 GB, free: 26.79 MB / 430.1 MB Notification: Performance of Templates: time 0.01245/0.4573, allocations: 6.642 MB / 0.5935 GB, free: 26.32 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: