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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001149/0.001149, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.198/1.198, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 125.4 kB / 256.6 MB, free: 4.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1644/0.1644, allocations: 37.95 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09178, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004229/0.09604, allocations: 4.545 MB / 458.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09745, allocations: 1.107 MB / 459.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.09764, allocations: 19.88 kB / 459.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.09783, allocations: 35.7 kB / 459.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.09827, allocations: 151.3 kB / 459.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.09845, allocations: 67.94 kB / 459.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.09881, allocations: 0.5024 MB / 460.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.09899, allocations: 80.72 kB / 460.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.09918, allocations: 147.2 kB / 460.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.09945, allocations: 175.3 kB / 460.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.09949, allocations: 16 kB / 460.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.09953, allocations: 12 kB / 460.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.09962, allocations: 71.8 kB / 460.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.09972, allocations: 119.3 kB / 461 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.09992, allocations: 251 kB / 461.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.09994, allocations: 3.984 kB / 461.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09994, allocations: 0 / 461.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09995, allocations: 0 / 461.3 MB, free: 9.246 MB / 314.7 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.0007755/0.1007, allocations: 0.5544 MB / 461.8 MB, free: 8.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1008, allocations: 8.031 kB / 461.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1008, allocations: 32.56 kB / 461.9 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1011, allocations: 303.8 kB / 462.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1012, allocations: 12.44 kB / 462.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.1012, allocations: 20 kB / 462.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1015, allocations: 273.8 kB / 462.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1015, allocations: 0 / 462.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1015, allocations: 11.98 kB / 462.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1015, allocations: 4 kB / 462.5 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1017, allocations: 163.8 kB / 462.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.1026, allocations: 1.175 MB / 463.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1027, allocations: 89.25 kB / 463.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.1028, allocations: 29.66 kB / 463.9 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1028, allocations: 8 kB / 463.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1028, allocations: 30.56 kB / 464 MB, free: 6.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.1028, allocations: 0 / 464 MB, free: 6.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.1034, allocations: 416.7 kB / 464.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1034, allocations: 81.05 kB / 464.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1036, allocations: 250.4 kB / 464.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.1036, allocations: 25.7 kB / 464.7 MB, free: 5.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.1037, allocations: 187.7 kB / 464.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1037, allocations: 27.56 kB / 464.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1038, allocations: 49.83 kB / 465 MB, free: 5.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.1038, allocations: 330.8 kB / 465.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.1039, allocations: 27.98 kB / 465.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1039, allocations: 112.9 kB / 465.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.104, allocations: 176.6 kB / 465.6 MB, free: 4.465 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.104, allocations: 0 / 465.6 MB, free: 4.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001814/0.1042, allocations: 181 kB / 465.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1043, allocations: 11.94 kB / 465.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1043, allocations: 8.375 kB / 465.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1043, allocations: 8 kB / 465.8 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1044, allocations: 43.92 kB / 465.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1044, allocations: 8.141 kB / 465.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.1045, allocations: 4 kB / 465.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1045, allocations: 12 kB / 465.9 MB, free: 4.188 MB / 314.7 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 8.398e-05/0.1046, allocations: 149.7 kB / 466 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1047, allocations: 27.66 kB / 466.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1048, allocations: 91.38 kB / 466.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1048, allocations: 8 kB / 466.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1048, allocations: 0 / 466.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1048, allocations: 3.984 kB / 466.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1051, allocations: 419.2 kB / 466.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1051, allocations: 4 kB / 466.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.1052, allocations: 15.94 kB / 466.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1052, allocations: 3.984 kB / 466.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1052, allocations: 4 kB / 466.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1052, allocations: 0 / 466.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1052, allocations: 4.031 kB / 466.6 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.1061, allocations: 1.275 MB / 467.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.1061, allocations: 92.89 kB / 468 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1061, allocations: 4 kB / 468 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.1062, allocations: 7.938 kB / 468 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.1062, allocations: 11.92 kB / 468 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1063, allocations: 4 kB / 468 MB, free: 1.844 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.37e-05/0.1064, allocations: 166 kB / 468.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1064, allocations: 4.094 kB / 468.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.1067, allocations: 56 kB / 468.2 MB, free: 1.621 MB / 314.7 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 6.8e-05/0.1068, allocations: 99.25 kB / 468.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1069, allocations: 83.78 kB / 468.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1069, allocations: 0.9688 kB / 468.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.107, allocations: 35.86 kB / 468.4 MB, free: 1.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1074, allocations: 56.64 kB / 468.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.1081, allocations: 0.7003 MB / 469.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1083, allocations: 0.756 MB / 469.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1084, allocations: 30.27 kB / 470 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1084, allocations: 19.44 kB / 470 MB, free: 15.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1084, allocations: 0 / 470 MB, free: 15.76 MB / 330.7 MB Notification: Performance of Templates: time 0.004121/0.1126, allocations: 1.787 MB / 471.8 MB, free: 13.97 MB / 330.7 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)