Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.324/1.324, allocations: 222.9 MB / 240.1 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001556, allocations: 192.5 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4615/0.4615, allocations: 78.53 MB / 419.1 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 80.09 kB / 0.5543 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2991, allocations: 68.17 MB / 0.6209 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005582/0.3048, allocations: 6.498 MB / 0.6272 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3081, allocations: 1.955 MB / 0.6291 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005398/0.3087, allocations: 12 kB / 0.6291 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.3093, allocations: 241.9 kB / 0.6294 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.3109, allocations: 0.8504 MB / 0.6302 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3119, allocations: 0.6294 MB / 0.6308 GB, free: 48 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3134, allocations: 1.569 MB / 0.6324 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.3139, allocations: 326.4 kB / 0.6327 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007652/0.3147, allocations: 0.6574 MB / 0.6333 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.3155, allocations: 0.8206 MB / 0.6341 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.3157, allocations: 124 kB / 0.6342 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.3162, allocations: 259.9 kB / 0.6345 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.3165, allocations: 330.6 kB / 0.6348 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.317, allocations: 0.668 MB / 0.6354 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3185, allocations: 1.668 MB / 0.6371 GB, free: 9.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3186, allocations: 3.938 kB / 0.6371 GB, free: 9.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3186, allocations: 3.938 kB / 0.6371 GB, free: 9.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.3186, allocations: 0 / 0.6371 GB, free: 9.609 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008688/0.3273, allocations: 2.688 MB / 0.6397 GB, free: 6.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3273, allocations: 12.02 kB / 0.6397 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.3326, allocations: 0.7709 MB / 0.6405 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3341, allocations: 0.8902 MB / 0.6413 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.3344, allocations: 252.2 kB / 0.6416 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.3346, allocations: 87.98 kB / 0.6417 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3367, allocations: 1.083 MB / 0.6427 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3368, allocations: 0 / 0.6427 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.3369, allocations: 28 kB / 0.6427 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3369, allocations: 23.98 kB / 0.6428 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.3389, allocations: 0.9955 MB / 0.6437 GB, free: 2.609 MB / 446.1 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.006284/0.3452, allocations: 3.785 MB / 0.6474 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007422/0.3526, allocations: 2.374 MB / 0.6498 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3541, allocations: 0.6722 MB / 0.6504 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.3542, allocations: 20.98 kB / 0.6504 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.3557, allocations: 0.819 MB / 0.6512 GB, free: 10.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=95): time 3.216e-06/0.3558, allocations: 0 / 0.6512 GB, free: 10.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=95): time 0.02985/0.3856, allocations: 7.186 MB / 0.6582 GB, free: 3.398 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.3858, allocations: 115.8 kB / 0.6584 GB, free: 3.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.3875, allocations: 1.099 MB / 0.6594 GB, free: 2.148 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.3877, allocations: 41.7 kB / 0.6595 GB, free: 2.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3881, allocations: 492.8 kB / 0.6599 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.3884, allocations: 351.1 kB / 0.6603 GB, free: 1.266 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004559/0.3889, allocations: 283.4 kB / 0.6605 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.389, allocations: 301.1 kB / 0.6608 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.3905, allocations: 0.7613 MB / 0.6616 GB, free: 15.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.3922, allocations: 0.9264 MB / 0.6625 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02338/0.4156, allocations: 5.552 MB / 0.6679 GB, free: 9.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4156, allocations: 4 kB / 0.6679 GB, free: 9.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01374/0.4294, allocations: 4.364 MB / 0.6722 GB, free: 4.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.4294, allocations: 59.34 kB / 0.6722 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4295, allocations: 7.938 kB / 0.6722 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005916/0.4354, allocations: 1.584 MB / 0.6738 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4367, allocations: 279.6 kB / 0.674 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.4571, allocations: 8.502 MB / 0.6824 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.459, allocations: 198.8 kB / 0.6825 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.4592, allocations: 51.98 kB / 0.6826 GB, free: 10.08 MB / 494.1 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * 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.0006951/0.4599, allocations: 318.7 kB / 0.6829 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.4603, allocations: 122.5 kB / 0.683 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.4732, allocations: 3.881 MB / 0.6868 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.4733, allocations: 3.984 kB / 0.6868 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4733, allocations: 0 / 0.6868 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.4736, allocations: 223.4 kB / 0.687 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.4738, allocations: 16 kB / 0.687 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.475, allocations: 111.8 kB / 0.6871 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009931/0.476, allocations: 436.3 kB / 0.6876 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006281/0.4823, allocations: 2.222 MB / 0.6897 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004333/0.4866, allocations: 2.254 MB / 0.6919 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001255/0.4879, allocations: 0.566 MB / 0.6925 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001086/0.489, allocations: 0.7353 MB / 0.6932 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of Backend: time 2.9e-07/0.489, allocations: 0 / 0.6932 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005906/0.4949, allocations: 2.09 MB / 0.6952 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00341/0.4984, allocations: 2.871 MB / 0.698 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.03482/0.5332, allocations: 22.72 MB / 0.7202 GB, free: 3.293 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)