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.08251/0.08251, allocations: 12.59 MB / 28.22 MB, free: 0.7188 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.001115/0.001115, allocations: 111.4 kB / 31.83 MB, free: 3.863 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.327/1.327, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001391/0.001391, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.422/0.422, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.00251/0.00251, allocations: 137.7 kB / 0.5558 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1128, allocations: 68.13 MB / 0.6224 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003748/0.1166, allocations: 3.437 MB / 0.6257 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1181, allocations: 1.022 MB / 0.6267 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1183, allocations: 7.938 kB / 0.6267 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1186, allocations: 95.25 kB / 0.6268 GB, free: 10.88 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.000347/0.1189, allocations: 166.6 kB / 0.627 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.1195, allocations: 350.9 kB / 0.6273 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.1201, allocations: 0.607 MB / 0.6279 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1203, allocations: 156.9 kB / 0.628 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1205, allocations: 247.1 kB / 0.6283 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.1209, allocations: 270.7 kB / 0.6285 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.1209, allocations: 56 kB / 0.6286 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.1211, allocations: 99.98 kB / 0.6287 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.1212, allocations: 115.5 kB / 0.6288 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1214, allocations: 278.5 kB / 0.6291 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.1221, allocations: 0.6692 MB / 0.6297 GB, free: 7.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1221, allocations: 3.938 kB / 0.6297 GB, free: 7.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1221, allocations: 0 / 0.6297 GB, free: 7.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1221, allocations: 0 / 0.6297 GB, free: 7.875 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.001326/0.1234, allocations: 0.8484 MB / 0.6305 GB, free: 6.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1235, allocations: 15.98 kB / 0.6306 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/0.1244, allocations: 176.4 kB / 0.6307 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.125, allocations: 402.3 kB / 0.6311 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1251, allocations: 66.66 kB / 0.6312 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.1251, allocations: 28 kB / 0.6312 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.1259, allocations: 381.9 kB / 0.6316 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1259, allocations: 0 / 0.6316 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.126, allocations: 16 kB / 0.6316 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.126, allocations: 4 kB / 0.6316 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.1267, allocations: 330.4 kB / 0.6319 GB, free: 5.535 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.002608/0.1293, allocations: 1.845 MB / 0.6337 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1303, allocations: 0.8134 MB / 0.6345 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.1308, allocations: 188.8 kB / 0.6347 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.1308, allocations: 7.984 kB / 0.6347 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1309, allocations: 42.48 kB / 0.6347 GB, free: 2.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.1309, allocations: 3.938 kB / 0.6347 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004635/0.1355, allocations: 1.248 MB / 0.6359 GB, free: 1.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1356, allocations: 55.41 kB / 0.636 GB, free: 1.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.136, allocations: 433.9 kB / 0.6364 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1361, allocations: 29.7 kB / 0.6364 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1362, allocations: 260.3 kB / 0.6367 GB, free: 312 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.1363, allocations: 91.22 kB / 0.6368 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1364, allocations: 61.69 kB / 0.6368 GB, free: 152 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1366, allocations: 362.7 kB / 0.6372 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.137, allocations: 184.2 kB / 0.6374 GB, free: 15.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.1374, allocations: 228.9 kB / 0.6376 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.1422, allocations: 1.295 MB / 0.6388 GB, free: 14.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1422, allocations: 4 kB / 0.6388 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00236/0.1446, allocations: 0.8487 MB / 0.6397 GB, free: 13.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1446, allocations: 8 kB / 0.6397 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1446, allocations: 3.938 kB / 0.6397 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/0.1468, allocations: 0.5626 MB / 0.6402 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.1476, allocations: 143.7 kB / 0.6404 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.1547, allocations: 3.203 MB / 0.6435 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1551, allocations: 43.81 kB / 0.6435 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.1551, allocations: 16 kB / 0.6436 GB, free: 9.07 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.0002321/0.1554, allocations: 173.1 kB / 0.6437 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.1554, allocations: 47.72 kB / 0.6438 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.1578, allocations: 0.7669 MB / 0.6445 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1578, allocations: 7.938 kB / 0.6445 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1578, allocations: 0 / 0.6445 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1579, allocations: 3.984 kB / 0.6445 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.1609, allocations: 1.483 MB / 0.646 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.161, allocations: 3.984 kB / 0.646 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/0.1619, allocations: 119.9 kB / 0.6461 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/0.1645, allocations: 0.6327 MB / 0.6467 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.1645, allocations: 11.98 kB / 0.6467 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006708/0.1712, allocations: 3.171 MB / 0.6498 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1713, allocations: 0 / 0.6498 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.1741, allocations: 1.048 MB / 0.6508 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1742, allocations: 136.7 kB / 0.651 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.1743, allocations: 4.281 kB / 0.651 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.1746, allocations: 19.97 kB / 0.651 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1748, allocations: 59.92 kB / 0.6511 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.1748, allocations: 11.92 kB / 0.6511 GB, free: 1.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.1751, allocations: 303.1 kB / 0.6514 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 0 / 0.6514 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.1756, allocations: 135.9 kB / 0.6515 GB, free: 0.6797 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.0001326/0.1758, allocations: 103.2 kB / 0.6516 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.1785, allocations: 0.7751 MB / 0.6523 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1786, allocations: 0 / 0.6523 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.1809, allocations: 0.5686 MB / 0.6529 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1812, allocations: 41.89 kB / 0.6529 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.1847, allocations: 1.023 MB / 0.6539 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1851, allocations: 0.8193 MB / 0.6547 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1852, allocations: 38.95 kB / 0.6548 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.1853, allocations: 31.42 kB / 0.6548 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1853, allocations: 0 / 0.6548 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Templates: time 0.01243/0.1978, allocations: 7.654 MB / 0.6623 GB, free: 5.539 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)