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.007361/0.007361, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001292/0.001292, allocations: 196.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4658/0.4658, allocations: 78.51 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 83.88 kB / 0.5536 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4532, allocations: 68.17 MB / 0.6202 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003766/0.457, allocations: 3.394 MB / 0.6235 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.4586, allocations: 1.048 MB / 0.6245 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.4588, allocations: 4 kB / 0.6245 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.4591, allocations: 99.12 kB / 0.6246 GB, free: 5.68 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.0004117/0.4596, allocations: 166.7 kB / 0.6248 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.4602, allocations: 354.9 kB / 0.6251 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.4606, allocations: 0.5992 MB / 0.6257 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.4608, allocations: 152.8 kB / 0.6258 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.461, allocations: 255 kB / 0.6261 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.4613, allocations: 274.7 kB / 0.6263 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.4614, allocations: 52 kB / 0.6264 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.4615, allocations: 104 kB / 0.6265 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.4616, allocations: 119.5 kB / 0.6266 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.4618, allocations: 270.6 kB / 0.6269 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.4624, allocations: 0.6706 MB / 0.6275 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4624, allocations: 0 / 0.6275 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4624, allocations: 4 kB / 0.6275 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4624, allocations: 0 / 0.6275 GB, free: 2.68 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.001256/0.4637, allocations: 0.8484 MB / 0.6283 GB, free: 1.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4637, allocations: 11.97 kB / 0.6284 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.4646, allocations: 172.4 kB / 0.6285 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.4651, allocations: 402.3 kB / 0.6289 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.4652, allocations: 66.66 kB / 0.629 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.4653, allocations: 24 kB / 0.629 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.466, allocations: 393.9 kB / 0.6294 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.466, allocations: 0 / 0.6294 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.466, allocations: 12 kB / 0.6294 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.466, allocations: 8 kB / 0.6294 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.4666, allocations: 326.5 kB / 0.6297 GB, free: 360 kB / 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.002711/0.4693, allocations: 1.864 MB / 0.6315 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4704, allocations: 0.8127 MB / 0.6323 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.4709, allocations: 192.8 kB / 0.6325 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.4709, allocations: 0 / 0.6325 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4709, allocations: 38.55 kB / 0.6325 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.192e-06/0.4709, allocations: 0 / 0.6325 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004705/0.4756, allocations: 1.243 MB / 0.6337 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4757, allocations: 55.41 kB / 0.6338 GB, free: 11.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.4762, allocations: 437.8 kB / 0.6342 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.4763, allocations: 33.7 kB / 0.6342 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.4765, allocations: 252.3 kB / 0.6345 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.4766, allocations: 103.1 kB / 0.6346 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.4767, allocations: 65.64 kB / 0.6346 GB, free: 10.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4768, allocations: 358.7 kB / 0.635 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.4773, allocations: 184.2 kB / 0.6352 GB, free: 10.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.4777, allocations: 229.1 kB / 0.6354 GB, free: 10.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4825, allocations: 1.29 MB / 0.6366 GB, free: 8.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4825, allocations: 0 / 0.6366 GB, free: 8.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002491/0.485, allocations: 0.8411 MB / 0.6375 GB, free: 8.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4851, allocations: 8 kB / 0.6375 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4851, allocations: 11.88 kB / 0.6375 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/0.4874, allocations: 0.5509 MB / 0.638 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/0.4883, allocations: 147.7 kB / 0.6382 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.4957, allocations: 3.212 MB / 0.6413 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.4962, allocations: 47.77 kB / 0.6413 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4962, allocations: 15.98 kB / 0.6414 GB, free: 3.871 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.4965, allocations: 164 kB / 0.6415 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.4966, allocations: 47.72 kB / 0.6416 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4991, allocations: 0.7755 MB / 0.6423 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4991, allocations: 4 kB / 0.6423 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4991, allocations: 0 / 0.6423 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.4991, allocations: 0 / 0.6423 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.5024, allocations: 1.477 MB / 0.6438 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.5024, allocations: 0 / 0.6438 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.5033, allocations: 123.8 kB / 0.6439 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.506, allocations: 0.6328 MB / 0.6445 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.5061, allocations: 8 kB / 0.6445 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.513, allocations: 3.177 MB / 0.6476 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.513, allocations: 0 / 0.6476 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.5161, allocations: 1.05 MB / 0.6486 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.5163, allocations: 124.8 kB / 0.6488 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.5164, allocations: 8 kB / 0.6488 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.5167, allocations: 19.97 kB / 0.6488 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.5169, allocations: 59.98 kB / 0.6488 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.5169, allocations: 11.98 kB / 0.6488 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.5173, allocations: 307.1 kB / 0.6491 GB, free: 11.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5173, allocations: 0 / 0.6491 GB, free: 11.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000589/0.5179, allocations: 127.8 kB / 0.6493 GB, free: 11.5 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.5181, allocations: 103.2 kB / 0.6494 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.5209, allocations: 0.7808 MB / 0.6501 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.521, allocations: 0 / 0.6501 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.5233, allocations: 0.5726 MB / 0.6507 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.5237, allocations: 37.91 kB / 0.6507 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.5275, allocations: 1.017 MB / 0.6517 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5279, allocations: 0.8155 MB / 0.6525 GB, free: 8.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.5281, allocations: 38.95 kB / 0.6525 GB, free: 8.059 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.5282, allocations: 23.44 kB / 0.6526 GB, free: 8.035 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5282, allocations: 0 / 0.6526 GB, free: 8.035 MB / 462.1 MB Notification: Performance of Templates: time 0.01415/0.5423, allocations: 7.685 MB / 0.6601 GB, free: 364 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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)