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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001186/0.001186, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001206/0.001207, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1795/0.1795, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.91 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3795, allocations: 58.06 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005024/0.3846, allocations: 4.199 MB / 0.5082 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.386, allocations: 0.944 MB / 0.5091 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3861, allocations: 10.75 kB / 0.5091 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3863, allocations: 51.89 kB / 0.5092 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3868, allocations: 200.3 kB / 0.5094 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.387, allocations: 105.4 kB / 0.5095 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.3875, allocations: 479.7 kB / 0.5099 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.3878, allocations: 154.1 kB / 0.5101 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.3881, allocations: 215.8 kB / 0.5103 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.3885, allocations: 245.4 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.3885, allocations: 26.44 kB / 0.5105 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.3886, allocations: 27.56 kB / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3887, allocations: 121.4 kB / 0.5107 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.3889, allocations: 175.1 kB / 0.5109 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.3893, allocations: 387.4 kB / 0.5112 GB, free: 3.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3893, allocations: 0.6562 kB / 0.5112 GB, free: 3.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3893, allocations: 1.188 kB / 0.5112 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3894, allocations: 0 / 0.5112 GB, free: 3.273 MB / 382.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.001164/0.3905, allocations: 0.6993 MB / 0.5119 GB, free: 2.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3906, allocations: 14.52 kB / 0.5119 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.3906, allocations: 39.09 kB / 0.512 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.3912, allocations: 400.1 kB / 0.5123 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3912, allocations: 19.55 kB / 0.5124 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3913, allocations: 24.75 kB / 0.5124 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.3918, allocations: 363.2 kB / 0.5127 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3919, allocations: 0.6094 kB / 0.5127 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.3919, allocations: 15.38 kB / 0.5127 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3919, allocations: 7.188 kB / 0.5127 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.3923, allocations: 255.3 kB / 0.513 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3939, allocations: 1.453 MB / 0.5144 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3941, allocations: 153.5 kB / 0.5146 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3943, allocations: 81.64 kB / 0.5146 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3943, allocations: 2.219 kB / 0.5146 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3943, allocations: 44.31 kB / 0.5147 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3943, allocations: 0 / 0.5147 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001087/0.3954, allocations: 0.6728 MB / 0.5153 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3955, allocations: 79.25 kB / 0.5154 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3958, allocations: 300.9 kB / 0.5157 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3958, allocations: 31.2 kB / 0.5157 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.396, allocations: 214.9 kB / 0.5159 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.396, allocations: 55.31 kB / 0.516 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.3961, allocations: 54.39 kB / 0.516 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3963, allocations: 339 kB / 0.5164 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3964, allocations: 66.95 kB / 0.5164 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.3966, allocations: 174.3 kB / 0.5166 GB, free: 15.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.3969, allocations: 260.9 kB / 0.5168 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.397, allocations: 1.438 kB / 0.5168 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005418/0.3975, allocations: 288 kB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3975, allocations: 7.531 kB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3976, allocations: 3.438 kB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3976, allocations: 5.469 kB / 0.5171 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.3979, allocations: 59.95 kB / 0.5172 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3979, allocations: 10.36 kB / 0.5172 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3981, allocations: 9.172 kB / 0.5172 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3981, allocations: 15.03 kB / 0.5172 GB, free: 15 MB / 398.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.0001696/0.3983, allocations: 172.1 kB / 0.5174 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3983, allocations: 35.52 kB / 0.5174 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.3988, allocations: 226.2 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3988, allocations: 3.672 kB / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3988, allocations: 0 / 0.5176 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3989, allocations: 6.375 kB / 0.5176 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.3998, allocations: 0.6242 MB / 0.5183 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3998, allocations: 10.3 kB / 0.5183 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.4, allocations: 37.56 kB / 0.5183 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4, allocations: 1.281 kB / 0.5183 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.4, allocations: 7.156 kB / 0.5183 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4, allocations: 1.125 kB / 0.5183 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4001, allocations: 1.766 kB / 0.5183 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.4006, allocations: 427 kB / 0.5187 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4007, allocations: 109 kB / 0.5188 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.4007, allocations: 2.531 kB / 0.5188 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4009, allocations: 9.984 kB / 0.5188 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.4009, allocations: 14.64 kB / 0.5188 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.401, allocations: 9.156 kB / 0.5189 GB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.4012, allocations: 212.6 kB / 0.5191 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4012, allocations: 0 / 0.5191 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.4016, allocations: 60.69 kB / 0.5191 GB, free: 13.78 MB / 398.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.0001101/0.4017, allocations: 105.7 kB / 0.5192 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.402, allocations: 187.8 kB / 0.5194 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.402, allocations: 1.188 kB / 0.5194 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4022, allocations: 90.92 kB / 0.5195 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.4027, allocations: 77.66 kB / 0.5196 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.4038, allocations: 0.6491 MB / 0.5202 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.4042, allocations: 0.8106 MB / 0.521 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.4044, allocations: 46.48 kB / 0.521 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.4045, allocations: 26.25 kB / 0.5211 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4045, allocations: 4 kB / 0.5211 GB, free: 12.44 MB / 398.1 MB Notification: Performance of Templates: time 0.007237/0.4117, allocations: 3.008 MB / 0.524 GB, free: 12.21 MB / 398.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)