Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 107 kB / 17.74 MB, free: 5.312 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.001203/0.001203, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1747/0.1747, allocations: 38.02 MB / 330.6 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 58.06 MB / 0.5048 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004849/0.2937, allocations: 4.521 MB / 0.5092 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.2954, allocations: 1.5 MB / 0.5107 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2956, allocations: 13.09 kB / 0.5107 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.296, allocations: 118.8 kB / 0.5108 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.2966, allocations: 285.7 kB / 0.5111 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2968, allocations: 108.5 kB / 0.5112 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.2974, allocations: 0.5025 MB / 0.5116 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.2976, allocations: 161.9 kB / 0.5118 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.2979, allocations: 204.7 kB / 0.512 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.2982, allocations: 209.3 kB / 0.5122 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2982, allocations: 29.25 kB / 0.5122 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.2983, allocations: 30.84 kB / 0.5123 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.2984, allocations: 101.3 kB / 0.5123 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.2986, allocations: 187.4 kB / 0.5125 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.299, allocations: 379.9 kB / 0.5129 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.299, allocations: 1.781 kB / 0.5129 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.299, allocations: 0 / 0.5129 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.299, allocations: 0 / 0.5129 GB, free: 2.688 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.0008663/0.2999, allocations: 0.6782 MB / 0.5136 GB, free: 2.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2999, allocations: 12.48 kB / 0.5136 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.3, allocations: 41.28 kB / 0.5136 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.3005, allocations: 404.5 kB / 0.514 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3006, allocations: 23.28 kB / 0.514 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.3006, allocations: 30.06 kB / 0.514 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.301, allocations: 331.5 kB / 0.5144 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3011, allocations: 1.031 kB / 0.5144 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3011, allocations: 11.78 kB / 0.5144 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3011, allocations: 8.375 kB / 0.5144 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.3014, allocations: 207.6 kB / 0.5146 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3026, allocations: 1.491 MB / 0.516 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.303, allocations: 197.5 kB / 0.5162 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3031, allocations: 78.88 kB / 0.5163 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3031, allocations: 6.359 kB / 0.5163 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3032, allocations: 42.95 kB / 0.5163 GB, free: 12 kB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.3032, allocations: 0 / 0.5163 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001056/0.3042, allocations: 0.6973 MB / 0.517 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.3043, allocations: 133 kB / 0.5172 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.3046, allocations: 322.9 kB / 0.5175 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3046, allocations: 27.27 kB / 0.5175 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3048, allocations: 219.8 kB / 0.5177 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.3048, allocations: 68.73 kB / 0.5178 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.3049, allocations: 53.66 kB / 0.5178 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3051, allocations: 340.2 kB / 0.5181 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.3052, allocations: 52.94 kB / 0.5182 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.3053, allocations: 155.5 kB / 0.5183 GB, free: 14.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3056, allocations: 222.4 kB / 0.5185 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3056, allocations: 0 / 0.5185 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004378/0.306, allocations: 254.5 kB / 0.5188 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3061, allocations: 6 kB / 0.5188 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3061, allocations: 3.812 kB / 0.5188 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3061, allocations: 5.406 kB / 0.5188 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.3065, allocations: 86.22 kB / 0.5189 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.3073, allocations: 1.369 MB / 0.5202 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3075, allocations: 13.33 kB / 0.5202 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3075, allocations: 15.28 kB / 0.5202 GB, free: 12.57 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.3077, allocations: 165 kB / 0.5204 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.3078, allocations: 35.81 kB / 0.5204 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.3082, allocations: 187.6 kB / 0.5206 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3082, allocations: 2.188 kB / 0.5206 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3082, allocations: 1.094 kB / 0.5206 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.3083, allocations: 107.2 kB / 0.5207 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.3083, allocations: 7.672 kB / 0.5207 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3085, allocations: 5.719 kB / 0.5207 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3086, allocations: 18.84 kB / 0.5208 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005444/0.3091, allocations: 496.7 kB / 0.5212 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004853/0.3096, allocations: 0.6378 MB / 0.5219 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.861e-05/0.3097, allocations: 63.08 kB / 0.5219 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.3099, allocations: 227.3 kB / 0.5221 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.31, allocations: 3.938 kB / 0.5221 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.3107, allocations: 185.8 kB / 0.5223 GB, free: 11.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.001615/0.3124, allocations: 1.303 MB / 0.5236 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Templates: time 0.007321/0.3197, allocations: 3.458 MB / 0.527 GB, free: 9.75 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)