Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001191/0.001191, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.292/1.292, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001676/0.001676, allocations: 121.3 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1693/0.1693, allocations: 38 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003713, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08626, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.3791, allocations: 97.17 MB / 0.5413 GB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3793, allocations: 89.14 kB / 0.5414 GB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03989/0.4192, allocations: 13.73 MB / 0.5548 GB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4193, allocations: 0 / 0.5548 GB, free: 2.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.131e-05/0.4194, allocations: 16 kB / 0.5548 GB, free: 2.258 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00243/0.4218, allocations: 0.8043 MB / 0.5556 GB, free: 1.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.4219, allocations: 12.02 kB / 0.5556 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.4221, allocations: 98.97 kB / 0.5557 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006804/0.4228, allocations: 95.2 kB / 0.5558 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.4255, allocations: 0.9401 MB / 0.5567 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.4256, allocations: 35.67 kB / 0.5567 GB, free: 400 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4257, allocations: 40.88 kB / 0.5568 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4268, allocations: 0.6812 MB / 0.5574 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4268, allocations: 3.938 kB / 0.5574 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.4269, allocations: 22.86 kB / 0.5575 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.4269, allocations: 32.36 kB / 0.5575 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.4278, allocations: 0.499 MB / 0.558 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.4315, allocations: 3.028 MB / 0.5609 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.432, allocations: 332.2 kB / 0.5612 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.4321, allocations: 9.109 kB / 0.5613 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4321, allocations: 42.19 kB / 0.5613 GB, free: 12.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.4321, allocations: 0 / 0.5613 GB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002286/0.4344, allocations: 1.408 MB / 0.5627 GB, free: 11.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4345, allocations: 87.61 kB / 0.5628 GB, free: 10.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.4348, allocations: 338.7 kB / 0.5631 GB, free: 10.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4349, allocations: 32.95 kB / 0.5631 GB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4351, allocations: 282.7 kB / 0.5634 GB, free: 10.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.4352, allocations: 131 kB / 0.5635 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.4352, allocations: 14.38 kB / 0.5635 GB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4353, allocations: 352.2 kB / 0.5639 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.4356, allocations: 203.5 kB / 0.564 GB, free: 9.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.436, allocations: 381.1 kB / 0.5644 GB, free: 9.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.4364, allocations: 269.7 kB / 0.5647 GB, free: 9.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4364, allocations: 0 / 0.5647 GB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002161/0.4385, allocations: 0.8617 MB / 0.5655 GB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4386, allocations: 11.95 kB / 0.5655 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4386, allocations: 8.562 kB / 0.5655 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.4404, allocations: 295 kB / 0.5658 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.4411, allocations: 143.4 kB / 0.5659 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/0.4461, allocations: 3.863 MB / 0.5697 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.4466, allocations: 30.09 kB / 0.5697 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.4467, allocations: 27.05 kB / 0.5698 GB, free: 4.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.4471, allocations: 222.1 kB / 0.57 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4472, allocations: 43.48 kB / 0.57 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.4482, allocations: 0.529 MB / 0.5705 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.4482, allocations: 11.98 kB / 0.5706 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4482, allocations: 7.922 kB / 0.5706 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4482, allocations: 4 kB / 0.5706 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4499, allocations: 1.092 MB / 0.5716 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4499, allocations: 0 / 0.5716 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.4504, allocations: 91.56 kB / 0.5717 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.4504, allocations: 12 kB / 0.5717 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.4505, allocations: 11.92 kB / 0.5717 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.4505, allocations: 4 kB / 0.5717 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4505, allocations: 0 / 0.5717 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4516, allocations: 0.8726 MB / 0.5726 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.4517, allocations: 112.7 kB / 0.5727 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.4518, allocations: 19.84 kB / 0.5727 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.4521, allocations: 31.36 kB / 0.5728 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.4521, allocations: 19.97 kB / 0.5728 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4522, allocations: 11.88 kB / 0.5728 GB, free: 1.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.4524, allocations: 265.2 kB / 0.573 GB, free: 1.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4524, allocations: 0 / 0.573 GB, free: 1.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005925/0.453, allocations: 131.4 kB / 0.5732 GB, free: 1.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.4544, allocations: 1.648 MB / 0.5748 GB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.4559, allocations: 0.8393 MB / 0.5756 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.456, allocations: 0 / 0.5756 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.4563, allocations: 236.7 kB / 0.5758 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.4567, allocations: 75.95 kB / 0.5759 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.4635, allocations: 7.235 MB / 0.583 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.464, allocations: 0.907 MB / 0.5838 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.4644, allocations: 135.3 kB / 0.584 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.4646, allocations: 171.7 kB / 0.5841 GB, free: 7.152 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4647, allocations: 0 / 0.5841 GB, free: 7.152 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.4903, allocations: 10.3 MB / 0.5942 GB, free: 12.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.4905, allocations: 198.3 kB / 0.5944 GB, free: 12.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.703, allocations: 0 / 0.5944 GB, free: 12.63 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)