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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07554/0.07554, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.0009831/0.000983, allocations: 107.4 kB / 31.83 MB, free: 3.875 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.298/1.298, 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.001313/0.001313, allocations: 196.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.405/0.405, allocations: 78.52 MB / 419.3 MB, free: 11.27 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.00258/0.00258, allocations: 138.4 kB / 0.5553 GB, free: 28.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1208, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004041/0.1249, allocations: 3.437 MB / 0.6252 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1266, allocations: 1.029 MB / 0.6262 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1268, allocations: 0 / 0.6262 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.127, allocations: 99.2 kB / 0.6263 GB, free: 11.35 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.0004477/0.1275, allocations: 190.6 kB / 0.6265 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.1281, allocations: 346.9 kB / 0.6268 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.1286, allocations: 0.6109 MB / 0.6274 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.1289, allocations: 147.7 kB / 0.6276 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1292, allocations: 247 kB / 0.6278 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1295, allocations: 274.7 kB / 0.6281 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.1295, allocations: 56 kB / 0.6281 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.1297, allocations: 104 kB / 0.6282 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.1298, allocations: 115.5 kB / 0.6283 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.13, allocations: 266.5 kB / 0.6286 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.1306, allocations: 0.6711 MB / 0.6293 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1307, allocations: 0 / 0.6293 GB, free: 8.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1307, allocations: 0 / 0.6293 GB, free: 8.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1307, allocations: 3.938 kB / 0.6293 GB, free: 8.34 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.001477/0.1322, allocations: 0.8332 MB / 0.6301 GB, free: 7.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1322, allocations: 19.97 kB / 0.6301 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.1323, allocations: 62.73 kB / 0.6301 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.1333, allocations: 168.1 kB / 0.6303 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.1339, allocations: 409.9 kB / 0.6307 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.134, allocations: 66.47 kB / 0.6308 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.1341, allocations: 24 kB / 0.6308 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.1348, allocations: 377.9 kB / 0.6311 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1348, allocations: 0 / 0.6311 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1349, allocations: 15.98 kB / 0.6312 GB, free: 6.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1349, allocations: 19.98 kB / 0.6312 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.1356, allocations: 330.5 kB / 0.6315 GB, free: 5.934 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.002706/0.1383, allocations: 1.852 MB / 0.6333 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.1393, allocations: 0.8094 MB / 0.6341 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.1397, allocations: 188.8 kB / 0.6343 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1398, allocations: 0 / 0.6343 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1398, allocations: 42.5 kB / 0.6343 GB, free: 2.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/0.1398, allocations: 4 kB / 0.6343 GB, free: 2.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004481/0.1443, allocations: 1.24 MB / 0.6355 GB, free: 1.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1444, allocations: 59.41 kB / 0.6356 GB, free: 1.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.1449, allocations: 429.9 kB / 0.636 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1449, allocations: 29.7 kB / 0.636 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1451, allocations: 248 kB / 0.6363 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.1452, allocations: 94.73 kB / 0.6364 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1453, allocations: 73.58 kB / 0.6364 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1455, allocations: 354.7 kB / 0.6368 GB, free: 204 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.1459, allocations: 180.2 kB / 0.6369 GB, free: 20 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1463, allocations: 232.9 kB / 0.6372 GB, free: 15.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004652/0.151, allocations: 1.295 MB / 0.6384 GB, free: 14.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.151, allocations: 4 kB / 0.6384 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002313/0.1533, allocations: 0.8446 MB / 0.6392 GB, free: 13.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1533, allocations: 7.938 kB / 0.6393 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1534, allocations: 7.984 kB / 0.6393 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.1555, allocations: 0.5548 MB / 0.6398 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.1563, allocations: 143.8 kB / 0.6399 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/0.1632, allocations: 3.195 MB / 0.6431 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.1636, allocations: 47.72 kB / 0.6431 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.1636, allocations: 15.98 kB / 0.6431 GB, free: 9.496 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.0002796/0.1639, allocations: 178.4 kB / 0.6433 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.164, allocations: 43.72 kB / 0.6433 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.1664, allocations: 0.7708 MB / 0.6441 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1664, allocations: 4 kB / 0.6441 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1664, allocations: 7.938 kB / 0.6441 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1664, allocations: 0 / 0.6441 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.1695, allocations: 1.475 MB / 0.6455 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1695, allocations: 4 kB / 0.6455 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.1704, allocations: 127.8 kB / 0.6457 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/0.1729, allocations: 0.6248 MB / 0.6463 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.1729, allocations: 11.98 kB / 0.6463 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.1796, allocations: 3.159 MB / 0.6494 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1796, allocations: 0 / 0.6494 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.1826, allocations: 1.054 MB / 0.6504 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.1827, allocations: 124.6 kB / 0.6505 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.1828, allocations: 12.11 kB / 0.6505 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.1832, allocations: 24.27 kB / 0.6506 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.1833, allocations: 55.91 kB / 0.6506 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.1834, allocations: 12 kB / 0.6506 GB, free: 1.543 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.1837, allocations: 307.1 kB / 0.6509 GB, free: 1.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1837, allocations: 0 / 0.6509 GB, free: 1.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.1843, allocations: 127.8 kB / 0.651 GB, free: 1.121 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.002845/0.1871, allocations: 1.513 MB / 0.6525 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.1898, allocations: 0.7673 MB / 0.6533 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1898, allocations: 3.938 kB / 0.6533 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.192, allocations: 0.5769 MB / 0.6538 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1924, allocations: 33.91 kB / 0.6539 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.2026, allocations: 4.784 MB / 0.6585 GB, free: 9.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2031, allocations: 0.8233 MB / 0.6593 GB, free: 8.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.2033, allocations: 34.95 kB / 0.6594 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.2035, allocations: 147.4 kB / 0.6595 GB, free: 8.254 MB / 478.1 MB Notification: Performance of SimCode: time 1.994e-06/0.2035, allocations: 0 / 0.6595 GB, free: 8.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.2392, allocations: 12.1 MB / 0.6713 GB, free: 12.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.76, allocations: 4.062 kB / 0.6713 GB, free: 12.22 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)