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.001256/0.001256, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001383/0.001383, allocations: 196 kB / 18 MB, free: 5.105 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.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1777/0.1777, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001701/0.001701, allocations: 71.89 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1228, allocations: 55.24 MB / 486.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006504/0.1294, allocations: 4.478 MB / 491.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.1323, allocations: 1.575 MB / 492.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.1328, allocations: 15.88 kB / 492.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1339, allocations: 291.2 kB / 493 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.1346, allocations: 258.7 kB / 493.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.1354, allocations: 259.4 kB / 493.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.1362, allocations: 0.639 MB / 494.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.1367, allocations: 284.9 kB / 494.4 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.1371, allocations: 290.9 kB / 494.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.1377, allocations: 390.7 kB / 495.1 MB, free: 380 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.1378, allocations: 40 kB / 495.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.138, allocations: 151.8 kB / 495.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1383, allocations: 239.5 kB / 495.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.1386, allocations: 286.5 kB / 495.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.1393, allocations: 0.6542 MB / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1393, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1393, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1393, allocations: 0 / 496.4 MB, free: 15.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.001872/0.1412, allocations: 0.875 MB / 497.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.1413, allocations: 15.89 kB / 497.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.1414, allocations: 86.64 kB / 497.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.1419, allocations: 100.1 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.143, allocations: 495.9 kB / 498 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.143, allocations: 33.36 kB / 498 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1432, allocations: 59.83 kB / 498.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.1442, allocations: 0.6801 MB / 498.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1442, allocations: 3.938 kB / 498.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.1442, allocations: 23.98 kB / 498.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1444, allocations: 36.98 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.1452, allocations: 0.5306 MB / 499.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.1491, allocations: 3.09 MB / 0.4906 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1497, allocations: 333.2 kB / 0.491 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.15, allocations: 177.7 kB / 0.4911 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.1501, allocations: 11.97 kB / 0.4911 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1501, allocations: 34.56 kB / 0.4912 GB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.757e-06/0.1501, allocations: 7.938 kB / 0.4912 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002066/0.1522, allocations: 1.208 MB / 0.4924 GB, free: 6.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1523, allocations: 81.11 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.1527, allocations: 397.5 kB / 0.4928 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1528, allocations: 33.7 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.153, allocations: 299.1 kB / 0.4931 GB, free: 6.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1531, allocations: 110.6 kB / 0.4932 GB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.1533, allocations: 106.1 kB / 0.4933 GB, free: 5.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1535, allocations: 358.7 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.1538, allocations: 189 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.1543, allocations: 386.6 kB / 0.4942 GB, free: 4.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.1551, allocations: 0.597 MB / 0.4948 GB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1551, allocations: 0 / 0.4948 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00185/0.1569, allocations: 0.8302 MB / 0.4956 GB, free: 3.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.157, allocations: 4 kB / 0.4956 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.157, allocations: 8 kB / 0.4956 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.1582, allocations: 261.4 kB / 0.4959 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.1589, allocations: 143.8 kB / 0.496 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/0.1639, allocations: 4.064 MB / 0.5 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.1643, allocations: 31.89 kB / 0.5 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.1644, allocations: 27.98 kB / 0.5001 GB, free: 14.42 MB / 398.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 (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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.1647, allocations: 221.6 kB / 0.5003 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.1647, allocations: 35.53 kB / 0.5003 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.1655, allocations: 485.2 kB / 0.5008 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1655, allocations: 7.938 kB / 0.5008 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1655, allocations: 0 / 0.5008 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1655, allocations: 3.984 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.167, allocations: 1.011 MB / 0.5018 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.167, allocations: 4 kB / 0.5018 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.1674, allocations: 87.89 kB / 0.5018 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.1675, allocations: 4 kB / 0.5018 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.1675, allocations: 15.92 kB / 0.5019 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1675, allocations: 4 kB / 0.5019 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1675, allocations: 0 / 0.5019 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/0.1685, allocations: 0.7435 MB / 0.5026 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1686, allocations: 124.5 kB / 0.5027 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.1687, allocations: 8 kB / 0.5027 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1689, allocations: 19.97 kB / 0.5027 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.169, allocations: 27.91 kB / 0.5028 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.169, allocations: 8 kB / 0.5028 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1693, allocations: 271.1 kB / 0.503 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1693, allocations: 0 / 0.503 GB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.1698, allocations: 124 kB / 0.5032 GB, free: 11.12 MB / 398.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 (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.001237/0.1711, allocations: 1.288 MB / 0.5044 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.1726, allocations: 0.7992 MB / 0.5052 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1726, allocations: 0 / 0.5052 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1729, allocations: 207.7 kB / 0.5054 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.1734, allocations: 90.12 kB / 0.5055 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008868/0.1823, allocations: 5.295 MB / 0.5106 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.1828, allocations: 0.9015 MB / 0.5115 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.1832, allocations: 135.3 kB / 0.5117 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.1835, allocations: 175.3 kB / 0.5118 GB, free: 1.867 MB / 398.1 MB Notification: Performance of SimCode: time 1.684e-06/0.1835, allocations: 0 / 0.5118 GB, free: 1.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.2197, allocations: 10.82 MB / 0.5224 GB, free: 6.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.29, allocations: 8 kB / 0.5224 GB, free: 6.973 MB / 414.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/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)