Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 111.6 kB / 17.06 MB, free: 6 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.001822/0.001823, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.175/0.175, allocations: 38.03 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.89 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 58.07 MB / 0.5041 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009477/0.3688, allocations: 10.33 MB / 0.5142 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006538/0.3753, allocations: 3.878 MB / 0.518 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.376, allocations: 44.19 kB / 0.518 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.379, allocations: 1.161 MB / 0.5192 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.3815, allocations: 0.9543 MB / 0.5201 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3834, allocations: 0.6436 MB / 0.5207 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.3864, allocations: 2.08 MB / 0.5227 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.388, allocations: 1.196 MB / 0.5239 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3895, allocations: 0.8714 MB / 0.5248 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.391, allocations: 0.9972 MB / 0.5257 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.3912, allocations: 140.1 kB / 0.5259 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.3925, allocations: 0.5677 MB / 0.5264 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009076/0.3934, allocations: 0.7106 MB / 0.5271 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.3946, allocations: 0.8136 MB / 0.5279 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.3977, allocations: 2.306 MB / 0.5302 GB, free: 8.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3977, allocations: 0 / 0.5302 GB, free: 8.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3977, allocations: 4 kB / 0.5302 GB, free: 8.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.3977, allocations: 0 / 0.5302 GB, free: 8.086 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003678/0.4014, allocations: 1.793 MB / 0.5319 GB, free: 6.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4015, allocations: 13.48 kB / 0.5319 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.4032, allocations: 288.4 kB / 0.5322 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.4054, allocations: 1.07 MB / 0.5333 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.4055, allocations: 94.77 kB / 0.5333 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.4058, allocations: 153.3 kB / 0.5335 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.4087, allocations: 1.692 MB / 0.5351 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.4087, allocations: 11.72 kB / 0.5352 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.4089, allocations: 54.36 kB / 0.5352 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/0.4092, allocations: 108.7 kB / 0.5353 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.4117, allocations: 1.414 MB / 0.5367 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008832/0.4205, allocations: 6.043 MB / 0.5426 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.4217, allocations: 0.7109 MB / 0.5433 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.4225, allocations: 459.1 kB / 0.5437 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.4225, allocations: 16.44 kB / 0.5437 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4226, allocations: 43.06 kB / 0.5438 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.576e-06/0.4226, allocations: 1.344 kB / 0.5438 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.009604/0.4322, allocations: 4.308 MB / 0.548 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4323, allocations: 174.8 kB / 0.5482 GB, free: 10.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.4334, allocations: 0.8335 MB / 0.549 GB, free: 9.863 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.4335, allocations: 41.7 kB / 0.549 GB, free: 9.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.434, allocations: 0.635 MB / 0.5496 GB, free: 9.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4343, allocations: 303.7 kB / 0.5499 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.4346, allocations: 218.8 kB / 0.5501 GB, free: 8.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4347, allocations: 345.9 kB / 0.5505 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/0.4355, allocations: 497.8 kB / 0.5509 GB, free: 7.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4366, allocations: 0.7737 MB / 0.5517 GB, free: 6.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.4384, allocations: 1.292 MB / 0.553 GB, free: 5.516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4384, allocations: 8 kB / 0.553 GB, free: 5.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003815/0.4422, allocations: 1.89 MB / 0.5548 GB, free: 3.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.4423, allocations: 15.92 kB / 0.5548 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003157/0.4454, allocations: 1.502 MB / 0.5563 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.4475, allocations: 0.5661 MB / 0.5568 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.4491, allocations: 399.4 kB / 0.5572 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.4649, allocations: 14.21 MB / 0.5711 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4665, allocations: 68.03 kB / 0.5712 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.4666, allocations: 44 kB / 0.5712 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001675/0.4683, allocations: 0.8069 MB / 0.572 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009189/0.4693, allocations: 0.7425 MB / 0.5727 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001678/0.4709, allocations: 1.261 MB / 0.5739 GB, free: 14.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/0.471, allocations: 0 / 0.5739 GB, free: 14.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.003634/0.4746, allocations: 1.847 MB / 0.5758 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4746, allocations: 11.98 kB / 0.5758 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002869/0.4775, allocations: 1.447 MB / 0.5772 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.4795, allocations: 0.5622 MB / 0.5777 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.4802, allocations: 219.6 kB / 0.5779 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4915, allocations: 11.07 MB / 0.5887 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/0.4925, allocations: 59.89 kB / 0.5888 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.4926, allocations: 43.94 kB / 0.5888 GB, free: 14.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * 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): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems 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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.493, allocations: 255.3 kB / 0.5891 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.4932, allocations: 102.8 kB / 0.5892 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.4958, allocations: 1.405 MB / 0.5906 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4959, allocations: 12 kB / 0.5906 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4959, allocations: 4 kB / 0.5906 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4959, allocations: 7.969 kB / 0.5906 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.5007, allocations: 2.859 MB / 0.5934 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5007, allocations: 8.281 kB / 0.5934 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.5013, allocations: 131.9 kB / 0.5935 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.5024, allocations: 395.8 kB / 0.5939 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.5025, allocations: 39.84 kB / 0.5939 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007614/0.5101, allocations: 9.482 MB / 0.6032 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5101, allocations: 4 kB / 0.6032 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.5133, allocations: 1.928 MB / 0.6051 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.5138, allocations: 267.6 kB / 0.6053 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.5139, allocations: 27.98 kB / 0.6054 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.5145, allocations: 39.97 kB / 0.6054 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5147, allocations: 68.44 kB / 0.6055 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.5147, allocations: 35.98 kB / 0.6055 GB, free: 12.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007591/0.5155, allocations: 0.5738 MB / 0.606 GB, free: 12.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5155, allocations: 3.938 kB / 0.6061 GB, free: 12.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00223/0.5177, allocations: 0.6445 MB / 0.6067 GB, free: 11.53 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003172/0.518, allocations: 151.2 kB / 0.6068 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005923/0.524, allocations: 3.478 MB / 0.6102 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.524, allocations: 1.562 kB / 0.6102 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.5257, allocations: 1.177 MB / 0.6114 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.527, allocations: 245.9 kB / 0.6116 GB, free: 6.281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.5319, allocations: 3.061 MB / 0.6146 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.533, allocations: 1.339 MB / 0.6159 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009846/0.534, allocations: 356.2 kB / 0.6162 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5342, allocations: 75.42 kB / 0.6163 GB, free: 1.363 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5342, allocations: 0 / 0.6163 GB, free: 1.363 MB / 478.1 MB Notification: Performance of Templates: time 0.0346/0.5688, allocations: 22.41 MB / 0.6382 GB, free: 11.05 MB / 0.4981 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1)