Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.001615, allocations: 179.6 kB / 15.76 MB, free: 6.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 94.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2702/0.2702, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004647, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 56.34 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007204/0.1153, allocations: 4.361 MB / 483.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.1196, allocations: 1.666 MB / 485.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.1201, allocations: 19.88 kB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1203, allocations: 63.52 kB / 485.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.1214, allocations: 263.2 kB / 485.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1225, allocations: 243.5 kB / 485.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.1233, allocations: 351.7 kB / 486 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.1244, allocations: 488.2 kB / 486.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.1249, allocations: 211.2 kB / 486.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.1256, allocations: 287.1 kB / 486.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/0.1258, allocations: 20 kB / 487 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.1261, allocations: 95.8 kB / 487.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.1265, allocations: 211.5 kB / 487.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1267, allocations: 113.5 kB / 487.4 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.1275, allocations: 490.8 kB / 487.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1275, allocations: 0 / 487.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1275, allocations: 0 / 487.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1275, allocations: 0 / 487.9 MB, free: 9.141 MB / 330.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.002903/0.1304, allocations: 0.8008 MB / 488.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1305, allocations: 8.031 kB / 488.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.1314, allocations: 95.27 kB / 488.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.1331, allocations: 486.7 kB / 489.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.1332, allocations: 29 kB / 489.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.1334, allocations: 51.98 kB / 489.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1349, allocations: 0.68 MB / 490 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.135, allocations: 7.938 kB / 490 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.1351, allocations: 20 kB / 490 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.1353, allocations: 40.97 kB / 490.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1367, allocations: 0.515 MB / 490.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.1429, allocations: 3.114 MB / 493.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.1439, allocations: 325.2 kB / 494 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.144, allocations: 8.047 kB / 494 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.144, allocations: 38.56 kB / 494.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.497e-06/0.144, allocations: 0 / 494.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003185/0.1472, allocations: 1.208 MB / 495.3 MB, free: 1.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1473, allocations: 85.11 kB / 495.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.148, allocations: 393.5 kB / 495.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.1481, allocations: 29.7 kB / 495.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.1483, allocations: 345.7 kB / 496.1 MB, free: 480 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1485, allocations: 118.3 kB / 496.2 MB, free: 360 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1486, allocations: 8 kB / 496.2 MB, free: 352 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1487, allocations: 334.8 kB / 496.5 MB, free: 8 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.1493, allocations: 189 kB / 496.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.15, allocations: 386.4 kB / 497.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.1506, allocations: 259.6 kB / 497.4 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.1506, allocations: 7.953 kB / 497.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003831/0.1545, allocations: 0.8187 MB / 498.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.1546, allocations: 8 kB / 498.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.1546, allocations: 8 kB / 498.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/0.1577, allocations: 301.6 kB / 498.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.1591, allocations: 143.8 kB / 498.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008765/0.1679, allocations: 3.915 MB / 0.4908 GB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.1686, allocations: 31.91 kB / 0.4908 GB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.1687, allocations: 31.94 kB / 0.4908 GB, free: 9.559 MB / 346.7 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.0004197/0.1691, allocations: 221.7 kB / 0.491 GB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1692, allocations: 43.47 kB / 0.4911 GB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.1705, allocations: 492.8 kB / 0.4916 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1706, allocations: 4 kB / 0.4916 GB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1706, allocations: 4 kB / 0.4916 GB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1706, allocations: 3.984 kB / 0.4916 GB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.173, allocations: 1.034 MB / 0.4926 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.173, allocations: 0 / 0.4926 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/0.1739, allocations: 91.88 kB / 0.4927 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.174, allocations: 4 kB / 0.4927 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.174, allocations: 8 kB / 0.4927 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1741, allocations: 0 / 0.4927 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.1741, allocations: 11.89 kB / 0.4927 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1758, allocations: 0.7823 MB / 0.4935 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.176, allocations: 116.5 kB / 0.4936 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.1761, allocations: 20.14 kB / 0.4936 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.1766, allocations: 19.92 kB / 0.4936 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.1767, allocations: 23.97 kB / 0.4936 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.1768, allocations: 11.98 kB / 0.4936 GB, free: 6.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004863/0.1773, allocations: 271.1 kB / 0.4939 GB, free: 6.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1773, allocations: 0 / 0.4939 GB, free: 6.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008163/0.1781, allocations: 120 kB / 0.494 GB, free: 6.164 MB / 346.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 (39): * Single equations (assignments): 38 * 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.000178/0.1783, allocations: 111.2 kB / 0.4941 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.1808, allocations: 0.7949 MB / 0.4949 GB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1808, allocations: 0 / 0.4949 GB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.1814, allocations: 200.7 kB / 0.4951 GB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.1821, allocations: 78.42 kB / 0.4952 GB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.1857, allocations: 1.585 MB / 0.4967 GB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.1864, allocations: 0.9096 MB / 0.4976 GB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.1867, allocations: 43.42 kB / 0.4976 GB, free: 2.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1867, allocations: 0 / 0.4976 GB, free: 2.352 MB / 346.7 MB Notification: Performance of Templates: time 0.01771/0.2045, allocations: 7.658 MB / 0.5051 GB, free: 10.68 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)