Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001771/0.001771, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008567/0.2948, allocations: 9.559 MB / 0.5141 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.3004, allocations: 3.559 MB / 0.5176 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.301, allocations: 32.75 kB / 0.5176 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.3036, allocations: 1.107 MB / 0.5187 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.3056, allocations: 0.8925 MB / 0.5196 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3068, allocations: 480.5 kB / 0.52 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.3092, allocations: 1.806 MB / 0.5218 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.3104, allocations: 0.976 MB / 0.5227 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3115, allocations: 0.7787 MB / 0.5235 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.3127, allocations: 0.8909 MB / 0.5244 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.3129, allocations: 105.4 kB / 0.5245 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.3139, allocations: 0.5356 MB / 0.525 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006127/0.3146, allocations: 0.6379 MB / 0.5256 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.3153, allocations: 0.6992 MB / 0.5263 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3175, allocations: 1.905 MB / 0.5282 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3175, allocations: 0 / 0.5282 GB, free: 9.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3175, allocations: 3.938 kB / 0.5282 GB, free: 9.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3175, allocations: 1.469 kB / 0.5282 GB, free: 9.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003004/0.3205, allocations: 1.622 MB / 0.5298 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3206, allocations: 17.66 kB / 0.5298 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3222, allocations: 276.6 kB / 0.53 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3241, allocations: 0.9392 MB / 0.531 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.3242, allocations: 90.33 kB / 0.531 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.3245, allocations: 138.7 kB / 0.5312 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.3267, allocations: 1.488 MB / 0.5326 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.3267, allocations: 10.41 kB / 0.5326 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.3268, allocations: 42.53 kB / 0.5327 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003011/0.3271, allocations: 98.88 kB / 0.5328 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.3291, allocations: 1.254 MB / 0.534 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00715/0.3363, allocations: 5.629 MB / 0.5395 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.3372, allocations: 0.5931 MB / 0.5401 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.3377, allocations: 400.5 kB / 0.5405 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.3378, allocations: 11.98 kB / 0.5405 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3378, allocations: 46.55 kB / 0.5405 GB, free: 1.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=67): time 2.454e-06/0.3378, allocations: 0 / 0.5405 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.006947/0.3448, allocations: 3.626 MB / 0.5441 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3448, allocations: 88.55 kB / 0.5441 GB, free: 14.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.3457, allocations: 0.7431 MB / 0.5449 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.3457, allocations: 40.45 kB / 0.5449 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.3461, allocations: 0.5893 MB / 0.5455 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.3463, allocations: 271.2 kB / 0.5457 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.3466, allocations: 182.3 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3468, allocations: 399.1 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.3473, allocations: 396 kB / 0.5467 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/0.3481, allocations: 0.6613 MB / 0.5473 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3495, allocations: 1.14 MB / 0.5484 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3495, allocations: 0 / 0.5484 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003146/0.3526, allocations: 1.717 MB / 0.5501 GB, free: 9.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3527, allocations: 12 kB / 0.5501 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002572/0.3552, allocations: 1.302 MB / 0.5514 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.3571, allocations: 0.5808 MB / 0.552 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.3577, allocations: 171.7 kB / 0.5521 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.3693, allocations: 10.36 MB / 0.5622 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.3701, allocations: 48.09 kB / 0.5623 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.3702, allocations: 40 kB / 0.5623 GB, free: 12.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006004/0.3708, allocations: 385.4 kB / 0.5627 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.371, allocations: 90.88 kB / 0.5628 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.3732, allocations: 1.248 MB / 0.564 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3733, allocations: 7.984 kB / 0.564 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3733, allocations: 0 / 0.564 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.3737, allocations: 235.9 kB / 0.5642 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.3739, allocations: 23.94 kB / 0.5642 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.3743, allocations: 31.95 kB / 0.5643 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3744, allocations: 60.56 kB / 0.5643 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003056/0.3775, allocations: 1.48 MB / 0.5658 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001941/0.3795, allocations: 1.569 MB / 0.5673 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005227/0.38, allocations: 408.9 kB / 0.5677 GB, free: 6.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006064/0.3806, allocations: 0.5068 MB / 0.5682 GB, free: 5.898 MB / 430.1 MB Notification: Performance of Backend: time 3.41e-07/0.3806, allocations: 0 / 0.5682 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.3833, allocations: 1.522 MB / 0.5697 GB, free: 4.316 MB / 430.1 MB Notification: Performance of SimCode: time 0.003953/0.3873, allocations: 3.1 MB / 0.5727 GB, free: 1.176 MB / 430.1 MB Notification: Performance of Templates: time 0.02685/0.4142, allocations: 17.53 MB / 0.5898 GB, free: 15.73 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)