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.1214/0.1214, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001403/0.001403, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.526/1.526, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001824/0.001825, allocations: 191.8 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.457/0.457, 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.002444/0.002444, allocations: 130.3 kB / 0.5558 GB, free: 28.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.16, allocations: 68.13 MB / 0.6224 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004473/0.1645, allocations: 3.426 MB / 0.6257 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1668, allocations: 1.025 MB / 0.6267 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1671, allocations: 4 kB / 0.6267 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.1675, allocations: 95.2 kB / 0.6268 GB, free: 10.89 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.0004552/0.168, allocations: 190.7 kB / 0.627 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.1687, allocations: 354.8 kB / 0.6273 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.1692, allocations: 0.607 MB / 0.6279 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1696, allocations: 156.9 kB / 0.6281 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1699, allocations: 251 kB / 0.6283 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.1702, allocations: 270.8 kB / 0.6286 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.902e-05/0.1703, allocations: 56 kB / 0.6286 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1705, allocations: 103.9 kB / 0.6287 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1707, allocations: 119.5 kB / 0.6288 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1709, allocations: 266.6 kB / 0.6291 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.1716, allocations: 0.6692 MB / 0.6297 GB, free: 7.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1717, allocations: 0 / 0.6297 GB, free: 7.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1717, allocations: 0 / 0.6297 GB, free: 7.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1717, allocations: 0 / 0.6297 GB, free: 7.859 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.001497/0.1732, allocations: 0.8484 MB / 0.6306 GB, free: 6.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1732, allocations: 15.98 kB / 0.6306 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1743, allocations: 172.4 kB / 0.6307 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.1749, allocations: 410.3 kB / 0.6311 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.175, allocations: 62.66 kB / 0.6312 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.1751, allocations: 32 kB / 0.6312 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.176, allocations: 377.9 kB / 0.6316 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.176, allocations: 0 / 0.6316 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.1761, allocations: 12 kB / 0.6316 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1761, allocations: 8 kB / 0.6316 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.1769, allocations: 334.4 kB / 0.6319 GB, free: 5.516 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.002802/0.1797, allocations: 1.849 MB / 0.6337 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1808, allocations: 0.8201 MB / 0.6345 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.1812, allocations: 192.7 kB / 0.6347 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1813, allocations: 4 kB / 0.6347 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1813, allocations: 30.56 kB / 0.6347 GB, free: 2.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.475e-06/0.1813, allocations: 0 / 0.6347 GB, free: 2.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004679/0.186, allocations: 1.252 MB / 0.636 GB, free: 1.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1861, allocations: 55.41 kB / 0.636 GB, free: 1.012 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.1866, allocations: 433.9 kB / 0.6364 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1866, allocations: 29.7 kB / 0.6365 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1868, allocations: 260.3 kB / 0.6367 GB, free: 296 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.1869, allocations: 95.2 kB / 0.6368 GB, free: 200 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.187, allocations: 69.62 kB / 0.6369 GB, free: 124 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1873, allocations: 358.7 kB / 0.6372 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.1877, allocations: 184.2 kB / 0.6374 GB, free: 15.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.1882, allocations: 232.8 kB / 0.6376 GB, free: 15.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004773/0.1929, allocations: 1.295 MB / 0.6389 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.193, allocations: 0 / 0.6389 GB, free: 14.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002492/0.1955, allocations: 0.8527 MB / 0.6397 GB, free: 13.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1955, allocations: 8 kB / 0.6397 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1955, allocations: 3.938 kB / 0.6397 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.1978, allocations: 0.5626 MB / 0.6403 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.1987, allocations: 131.9 kB / 0.6404 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.2064, allocations: 3.206 MB / 0.6435 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2069, allocations: 47.94 kB / 0.6436 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.207, allocations: 12 kB / 0.6436 GB, free: 9.055 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.0003976/0.2074, allocations: 171.9 kB / 0.6437 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.2075, allocations: 51.72 kB / 0.6438 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.2101, allocations: 0.7669 MB / 0.6445 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2101, allocations: 0 / 0.6445 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2102, allocations: 0 / 0.6445 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2102, allocations: 7.984 kB / 0.6445 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.2135, allocations: 1.475 MB / 0.646 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.2135, allocations: 3.984 kB / 0.646 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000878/0.2144, allocations: 123.9 kB / 0.6461 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/0.217, allocations: 0.6326 MB / 0.6467 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.2171, allocations: 15.98 kB / 0.6467 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007066/0.2242, allocations: 3.179 MB / 0.6498 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2242, allocations: 0 / 0.6498 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.2272, allocations: 1.048 MB / 0.6509 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.2273, allocations: 128.7 kB / 0.651 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.2274, allocations: 8.062 kB / 0.651 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.2278, allocations: 23.97 kB / 0.651 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.228, allocations: 55.92 kB / 0.6511 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.228, allocations: 11.98 kB / 0.6511 GB, free: 1.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.2284, allocations: 299.1 kB / 0.6514 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2284, allocations: 0 / 0.6514 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.2289, allocations: 131.8 kB / 0.6515 GB, free: 0.668 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.0001632/0.2291, allocations: 111.2 kB / 0.6516 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.2319, allocations: 0.7634 MB / 0.6524 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2319, allocations: 256 / 0.6524 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.2343, allocations: 0.5723 MB / 0.6529 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2346, allocations: 41.89 kB / 0.653 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.2383, allocations: 1.02 MB / 0.6539 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.2388, allocations: 0.8232 MB / 0.6548 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.2389, allocations: 34.97 kB / 0.6548 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.239, allocations: 35.42 kB / 0.6548 GB, free: 13.18 MB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.239, allocations: 0 / 0.6548 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Templates: time 0.01509/0.2541, allocations: 7.669 MB / 0.6623 GB, free: 5.512 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)