Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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/Complex 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108.1 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.335/1.335, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 61.66 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09854, allocations: 58.06 MB / 456.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008129/0.1067, allocations: 7.572 MB / 464 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.1117, allocations: 2.75 MB / 466.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.1126, allocations: 39.75 kB / 466.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.1144, allocations: 0.5621 MB / 467.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.1161, allocations: 0.6423 MB / 468 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1173, allocations: 415.3 kB / 468.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1191, allocations: 1.372 MB / 469.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.12, allocations: 0.4999 MB / 470.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1211, allocations: 0.5758 MB / 470.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1225, allocations: 0.8529 MB / 471.7 MB, free: 9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.1228, allocations: 76 kB / 471.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.1235, allocations: 275.6 kB / 472.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.1241, allocations: 0.5261 MB / 472.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.1248, allocations: 0.5286 MB / 473.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.1261, allocations: 1.32 MB / 474.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1261, allocations: 0 / 474.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1262, allocations: 0 / 474.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.758e-05/0.1262, allocations: 0 / 474.4 MB, free: 6.273 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002253/0.1284, allocations: 1.322 MB / 475.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1285, allocations: 11.89 kB / 475.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.1287, allocations: 152.2 kB / 475.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.1296, allocations: 207.4 kB / 476.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1307, allocations: 0.6667 MB / 476.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.1307, allocations: 62.36 kB / 476.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.1309, allocations: 103.8 kB / 476.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.1328, allocations: 1.384 MB / 478.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.1329, allocations: 3.938 kB / 478.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.133, allocations: 39.98 kB / 478.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.1333, allocations: 117.9 kB / 478.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1349, allocations: 1.097 MB / 479.6 MB, free: 0.9102 MB / 350.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.006803/0.1417, allocations: 5.965 MB / 485.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1427, allocations: 0.7022 MB / 486.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.1432, allocations: 319.2 kB / 486.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.1432, allocations: 12.55 kB / 486.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.1438, allocations: 476.6 kB / 487 MB, free: 9.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.304e-06/0.1438, allocations: 0 / 487 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003194/0.147, allocations: 2.156 MB / 489.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.1471, allocations: 162.8 kB / 489.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.1478, allocations: 0.6445 MB / 490 MB, free: 5.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.1478, allocations: 41.64 kB / 490 MB, free: 5.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.1482, allocations: 0.525 MB / 490.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1483, allocations: 232.8 kB / 490.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.1486, allocations: 206.7 kB / 491 MB, free: 4.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1487, allocations: 394.7 kB / 491.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.1492, allocations: 338.4 kB / 491.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/0.15, allocations: 0.7737 MB / 492.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.1512, allocations: 1.24 MB / 493.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.1513, allocations: 4 kB / 493.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002236/0.1535, allocations: 1.442 MB / 495.2 MB, free: 356 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.1536, allocations: 41.64 kB / 495.2 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001326/0.1549, allocations: 0.7864 MB / 496 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.1556, allocations: 257.5 kB / 496.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.1562, allocations: 215.6 kB / 496.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/0.1604, allocations: 4.373 MB / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.161, allocations: 55.88 kB / 0.4891 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.1611, allocations: 63.97 kB / 0.4892 GB, free: 10.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004753/0.1615, allocations: 410.9 kB / 0.4896 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.1616, allocations: 79 kB / 0.4897 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1629, allocations: 0.8438 MB / 0.4905 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.1629, allocations: 8 kB / 0.4905 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1629, allocations: 0 / 0.4905 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1629, allocations: 7.984 kB / 0.4905 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.1653, allocations: 1.767 MB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.1653, allocations: 8.062 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/0.1661, allocations: 148 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.1661, allocations: 4 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.1662, allocations: 19.98 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.1662, allocations: 7.938 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1662, allocations: 4 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.1678, allocations: 1.305 MB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.1681, allocations: 200.1 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.1682, allocations: 16 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.1686, allocations: 27.97 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.1687, allocations: 52.44 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/0.1687, allocations: 40.06 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.1692, allocations: 423 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1692, allocations: 0 / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009444/0.1701, allocations: 232 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/0.172, allocations: 1.873 MB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.1741, allocations: 1.423 MB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1741, allocations: 1.75 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.1747, allocations: 466.4 kB / 0.4983 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.1754, allocations: 146 kB / 0.4985 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.1861, allocations: 8.612 MB / 0.5069 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.1869, allocations: 1.114 MB / 0.5079 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.1877, allocations: 298.4 kB / 0.5082 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.1881, allocations: 335.3 kB / 0.5086 GB, free: 5.613 MB / 398.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1881, allocations: 0 / 0.5086 GB, free: 5.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/0.4932, allocations: 15.6 MB / 0.5238 GB, free: 70.93 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.4934, allocations: 218.2 kB / 0.524 GB, free: 70.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.698, allocations: 0 / 0.524 GB, free: 70.68 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)