Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001152/0.001152, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.351/1.351, allocations: 205.1 MB / 224.5 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.1782/0.1782, allocations: 37.98 MB / 309.9 MB, free: 5.941 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.001373/0.001373, allocations: 59.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 55.25 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005451/0.1098, allocations: 3.922 MB / 491.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1113, allocations: 0.9009 MB / 492.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1115, allocations: 11.94 kB / 492.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1118, allocations: 47.56 kB / 492.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.1122, allocations: 167.1 kB / 492.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1124, allocations: 87.81 kB / 492.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.1129, allocations: 366.7 kB / 493.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1131, allocations: 92.48 kB / 493.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1133, allocations: 167.3 kB / 493.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.1136, allocations: 163.4 kB / 493.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.1137, allocations: 16 kB / 493.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.1137, allocations: 16 kB / 493.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.1139, allocations: 91.72 kB / 493.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.114, allocations: 123.3 kB / 493.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1143, allocations: 259 kB / 494.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1143, allocations: 4 kB / 494.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1143, allocations: 0 / 494.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1143, allocations: 0 / 494.2 MB, free: 1.895 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008955/0.1152, allocations: 0.5583 MB / 494.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1152, allocations: 11.89 kB / 494.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.1153, allocations: 32.56 kB / 494.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.1158, allocations: 327.7 kB / 495.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1158, allocations: 20.38 kB / 495.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1159, allocations: 20 kB / 495.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1163, allocations: 274 kB / 495.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1163, allocations: 0 / 495.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1163, allocations: 8 kB / 495.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1163, allocations: 8 kB / 495.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.1166, allocations: 159.8 kB / 495.6 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1178, allocations: 1.171 MB / 496.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.118, allocations: 73.17 kB / 496.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.118, allocations: 29.78 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1181, allocations: 3.938 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1181, allocations: 42.59 kB / 496.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1181, allocations: 4 kB / 496.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007033/0.1188, allocations: 412.7 kB / 497.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1189, allocations: 77.11 kB / 497.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1191, allocations: 242.5 kB / 497.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1191, allocations: 33.64 kB / 497.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1193, allocations: 187.6 kB / 497.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1193, allocations: 31.77 kB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.1194, allocations: 45.56 kB / 497.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1195, allocations: 334.8 kB / 498.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.1196, allocations: 27.98 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1197, allocations: 116.9 kB / 498.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1199, allocations: 168.7 kB / 498.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1199, allocations: 0 / 498.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002412/0.1201, allocations: 177.1 kB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1201, allocations: 8.438 kB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1202, allocations: 15.88 kB / 498.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1202, allocations: 11.97 kB / 498.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1204, allocations: 40.36 kB / 498.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1204, allocations: 7.938 kB / 498.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.1205, allocations: 8 kB / 498.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1205, allocations: 12 kB / 498.8 MB, free: 12.81 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 (22): * Single equations (assignments): 22 * 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.000134/0.1206, allocations: 149.7 kB / 499 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.1207, allocations: 23.72 kB / 499 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1209, allocations: 103.3 kB / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1209, allocations: 0 / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1209, allocations: 4 kB / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1209, allocations: 0 / 499.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1214, allocations: 419.2 kB / 499.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1214, allocations: 4 kB / 499.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.1215, allocations: 15.98 kB / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1215, allocations: 0 / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1215, allocations: 4 kB / 499.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1215, allocations: 7.969 kB / 499.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1215, allocations: 0 / 499.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1218, allocations: 228.8 kB / 499.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1219, allocations: 92.95 kB / 499.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1219, allocations: 4 kB / 499.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.122, allocations: 8.047 kB / 499.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.122, allocations: 4 kB / 499.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.122, allocations: 0 / 499.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1222, allocations: 174 kB / 0.4883 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 0 / 0.4883 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1225, allocations: 39.98 kB / 0.4884 GB, free: 11.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001098/0.1226, allocations: 99.25 kB / 0.4884 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1228, allocations: 91.72 kB / 0.4885 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1229, allocations: 0 / 0.4885 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.1229, allocations: 31.94 kB / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.1234, allocations: 74.41 kB / 0.4886 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.1243, allocations: 0.5294 MB / 0.4892 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1247, allocations: 0.7597 MB / 0.4899 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1248, allocations: 19.44 kB / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1248, allocations: 4 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005394/0.1302, allocations: 2.655 MB / 0.4925 GB, free: 7.105 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)