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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 115.1 kB / 17.06 MB, free: 5.965 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.0009744/0.0009744, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.24/1.24, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1679/0.1679, allocations: 37.99 MB / 309.2 MB, free: 5.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.00132/0.00132, allocations: 71.89 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09583, allocations: 55.25 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.00567/0.1015, allocations: 4.491 MB / 491.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.104, allocations: 1.567 MB / 493.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.1042, allocations: 15.88 kB / 493.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.1052, allocations: 282.7 kB / 493.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.1057, allocations: 270.7 kB / 493.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.1064, allocations: 251.4 kB / 494 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.1071, allocations: 0.639 MB / 494.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.1075, allocations: 288.7 kB / 494.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.1078, allocations: 283 kB / 495.2 MB, free: 256 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.1084, allocations: 398.7 kB / 495.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.1085, allocations: 40 kB / 495.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.1088, allocations: 143.8 kB / 495.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.109, allocations: 243.4 kB / 496 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.1093, allocations: 278.6 kB / 496.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.1101, allocations: 0.6658 MB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1101, allocations: 0 / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1101, allocations: 0 / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1101, allocations: 4 kB / 496.9 MB, free: 14.5 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.00165/0.1118, allocations: 0.875 MB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1118, allocations: 15.89 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.1123, allocations: 92.12 kB / 497.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.1132, allocations: 499.8 kB / 498.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1132, allocations: 33.38 kB / 498.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.1134, allocations: 63.94 kB / 498.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1144, allocations: 0.6763 MB / 499.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1144, allocations: 7.938 kB / 499.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.1145, allocations: 16 kB / 499.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.1146, allocations: 40.97 kB / 499.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.1154, allocations: 0.5306 MB / 499.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.1193, allocations: 3.102 MB / 0.4911 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.1199, allocations: 321.3 kB / 0.4914 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.1202, allocations: 173.6 kB / 0.4915 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.1202, allocations: 11.97 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1203, allocations: 46.5 kB / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1203, allocations: 0 / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.001893/0.1222, allocations: 1.208 MB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1222, allocations: 81.11 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.1227, allocations: 393.6 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1228, allocations: 33.7 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.123, allocations: 291.3 kB / 0.4935 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1232, allocations: 122.3 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1233, allocations: 98.16 kB / 0.4937 GB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1234, allocations: 358.7 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.1237, allocations: 193 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.1242, allocations: 385.5 kB / 0.4946 GB, free: 4.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.1249, allocations: 0.597 MB / 0.4952 GB, free: 3.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1249, allocations: 4 kB / 0.4952 GB, free: 3.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001723/0.1267, allocations: 0.8259 MB / 0.496 GB, free: 2.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1267, allocations: 8 kB / 0.496 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1267, allocations: 8 kB / 0.4961 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.128, allocations: 265.9 kB / 0.4963 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.1285, allocations: 135.8 kB / 0.4964 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.1332, allocations: 4.061 MB / 0.5004 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1335, allocations: 23.98 kB / 0.5004 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.1336, allocations: 27.98 kB / 0.5004 GB, free: 14.02 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.0002403/0.1338, allocations: 221.7 kB / 0.5007 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.1339, allocations: 39.53 kB / 0.5007 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.1346, allocations: 485.1 kB / 0.5012 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1347, allocations: 4 kB / 0.5012 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1347, allocations: 3.938 kB / 0.5012 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1347, allocations: 3.984 kB / 0.5012 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1362, allocations: 1.011 MB / 0.5022 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1362, allocations: 7.984 kB / 0.5022 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.1366, allocations: 83.83 kB / 0.5022 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1366, allocations: 3.938 kB / 0.5023 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.1367, allocations: 19.98 kB / 0.5023 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1367, allocations: 192 / 0.5023 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1367, allocations: 4 kB / 0.5023 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1378, allocations: 0.7358 MB / 0.503 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.1379, allocations: 128.5 kB / 0.5031 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.1379, allocations: 11.94 kB / 0.5031 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1382, allocations: 15.98 kB / 0.5031 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.1382, allocations: 31.89 kB / 0.5032 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1383, allocations: 16 kB / 0.5032 GB, free: 11.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.1385, allocations: 267.1 kB / 0.5034 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 0.5034 GB, free: 10.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.139, allocations: 120 kB / 0.5036 GB, free: 10.71 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.0001117/0.1391, allocations: 111.2 kB / 0.5037 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.1405, allocations: 0.7948 MB / 0.5044 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1405, allocations: 4 kB / 0.5044 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.1408, allocations: 203.9 kB / 0.5046 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.1413, allocations: 101.2 kB / 0.5047 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.1442, allocations: 1.46 MB / 0.5062 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.1448, allocations: 0.8976 MB / 0.507 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.1452, allocations: 127.3 kB / 0.5072 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1453, allocations: 39.44 kB / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1453, allocations: 0 / 0.5072 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Templates: time 0.01017/0.1555, allocations: 6.353 MB / 0.5134 GB, free: 0.5234 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)