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.001036/0.001036, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.365/1.365, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 121.2 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1817/0.1817, allocations: 37.92 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.223e-05, allocations: 4 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07834, allocations: 53.25 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.3931, allocations: 88.42 MB / 0.5196 GB, free: 11.03 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3934, allocations: 82.55 kB / 0.5196 GB, free: 11.02 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.4076, allocations: 6.078 MB / 0.5256 GB, free: 8.516 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4076, allocations: 0 / 0.5256 GB, free: 8.516 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.4077, allocations: 7.781 kB / 0.5256 GB, free: 8.512 MB / 347.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.0004909/0.4081, allocations: 0.5001 MB / 0.5261 GB, free: 8.059 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4082, allocations: 11.41 kB / 0.5261 GB, free: 8.059 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.4082, allocations: 23.28 kB / 0.5261 GB, free: 8.047 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4097, allocations: 0.7546 MB / 0.5268 GB, free: 7.629 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4098, allocations: 3.844 kB / 0.5268 GB, free: 7.629 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.4098, allocations: 15.19 kB / 0.5269 GB, free: 7.629 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002104/0.41, allocations: 135.4 kB / 0.527 GB, free: 7.613 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.4103, allocations: 242.9 kB / 0.5272 GB, free: 7.473 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4103, allocations: 3.953 kB / 0.5272 GB, free: 7.469 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.4104, allocations: 0 / 0.5272 GB, free: 7.469 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4104, allocations: 3.875 kB / 0.5272 GB, free: 7.469 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.4113, allocations: 1.129 MB / 0.5283 GB, free: 6.516 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4115, allocations: 67.86 kB / 0.5284 GB, free: 6.465 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.4116, allocations: 36.75 kB / 0.5284 GB, free: 6.441 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4116, allocations: 0 / 0.5284 GB, free: 6.441 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4116, allocations: 34.19 kB / 0.5285 GB, free: 6.402 MB / 347.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4116, allocations: 0 / 0.5285 GB, free: 6.402 MB / 347.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.4121, allocations: 379.4 kB / 0.5288 GB, free: 6.066 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.4121, allocations: 88.47 kB / 0.5289 GB, free: 5.965 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.4123, allocations: 196.1 kB / 0.5291 GB, free: 5.848 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.4123, allocations: 25.7 kB / 0.5291 GB, free: 5.816 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.4124, allocations: 188.2 kB / 0.5293 GB, free: 5.676 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.4124, allocations: 31.2 kB / 0.5293 GB, free: 5.652 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4124, allocations: 0 / 0.5293 GB, free: 5.652 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.4125, allocations: 329.2 kB / 0.5296 GB, free: 5.336 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.4125, allocations: 22.78 kB / 0.5297 GB, free: 5.336 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.4126, allocations: 118.6 kB / 0.5298 GB, free: 5.207 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.4127, allocations: 42.17 kB / 0.5298 GB, free: 5.195 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4127, allocations: 0 / 0.5298 GB, free: 5.195 MB / 347.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001804/0.4129, allocations: 157 kB / 0.53 GB, free: 5.125 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4129, allocations: 3.688 kB / 0.53 GB, free: 5.125 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4129, allocations: 3.812 kB / 0.53 GB, free: 5.125 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4129, allocations: 11.66 kB / 0.53 GB, free: 5.121 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4131, allocations: 38.52 kB / 0.53 GB, free: 5.117 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4131, allocations: 8.219 kB / 0.53 GB, free: 5.113 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.4132, allocations: 15.7 kB / 0.53 GB, free: 5.102 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4132, allocations: 7.844 kB / 0.53 GB, free: 5.102 MB / 347.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.4132, allocations: 112.7 kB / 0.5302 GB, free: 4.988 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4133, allocations: 22.92 kB / 0.5302 GB, free: 4.977 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.4134, allocations: 79.42 kB / 0.5303 GB, free: 4.934 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4134, allocations: 3.844 kB / 0.5303 GB, free: 4.934 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4134, allocations: 3.938 kB / 0.5303 GB, free: 4.93 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4134, allocations: 0 / 0.5303 GB, free: 4.93 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4137, allocations: 382.3 kB / 0.5306 GB, free: 4.617 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.4137, allocations: 0 / 0.5306 GB, free: 4.617 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.4138, allocations: 15.55 kB / 0.5306 GB, free: 4.613 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4138, allocations: 3.844 kB / 0.5306 GB, free: 4.613 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.4139, allocations: 0 / 0.5306 GB, free: 4.613 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4139, allocations: 0 / 0.5306 GB, free: 4.613 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4139, allocations: 7.75 kB / 0.5306 GB, free: 4.609 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.414, allocations: 250.9 kB / 0.5309 GB, free: 4.398 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.4141, allocations: 88.73 kB / 0.531 GB, free: 4.297 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4141, allocations: 7.828 kB / 0.531 GB, free: 4.293 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.4142, allocations: 0 / 0.531 GB, free: 4.293 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.4142, allocations: 7.828 kB / 0.531 GB, free: 4.289 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.4142, allocations: 11.34 kB / 0.531 GB, free: 4.285 MB / 347.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.4143, allocations: 147.9 kB / 0.5311 GB, free: 4.199 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4143, allocations: 0 / 0.5311 GB, free: 4.199 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.4146, allocations: 34.66 kB / 0.5312 GB, free: 4.199 MB / 347.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 () * 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 (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.0001219/0.4148, allocations: 94.5 kB / 0.5313 GB, free: 4.113 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.4149, allocations: 79.73 kB / 0.5313 GB, free: 4.098 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4149, allocations: 256 / 0.5313 GB, free: 4.098 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.4149, allocations: 22.94 kB / 0.5314 GB, free: 4.094 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.4153, allocations: 54.11 kB / 0.5314 GB, free: 4.074 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.4158, allocations: 330.6 kB / 0.5317 GB, free: 3.844 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.416, allocations: 0.761 MB / 0.5325 GB, free: 3.105 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 9.75e-05/0.4161, allocations: 33.34 kB / 0.5325 GB, free: 3.09 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.4161, allocations: 18.97 kB / 0.5325 GB, free: 3.082 MB / 347.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4161, allocations: 3.938 kB / 0.5325 GB, free: 3.078 MB / 347.1 MB Notification: Performance of Templates: time 0.003437/0.4196, allocations: 1.516 MB / 0.534 GB, free: 2.352 MB / 347.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)