Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109.2 kB / 17.75 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.00114/0.00114, allocations: 184.3 kB / 18.68 MB, free: 4.41 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.185/0.185, allocations: 38.02 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 458.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 58.06 MB / 0.5048 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005288/0.2972, allocations: 4.565 MB / 0.5092 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.2991, allocations: 1.313 MB / 0.5105 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.2994, allocations: 13.19 kB / 0.5105 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3006, allocations: 396.7 kB / 0.5109 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.3012, allocations: 257.2 kB / 0.5111 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.3017, allocations: 171.9 kB / 0.5113 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.3024, allocations: 0.5528 MB / 0.5118 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.3029, allocations: 283.8 kB / 0.5121 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.3033, allocations: 266.6 kB / 0.5124 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.3038, allocations: 281 kB / 0.5126 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.3038, allocations: 33.47 kB / 0.5127 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3041, allocations: 127 kB / 0.5128 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.3044, allocations: 189.7 kB / 0.513 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.3046, allocations: 221.4 kB / 0.5132 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.3052, allocations: 0.513 MB / 0.5137 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3052, allocations: 3.938 kB / 0.5137 GB, free: 2.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3052, allocations: 4 kB / 0.5137 GB, free: 2.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3052, allocations: 1.25 kB / 0.5137 GB, free: 2.32 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.0009965/0.3062, allocations: 0.6963 MB / 0.5144 GB, free: 1.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3063, allocations: 13.08 kB / 0.5144 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.3069, allocations: 83.03 kB / 0.5145 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.3075, allocations: 415.2 kB / 0.5149 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3075, allocations: 23.53 kB / 0.5149 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3077, allocations: 54.53 kB / 0.5149 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.3083, allocations: 474.9 kB / 0.5154 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3084, allocations: 8.594 kB / 0.5154 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.3084, allocations: 12.06 kB / 0.5154 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.3085, allocations: 28.88 kB / 0.5154 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.3091, allocations: 353.2 kB / 0.5158 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3113, allocations: 1.723 MB / 0.5175 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3116, allocations: 159.3 kB / 0.5176 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.3118, allocations: 110.5 kB / 0.5177 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3118, allocations: 5.781 kB / 0.5177 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3119, allocations: 32.75 kB / 0.5177 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3119, allocations: 0 / 0.5177 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001638/0.3135, allocations: 0.8936 MB / 0.5186 GB, free: 15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3136, allocations: 80.72 kB / 0.5187 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.3139, allocations: 314.2 kB / 0.519 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3139, allocations: 26.7 kB / 0.519 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3141, allocations: 246.3 kB / 0.5193 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.3142, allocations: 69.28 kB / 0.5193 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3143, allocations: 58.14 kB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3144, allocations: 344.3 kB / 0.5197 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3146, allocations: 98.69 kB / 0.5198 GB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3148, allocations: 202 kB / 0.52 GB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.3152, allocations: 332.1 kB / 0.5203 GB, free: 13.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3153, allocations: 1.062 kB / 0.5203 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000926/0.3162, allocations: 473.3 kB / 0.5208 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3162, allocations: 7.625 kB / 0.5208 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006255/0.3169, allocations: 311.8 kB / 0.5211 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.3174, allocations: 136.7 kB / 0.5212 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3176, allocations: 60.25 kB / 0.5213 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3206, allocations: 2.441 MB / 0.5236 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3208, allocations: 20.11 kB / 0.5237 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3209, allocations: 15 kB / 0.5237 GB, free: 11.41 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.0002557/0.3211, allocations: 184.4 kB / 0.5238 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.3212, allocations: 29.94 kB / 0.5239 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.3217, allocations: 267 kB / 0.5241 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3217, allocations: 1.266 kB / 0.5241 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3217, allocations: 5.094 kB / 0.5241 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.3218, allocations: 110.4 kB / 0.5242 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.3219, allocations: 3.094 kB / 0.5242 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3221, allocations: 10.06 kB / 0.5243 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3221, allocations: 10.47 kB / 0.5243 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007823/0.3229, allocations: 457.7 kB / 0.5247 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005502/0.3235, allocations: 0.5561 MB / 0.5252 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.3236, allocations: 96.72 kB / 0.5253 GB, free: 10.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.3238, allocations: 222.9 kB / 0.5256 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3239, allocations: 0 / 0.5256 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3251, allocations: 469.1 kB / 0.526 GB, free: 9.93 MB / 398.1 MB Notification: Performance of SimCode: time 0.001733/0.3269, allocations: 1.328 MB / 0.5273 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Templates: time 0.01045/0.3373, allocations: 4.776 MB / 0.532 GB, free: 7.449 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)