Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 112.7 kB / 17.06 MB, free: 5.996 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.002099/0.002099, allocations: 198.9 kB / 18 MB, free: 5.078 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.532/1.532, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1854/0.1854, allocations: 37.98 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.001347/0.001347, allocations: 75.88 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 55.24 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005529/0.1214, allocations: 4.207 MB / 491.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.123, allocations: 0.9753 MB / 492.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1232, allocations: 11.88 kB / 492.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.1234, allocations: 59.5 kB / 492.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.1239, allocations: 194.9 kB / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1242, allocations: 95.86 kB / 492.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.1247, allocations: 490.2 kB / 493.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1249, allocations: 147.3 kB / 493.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1252, allocations: 219.1 kB / 493.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1256, allocations: 243.1 kB / 493.7 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1257, allocations: 27.94 kB / 493.8 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.1257, allocations: 28 kB / 493.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1259, allocations: 123.7 kB / 493.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1261, allocations: 187 kB / 494.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1264, allocations: 378.6 kB / 494.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1265, allocations: 0 / 494.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1265, allocations: 0 / 494.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1265, allocations: 0 / 494.5 MB, free: 0.957 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001247/0.1277, allocations: 0.6906 MB / 495.1 MB, free: 220 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1278, allocations: 11.89 kB / 495.2 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.1279, allocations: 40.47 kB / 495.2 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.1285, allocations: 411 kB / 495.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1285, allocations: 24.56 kB / 495.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.1286, allocations: 24 kB / 495.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.1291, allocations: 360.7 kB / 496 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1291, allocations: 3.984 kB / 496 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1291, allocations: 12 kB / 496 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1292, allocations: 8 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.1296, allocations: 261.9 kB / 496.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1313, allocations: 1.438 MB / 497.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1316, allocations: 157 kB / 497.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1317, allocations: 81.73 kB / 497.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.1318, allocations: 7.984 kB / 498 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1318, allocations: 34.5 kB / 498 MB, free: 13.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.1318, allocations: 0 / 498 MB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001185/0.133, allocations: 0.6807 MB / 498.7 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1331, allocations: 81.11 kB / 498.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.1334, allocations: 300.5 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1334, allocations: 25.7 kB / 499.1 MB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1336, allocations: 223.5 kB / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1337, allocations: 55.2 kB / 499.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.1337, allocations: 57.81 kB / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1339, allocations: 338.8 kB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.134, allocations: 59.95 kB / 499.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1342, allocations: 164.8 kB / 499.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1345, allocations: 256.6 kB / 0.4885 GB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1345, allocations: 4 kB / 0.4885 GB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004165/0.135, allocations: 288.8 kB / 0.4888 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.135, allocations: 4 kB / 0.4888 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.135, allocations: 4.438 kB / 0.4888 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.135, allocations: 8 kB / 0.4888 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1353, allocations: 63.89 kB / 0.4888 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.1353, allocations: 11.94 kB / 0.4888 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1355, allocations: 11.94 kB / 0.4889 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1355, allocations: 15.98 kB / 0.4889 GB, free: 10.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.1357, allocations: 161.8 kB / 0.489 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.1357, allocations: 31.56 kB / 0.4891 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.1361, allocations: 239.4 kB / 0.4893 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1361, allocations: 4 kB / 0.4893 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1361, allocations: 0 / 0.4893 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1362, allocations: 3.984 kB / 0.4893 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/0.137, allocations: 0.6317 MB / 0.4899 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.137, allocations: 0 / 0.4899 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1372, allocations: 31.98 kB / 0.4899 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1372, allocations: 4 kB / 0.4899 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1372, allocations: 4 kB / 0.4899 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1372, allocations: 8.031 kB / 0.4899 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1373, allocations: 3.938 kB / 0.49 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.1378, allocations: 420.6 kB / 0.4904 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.1379, allocations: 104.8 kB / 0.4905 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1379, allocations: 0 / 0.4905 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1381, allocations: 11.98 kB / 0.4905 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1381, allocations: 20.05 kB / 0.4905 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1382, allocations: 8 kB / 0.4905 GB, free: 8.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.1384, allocations: 215 kB / 0.4907 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1384, allocations: 0 / 0.4907 GB, free: 8.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000321/0.1387, allocations: 56 kB / 0.4908 GB, free: 8.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001123/0.1388, allocations: 103.2 kB / 0.4908 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.1391, allocations: 196 kB / 0.491 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1391, allocations: 0 / 0.491 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1393, allocations: 87.89 kB / 0.4911 GB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.1398, allocations: 69.69 kB / 0.4912 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1408, allocations: 0.6373 MB / 0.4918 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1412, allocations: 0.8143 MB / 0.4926 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.1414, allocations: 54.94 kB / 0.4927 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.1414, allocations: 23.44 kB / 0.4927 GB, free: 6.258 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1415, allocations: 0 / 0.4927 GB, free: 6.258 MB / 382.1 MB Notification: Performance of Templates: time 0.006495/0.148, allocations: 3.086 MB / 0.4957 GB, free: 3.168 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)