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.0014/0.0014, allocations: 182.1 kB / 13.64 MB, free: 1.676 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.518/1.518, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001644/0.001644, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1573/0.1573, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.715e-05, allocations: 4 kB / 397.5 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3719, allocations: 89.11 MB / 0.5272 GB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3722, allocations: 83.95 kB / 0.5273 GB, free: 4.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2267/0.5989, allocations: 6.13 MB / 0.5333 GB, free: 87.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.599, allocations: 0 / 0.5333 GB, free: 87.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.599, allocations: 8.094 kB / 0.5333 GB, free: 87.32 MB / 378.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.0006076/0.5996, allocations: 0.4941 MB / 0.5338 GB, free: 86.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.5997, allocations: 9.844 kB / 0.5338 GB, free: 86.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.5998, allocations: 30.59 kB / 0.5338 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.6017, allocations: 0.7497 MB / 0.5345 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.6017, allocations: 18.78 kB / 0.5346 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.6018, allocations: 20.47 kB / 0.5346 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.6022, allocations: 257.5 kB / 0.5348 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6022, allocations: 5.438 kB / 0.5348 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.6022, allocations: 18.11 kB / 0.5348 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6022, allocations: 5.344 kB / 0.5348 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.6025, allocations: 154.8 kB / 0.535 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.6037, allocations: 1.171 MB / 0.5361 GB, free: 85.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.6038, allocations: 75.27 kB / 0.5362 GB, free: 85.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.6038, allocations: 31.67 kB / 0.5362 GB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.6039, allocations: 5.125 kB / 0.5362 GB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.6039, allocations: 32.28 kB / 0.5363 GB, free: 85.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.6039, allocations: 0 / 0.5363 GB, free: 85.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000615/0.6045, allocations: 404.6 kB / 0.5367 GB, free: 85.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.6046, allocations: 83.33 kB / 0.5367 GB, free: 85.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.6048, allocations: 213.7 kB / 0.5369 GB, free: 85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.6048, allocations: 28.44 kB / 0.537 GB, free: 84.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.6049, allocations: 190 kB / 0.5371 GB, free: 84.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.6049, allocations: 29.33 kB / 0.5372 GB, free: 84.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.6049, allocations: 4.781 kB / 0.5372 GB, free: 84.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.605, allocations: 332.2 kB / 0.5375 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.6051, allocations: 22.8 kB / 0.5375 GB, free: 84.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.6051, allocations: 122.7 kB / 0.5376 GB, free: 84.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.6052, allocations: 45.36 kB / 0.5377 GB, free: 84.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6052, allocations: 5.766 kB / 0.5377 GB, free: 84.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002466/0.6055, allocations: 179.5 kB / 0.5379 GB, free: 84.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6055, allocations: 6.531 kB / 0.5379 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6055, allocations: 3.656 kB / 0.5379 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6056, allocations: 13.16 kB / 0.5379 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.6057, allocations: 41.31 kB / 0.5379 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.6057, allocations: 12.36 kB / 0.5379 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.6058, allocations: 16.92 kB / 0.5379 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6059, allocations: 8.656 kB / 0.538 GB, free: 84.24 MB / 378.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 () * 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 5.132e-05/0.6059, allocations: 120.9 kB / 0.5381 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.606, allocations: 17.38 kB / 0.5381 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.6061, allocations: 92.17 kB / 0.5382 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6061, allocations: 6.609 kB / 0.5382 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6061, allocations: 1.188 kB / 0.5382 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6061, allocations: 3.953 kB / 0.5382 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.6066, allocations: 423.1 kB / 0.5386 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6066, allocations: 1 kB / 0.5386 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-05/0.6067, allocations: 14.77 kB / 0.5386 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6067, allocations: 2.125 kB / 0.5386 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.6067, allocations: 1.531 kB / 0.5386 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6067, allocations: 10.05 kB / 0.5386 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6067, allocations: 5.125 kB / 0.5386 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.607, allocations: 244.4 kB / 0.5389 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.607, allocations: 99.11 kB / 0.539 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.607, allocations: 2.203 kB / 0.539 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.6071, allocations: 5.219 kB / 0.539 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.6072, allocations: 9.75 kB / 0.539 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.6072, allocations: 2.594 kB / 0.539 GB, free: 83.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001285/0.6073, allocations: 167.6 kB / 0.5391 GB, free: 83.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6073, allocations: 0 / 0.5391 GB, free: 83.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.6076, allocations: 41.06 kB / 0.5392 GB, free: 83.24 MB / 378.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 () * 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.0001341/0.6077, allocations: 100.4 kB / 0.5393 GB, free: 83.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.6079, allocations: 87.83 kB / 0.5393 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6079, allocations: 0 / 0.5393 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.608, allocations: 30.8 kB / 0.5394 GB, free: 83.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.6084, allocations: 55.39 kB / 0.5394 GB, free: 83.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.6091, allocations: 324.8 kB / 0.5397 GB, free: 82.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.6093, allocations: 0.7688 MB / 0.5405 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.6094, allocations: 33.67 kB / 0.5405 GB, free: 82.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.6095, allocations: 19.66 kB / 0.5405 GB, free: 82.15 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6095, allocations: 0 / 0.5405 GB, free: 82.15 MB / 378.7 MB Notification: Performance of Templates: time 0.004367/0.6139, allocations: 1.615 MB / 0.5421 GB, free: 82.02 MB / 378.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)