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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 85.61 kB / 16.31 MB, free: 6.449 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.001171/0.001171, allocations: 184.4 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3643/0.3643, allocations: 38.06 MB / 309.7 MB, free: 8.949 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 16 kB / 376.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 56.33 MB / 433 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006342/0.1387, allocations: 4.513 MB / 437.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.1425, allocations: 1.661 MB / 439.1 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.1431, allocations: 23.88 kB / 439.2 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1435, allocations: 79.38 kB / 439.2 MB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1445, allocations: 282.6 kB / 439.5 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.1455, allocations: 255.5 kB / 439.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009228/0.1464, allocations: 0.717 MB / 440.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008674/0.1473, allocations: 484.3 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/0.1478, allocations: 235 kB / 441.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/0.1486, allocations: 378.9 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.1487, allocations: 20 kB / 441.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.149, allocations: 107.8 kB / 441.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.1493, allocations: 219.5 kB / 441.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1495, allocations: 113.4 kB / 442 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.1501, allocations: 498.7 kB / 442.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1501, allocations: 0 / 442.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1501, allocations: 0 / 442.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.1501, allocations: 0 / 442.5 MB, free: 13.01 MB / 382.1 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.001874/0.152, allocations: 0.7853 MB / 443.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.1521, allocations: 8.031 kB / 443.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.1522, allocations: 90.52 kB / 443.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.1528, allocations: 87.2 kB / 443.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.1538, allocations: 482.7 kB / 443.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.1538, allocations: 33 kB / 444 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.154, allocations: 40 kB / 444 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.155, allocations: 0.6879 MB / 444.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.155, allocations: 8 kB / 444.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.1551, allocations: 16 kB / 444.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.1552, allocations: 36.97 kB / 444.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.156, allocations: 0.519 MB / 445.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.1596, allocations: 3.102 MB / 448.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.1603, allocations: 325.2 kB / 448.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1605, allocations: 173.7 kB / 448.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.1606, allocations: 11.92 kB / 448.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1606, allocations: 42.55 kB / 448.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.1606, allocations: 3.938 kB / 448.9 MB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002091/0.1627, allocations: 1.219 MB / 450.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1628, allocations: 93.02 kB / 450.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.1634, allocations: 385.5 kB / 450.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.1635, allocations: 29.7 kB / 450.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.1637, allocations: 295.2 kB / 450.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1639, allocations: 122.3 kB / 451 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1639, allocations: 12.12 kB / 451 MB, free: 4.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1641, allocations: 354.8 kB / 451.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.1644, allocations: 192.9 kB / 451.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.1649, allocations: 381.5 kB / 451.9 MB, free: 3.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.1653, allocations: 251.8 kB / 452.2 MB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1653, allocations: 0 / 452.2 MB, free: 2.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00189/0.1672, allocations: 0.8297 MB / 453 MB, free: 1.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.1672, allocations: 8 kB / 453 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.1673, allocations: 8 kB / 453 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.1685, allocations: 270 kB / 453.3 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.1691, allocations: 135.8 kB / 453.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2584/0.4275, allocations: 3.751 MB / 457.2 MB, free: 48.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.428, allocations: 27.62 kB / 457.2 MB, free: 48.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.428, allocations: 31.94 kB / 457.2 MB, free: 48.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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.000295/0.4283, allocations: 216.9 kB / 457.5 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.4284, allocations: 44.34 kB / 457.5 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/0.4291, allocations: 487.4 kB / 458 MB, free: 48.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4291, allocations: 6.5 kB / 458 MB, free: 48.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.4291, allocations: 1.219 kB / 458 MB, free: 48.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4292, allocations: 3.469 kB / 458 MB, free: 48.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4303, allocations: 1.013 MB / 459 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4304, allocations: 3.438 kB / 459 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.4308, allocations: 90.86 kB / 459.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.4308, allocations: 3.344 kB / 459.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4308, allocations: 6.5 kB / 459.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4308, allocations: 3.25 kB / 459.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4308, allocations: 3.281 kB / 459.1 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.4317, allocations: 0.7456 MB / 459.9 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.4317, allocations: 112.4 kB / 460 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.4318, allocations: 17.27 kB / 460 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.432, allocations: 13.3 kB / 460 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4321, allocations: 31.45 kB / 460 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.4321, allocations: 15.09 kB / 460 MB, free: 48.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.4324, allocations: 265.4 kB / 460.3 MB, free: 48.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4324, allocations: 4.188 kB / 460.3 MB, free: 48.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.4329, allocations: 120.5 kB / 460.4 MB, free: 48.13 MB / 382.1 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.001033/0.434, allocations: 1.291 MB / 461.7 MB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.4354, allocations: 0.7856 MB / 462.5 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4354, allocations: 3.312 kB / 462.5 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.4356, allocations: 202.8 kB / 462.7 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.4362, allocations: 77.98 kB / 462.8 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/0.4424, allocations: 3.739 MB / 466.5 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4429, allocations: 0.8949 MB / 467.4 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003742/0.4433, allocations: 131.4 kB / 467.5 MB, free: 45.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4435, allocations: 170 kB / 467.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4435, allocations: 0 / 467.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4688, allocations: 10.01 MB / 477.7 MB, free: 44.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.469, allocations: 209.8 kB / 477.9 MB, free: 44.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.37, allocations: 0 / 477.9 MB, free: 44.07 MB / 382.1 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) Environment - environmentSimulation: