Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 107 kB / 17.74 MB, free: 5.332 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.001095/0.001095, allocations: 198.5 kB / 18.68 MB, free: 4.398 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.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1783/0.1783, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 58.06 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00519/0.2897, allocations: 4.586 MB / 0.5092 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.2918, allocations: 1.319 MB / 0.5105 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.2922, allocations: 13.94 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.2934, allocations: 404.5 kB / 0.5109 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.294, allocations: 246.5 kB / 0.5112 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.2945, allocations: 177 kB / 0.5113 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.2951, allocations: 0.5587 MB / 0.5119 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.2955, allocations: 283.8 kB / 0.5122 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.2961, allocations: 261.5 kB / 0.5124 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006244/0.2967, allocations: 278.1 kB / 0.5127 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2968, allocations: 37.94 kB / 0.5127 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.2972, allocations: 127 kB / 0.5128 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.2974, allocations: 186.9 kB / 0.513 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.2977, allocations: 221.1 kB / 0.5132 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.2984, allocations: 0.5081 MB / 0.5137 GB, free: 2.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2984, allocations: 1.844 kB / 0.5137 GB, free: 2.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2984, allocations: 0 / 0.5137 GB, free: 2.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2984, allocations: 0 / 0.5137 GB, free: 2.188 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001187/0.2996, allocations: 0.7119 MB / 0.5144 GB, free: 1.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2997, allocations: 16.81 kB / 0.5144 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.3003, allocations: 87.48 kB / 0.5145 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.3009, allocations: 410.1 kB / 0.5149 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.301, allocations: 31.42 kB / 0.5149 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3011, allocations: 46.62 kB / 0.515 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.3018, allocations: 473.1 kB / 0.5154 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3018, allocations: 0.9688 kB / 0.5154 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3019, allocations: 15.41 kB / 0.5154 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.302, allocations: 24.98 kB / 0.5155 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.3025, allocations: 339.6 kB / 0.5158 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3047, allocations: 1.707 MB / 0.5175 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.305, allocations: 147.6 kB / 0.5176 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3052, allocations: 101.6 kB / 0.5177 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3052, allocations: 10.67 kB / 0.5177 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3052, allocations: 40.09 kB / 0.5177 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.3052, allocations: 0 / 0.5177 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001583/0.3068, allocations: 0.8583 MB / 0.5186 GB, free: 14.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3069, allocations: 83.2 kB / 0.5187 GB, free: 14.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.3072, allocations: 306.4 kB / 0.519 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3072, allocations: 34.48 kB / 0.519 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.3074, allocations: 257.8 kB / 0.5192 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.3075, allocations: 66.5 kB / 0.5193 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/0.3076, allocations: 60.89 kB / 0.5194 GB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3077, allocations: 340.1 kB / 0.5197 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3079, allocations: 101.8 kB / 0.5198 GB, free: 13.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3081, allocations: 190.9 kB / 0.52 GB, free: 13.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3085, allocations: 318.3 kB / 0.5203 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3085, allocations: 1.219 kB / 0.5203 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000893/0.3094, allocations: 459.1 kB / 0.5207 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3095, allocations: 10.44 kB / 0.5207 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006274/0.3101, allocations: 301.2 kB / 0.521 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.3106, allocations: 122.2 kB / 0.5211 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3108, allocations: 57.45 kB / 0.5212 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.3134, allocations: 2.373 MB / 0.5235 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3136, allocations: 11.47 kB / 0.5235 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3137, allocations: 15.58 kB / 0.5235 GB, free: 11.31 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.3139, allocations: 194.1 kB / 0.5237 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3139, allocations: 30.36 kB / 0.5237 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.3143, allocations: 248.4 kB / 0.524 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3144, allocations: 2.031 kB / 0.524 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3144, allocations: 0 / 0.524 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.3145, allocations: 110.7 kB / 0.5241 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3145, allocations: 11.89 kB / 0.5241 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3147, allocations: 9 kB / 0.5241 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3147, allocations: 18.31 kB / 0.5241 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007378/0.3154, allocations: 441 kB / 0.5245 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005314/0.316, allocations: 0.5392 MB / 0.5251 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001236/0.3161, allocations: 89.16 kB / 0.5251 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.3163, allocations: 219.1 kB / 0.5253 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3164, allocations: 4.031 kB / 0.5253 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3175, allocations: 464.4 kB / 0.5258 GB, free: 9.824 MB / 398.1 MB Notification: Performance of SimCode: time 0.001515/0.319, allocations: 1.32 MB / 0.5271 GB, free: 8.832 MB / 398.1 MB Notification: Performance of Templates: time 0.009441/0.3284, allocations: 4.692 MB / 0.5317 GB, free: 7.477 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)