Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07856/0.07856, allocations: 12.6 MB / 28.91 MB, free: 0.6406 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 111.5 kB / 32.51 MB, free: 3.578 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 200.4 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4488/0.4488, allocations: 78.52 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 138.9 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1244, allocations: 68.13 MB / 0.623 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004759/0.1292, allocations: 3.433 MB / 0.6264 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1312, allocations: 1.025 MB / 0.6274 GB, free: 11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.1314, allocations: 4 kB / 0.6274 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1318, allocations: 99.19 kB / 0.6275 GB, free: 10.9 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0004762/0.1323, allocations: 190.6 kB / 0.6277 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.1331, allocations: 350.9 kB / 0.628 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.1338, allocations: 0.6031 MB / 0.6286 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1341, allocations: 156.8 kB / 0.6287 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.1344, allocations: 247 kB / 0.629 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.1347, allocations: 274.7 kB / 0.6292 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.1348, allocations: 52 kB / 0.6293 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.135, allocations: 99.97 kB / 0.6294 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1351, allocations: 123.5 kB / 0.6295 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1354, allocations: 266.5 kB / 0.6297 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007922/0.1362, allocations: 0.6735 MB / 0.6304 GB, free: 7.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1362, allocations: 4 kB / 0.6304 GB, free: 7.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1362, allocations: 4 kB / 0.6304 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1363, allocations: 0 / 0.6304 GB, free: 7.871 MB / 446.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.001549/0.1378, allocations: 0.8254 MB / 0.6312 GB, free: 6.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1379, allocations: 11.98 kB / 0.6312 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.1389, allocations: 172.2 kB / 0.6314 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.1395, allocations: 409.8 kB / 0.6318 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.1396, allocations: 54.67 kB / 0.6318 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.1397, allocations: 32 kB / 0.6319 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.1405, allocations: 385.9 kB / 0.6322 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1406, allocations: 0 / 0.6322 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1406, allocations: 12 kB / 0.6322 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1406, allocations: 8 kB / 0.6323 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.1413, allocations: 326.5 kB / 0.6326 GB, free: 5.562 MB / 446.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.002656/0.144, allocations: 1.852 MB / 0.6344 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.145, allocations: 0.8134 MB / 0.6352 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.1455, allocations: 188.8 kB / 0.6354 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1456, allocations: 11.92 kB / 0.6354 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1456, allocations: 34.56 kB / 0.6354 GB, free: 2.398 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.915e-06/0.1456, allocations: 0 / 0.6354 GB, free: 2.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004849/0.1505, allocations: 1.244 MB / 0.6366 GB, free: 1.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1505, allocations: 51.41 kB / 0.6367 GB, free: 1.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.151, allocations: 437.9 kB / 0.6371 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.151, allocations: 29.7 kB / 0.6371 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1512, allocations: 255.9 kB / 0.6374 GB, free: 348 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.1513, allocations: 98.72 kB / 0.6374 GB, free: 248 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1514, allocations: 61.59 kB / 0.6375 GB, free: 180 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1515, allocations: 354.8 kB / 0.6378 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.152, allocations: 184.2 kB / 0.638 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.1524, allocations: 232.9 kB / 0.6382 GB, free: 15.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004801/0.1572, allocations: 1.295 MB / 0.6395 GB, free: 14.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1572, allocations: 0 / 0.6395 GB, free: 14.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00242/0.1597, allocations: 0.8524 MB / 0.6403 GB, free: 13.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.1597, allocations: 4 kB / 0.6403 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1597, allocations: 3.938 kB / 0.6403 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.162, allocations: 0.5587 MB / 0.6409 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/0.1628, allocations: 143.8 kB / 0.641 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.1702, allocations: 3.202 MB / 0.6442 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.1707, allocations: 47.67 kB / 0.6442 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.1708, allocations: 15.98 kB / 0.6442 GB, free: 9.109 MB / 462.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.0002567/0.171, allocations: 173.5 kB / 0.6444 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1712, allocations: 47.44 kB / 0.6444 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.1737, allocations: 0.7708 MB / 0.6452 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1737, allocations: 0 / 0.6452 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1737, allocations: 0 / 0.6452 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1739, allocations: 120.6 kB / 0.6453 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.1739, allocations: 4 kB / 0.6453 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.1743, allocations: 23.97 kB / 0.6453 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.1745, allocations: 79.88 kB / 0.6454 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002027/0.1765, allocations: 0.6192 MB / 0.646 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001453/0.178, allocations: 0.7204 MB / 0.6467 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003979/0.1784, allocations: 147.9 kB / 0.6468 GB, free: 6.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.1788, allocations: 299.1 kB / 0.6471 GB, free: 6.059 MB / 462.1 MB Notification: Performance of Backend: time 6.31e-07/0.1788, allocations: 0 / 0.6471 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.1818, allocations: 0.7348 MB / 0.6478 GB, free: 5.301 MB / 462.1 MB Notification: Performance of SimCode: time 0.001632/0.1834, allocations: 1.305 MB / 0.6491 GB, free: 3.953 MB / 462.1 MB Notification: Performance of Templates: time 0.01362/0.1971, allocations: 7.392 MB / 0.6563 GB, free: 12.56 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)