Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008985/0.0008986, allocations: 175.2 kB / 16.08 MB, free: 5.539 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 239.7 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007375/0.0007375, allocations: 92.22 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4916/0.4916, allocations: 78.41 MB / 419.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003968, allocations: 12 kB / 499.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2661, allocations: 68.76 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.005295/0.2714, allocations: 6.677 MB / 0.561 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2746, allocations: 2.029 MB / 0.563 GB, free: 11.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.2756, allocations: 12 kB / 0.563 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.2764, allocations: 190.8 kB / 0.5632 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.2782, allocations: 0.7031 MB / 0.5639 GB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2793, allocations: 0.607 MB / 0.5645 GB, free: 9.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009045/0.2802, allocations: 1.46 MB / 0.5659 GB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.2805, allocations: 273.2 kB / 0.5662 GB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.2809, allocations: 0.5519 MB / 0.5667 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.2814, allocations: 0.7426 MB / 0.5674 GB, free: 6.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.2816, allocations: 60 kB / 0.5675 GB, free: 6.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.2819, allocations: 195.8 kB / 0.5677 GB, free: 6.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.2821, allocations: 258.7 kB / 0.5679 GB, free: 6.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.2824, allocations: 0.5938 MB / 0.5685 GB, free: 5.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.2833, allocations: 1.535 MB / 0.57 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2833, allocations: 0 / 0.57 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2833, allocations: 4 kB / 0.57 GB, free: 4.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2833, allocations: 0 / 0.57 GB, free: 4.285 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00681/0.2901, allocations: 2.416 MB / 0.5724 GB, free: 1.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2902, allocations: 8.031 kB / 0.5724 GB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.2948, allocations: 0.7671 MB / 0.5731 GB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.296, allocations: 0.8825 MB / 0.574 GB, free: 92 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.2962, allocations: 230.4 kB / 0.5742 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.2964, allocations: 84 kB / 0.5743 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.2983, allocations: 1.087 MB / 0.5754 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2983, allocations: 3.984 kB / 0.5754 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.2984, allocations: 32 kB / 0.5754 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2984, allocations: 20 kB / 0.5754 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3004, allocations: 0.9994 MB / 0.5764 GB, free: 13.59 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.3063, allocations: 3.858 MB / 0.5802 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006991/0.3133, allocations: 2.339 MB / 0.5824 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.3146, allocations: 0.6859 MB / 0.5831 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3147, allocations: 24.97 kB / 0.5831 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.3148, allocations: 43.56 kB / 0.5832 GB, free: 6.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 4.018e-06/0.3148, allocations: 3.938 kB / 0.5832 GB, free: 6.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02588/0.3407, allocations: 6.884 MB / 0.5899 GB, free: 15.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3408, allocations: 137.5 kB / 0.59 GB, free: 15.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.3424, allocations: 1.075 MB / 0.5911 GB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.3425, allocations: 49.7 kB / 0.5911 GB, free: 14.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.3429, allocations: 0.489 MB / 0.5916 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.3432, allocations: 343.2 kB / 0.5919 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3434, allocations: 133.6 kB / 0.5921 GB, free: 13.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.3435, allocations: 301.1 kB / 0.5923 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.3449, allocations: 0.7496 MB / 0.5931 GB, free: 12.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.3465, allocations: 0.9188 MB / 0.594 GB, free: 11.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02171/0.3682, allocations: 5.521 MB / 0.5994 GB, free: 5.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3683, allocations: 4 kB / 0.5994 GB, free: 5.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01263/0.3809, allocations: 4.336 MB / 0.6036 GB, free: 1.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.3811, allocations: 234.7 kB / 0.6038 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3811, allocations: 4 kB / 0.6038 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/0.3866, allocations: 1.584 MB / 0.6054 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3878, allocations: 255.7 kB / 0.6056 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.4056, allocations: 7.847 MB / 0.6133 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4074, allocations: 186.7 kB / 0.6135 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4075, allocations: 51.98 kB / 0.6135 GB, free: 6.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.4075, allocations: 10.34 kB / 0.6135 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01296/0.4205, allocations: 4.175 MB / 0.6176 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4205, allocations: 0 / 0.6176 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.4262, allocations: 1.578 MB / 0.6191 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4275, allocations: 263.6 kB / 0.6194 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.4465, allocations: 7.847 MB / 0.6271 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.4489, allocations: 167 kB / 0.6272 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4492, allocations: 55.97 kB / 0.6273 GB, free: 8.535 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009438/0.4501, allocations: 373.2 kB / 0.6276 GB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.4505, allocations: 130.3 kB / 0.6277 GB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/0.4735, allocations: 3.755 MB / 0.6314 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/0.4736, allocations: 7.984 kB / 0.6314 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4736, allocations: 4 kB / 0.6314 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.4743, allocations: 223.2 kB / 0.6316 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/0.4746, allocations: 20 kB / 0.6317 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.4766, allocations: 99.88 kB / 0.6318 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001692/0.4783, allocations: 408.2 kB / 0.6321 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01082/0.4892, allocations: 2.126 MB / 0.6342 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007097/0.4963, allocations: 2.261 MB / 0.6364 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001238/0.4976, allocations: 0.5738 MB / 0.637 GB, free: 14.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.4988, allocations: 0.7313 MB / 0.6377 GB, free: 13.73 MB / 458.7 MB Notification: Performance of Backend: time 4.91e-07/0.4988, allocations: 0 / 0.6377 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.5089, allocations: 3.917 MB / 0.6415 GB, free: 9.742 MB / 458.7 MB Notification: Performance of SimCode: time 0.003966/0.5129, allocations: 3.231 MB / 0.6447 GB, free: 6.445 MB / 458.7 MB Notification: Performance of Templates: time 0.04349/0.5564, allocations: 29.81 MB / 0.6738 GB, free: 8.633 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)