Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008493/0.0008494, allocations: 177.7 kB / 15.45 MB, free: 6.23 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.192/1.192, allocations: 223.3 MB / 239.5 MB, free: 15.88 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.0008619/0.0008619, allocations: 94.95 kB / 290.6 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4592/0.4592, allocations: 78.61 MB / 420.4 MB, free: 36.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 0.4888 GB, free: 6.844 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 69.36 MB / 0.5565 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005365/0.1124, allocations: 6.537 MB / 0.5629 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1158, allocations: 2.048 MB / 0.5649 GB, free: 8.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.1162, allocations: 12 kB / 0.5649 GB, free: 8.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.1167, allocations: 182.8 kB / 0.5651 GB, free: 8.605 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1182, allocations: 0.7289 MB / 0.5658 GB, free: 7.879 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1192, allocations: 0.5954 MB / 0.5664 GB, free: 7.289 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1205, allocations: 1.581 MB / 0.5679 GB, free: 5.703 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.1209, allocations: 293.4 kB / 0.5682 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.1215, allocations: 0.5948 MB / 0.5688 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.1222, allocations: 0.7892 MB / 0.5696 GB, free: 4.016 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1223, allocations: 64 kB / 0.5696 GB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.1227, allocations: 195.9 kB / 0.5698 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1229, allocations: 274.6 kB / 0.5701 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.1234, allocations: 0.6461 MB / 0.5707 GB, free: 2.836 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.1246, allocations: 1.623 MB / 0.5723 GB, free: 1.207 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1246, allocations: 4 kB / 0.5723 GB, free: 1.203 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1246, allocations: 0 / 0.5723 GB, free: 1.203 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1246, allocations: 3.938 kB / 0.5723 GB, free: 1.199 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.1932/0.3178, allocations: 2.572 MB / 0.5748 GB, free: 44.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3179, allocations: 12.67 kB / 0.5748 GB, free: 44.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/0.3226, allocations: 0.7845 MB / 0.5756 GB, free: 44.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.3241, allocations: 0.9304 MB / 0.5765 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.3243, allocations: 264.1 kB / 0.5767 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3245, allocations: 91.25 kB / 0.5768 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.3264, allocations: 1.168 MB / 0.578 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3264, allocations: 0 / 0.578 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.3265, allocations: 34.22 kB / 0.578 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3265, allocations: 21.56 kB / 0.578 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.3283, allocations: 1.061 MB / 0.5791 GB, free: 43.92 MB / 442.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.005637/0.334, allocations: 4.01 MB / 0.583 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007064/0.341, allocations: 2.947 MB / 0.5859 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.3424, allocations: 0.7544 MB / 0.5866 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3426, allocations: 22.03 kB / 0.5866 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.3441, allocations: 0.8946 MB / 0.5875 GB, free: 42.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.364e-06/0.3441, allocations: 0 / 0.5875 GB, free: 42.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02622/0.3703, allocations: 8.648 MB / 0.5959 GB, free: 41.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3704, allocations: 113.5 kB / 0.596 GB, free: 41.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3719, allocations: 1.149 MB / 0.5972 GB, free: 40.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.3721, allocations: 48.2 kB / 0.5972 GB, free: 40.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.3724, allocations: 0.4924 MB / 0.5977 GB, free: 40.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.3726, allocations: 369.7 kB / 0.598 GB, free: 39.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3728, allocations: 148.1 kB / 0.5982 GB, free: 39.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.3729, allocations: 301.1 kB / 0.5985 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.3743, allocations: 0.8626 MB / 0.5993 GB, free: 39.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.3758, allocations: 1.036 MB / 0.6003 GB, free: 38.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02156/0.3974, allocations: 6.368 MB / 0.6065 GB, free: 36.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3974, allocations: 4.5 kB / 0.6065 GB, free: 36.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01404/0.4114, allocations: 5.341 MB / 0.6118 GB, free: 35.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.4115, allocations: 59.22 kB / 0.6118 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4115, allocations: 3.094 kB / 0.6118 GB, free: 35.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.4175, allocations: 1.953 MB / 0.6137 GB, free: 35.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.419, allocations: 295.1 kB / 0.614 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/0.4378, allocations: 8.946 MB / 0.6227 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4398, allocations: 243.5 kB / 0.623 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.44, allocations: 58.53 kB / 0.623 GB, free: 31.28 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006054/0.4406, allocations: 309.9 kB / 0.6233 GB, free: 31.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.441, allocations: 132.5 kB / 0.6235 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.4534, allocations: 4.76 MB / 0.6281 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4535, allocations: 13.16 kB / 0.6281 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4535, allocations: 5.062 kB / 0.6281 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4535, allocations: 11.83 kB / 0.6281 GB, free: 29.9 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01294/0.4664, allocations: 6.41 MB / 0.6344 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4665, allocations: 0 / 0.6344 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.467, allocations: 103.9 kB / 0.6345 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/0.4718, allocations: 1.876 MB / 0.6363 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.4719, allocations: 24 kB / 0.6363 GB, free: 21.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.4875, allocations: 9.681 MB / 0.6458 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4876, allocations: 3.938 kB / 0.6458 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.5002, allocations: 5.716 MB / 0.6514 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.5005, allocations: 231.3 kB / 0.6516 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.5007, allocations: 20 kB / 0.6516 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.5018, allocations: 147.9 kB / 0.6518 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004685/0.5023, allocations: 188.7 kB / 0.652 GB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/0.5024, allocations: 31.98 kB / 0.652 GB, free: 5.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008795/0.5033, allocations: 0.7673 MB / 0.6527 GB, free: 4.871 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5033, allocations: 0 / 0.6527 GB, free: 4.871 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001328/0.5046, allocations: 489 kB / 0.6532 GB, free: 4.395 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.5048, allocations: 147.2 kB / 0.6533 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005735/0.5106, allocations: 2.907 MB / 0.6562 GB, free: 1.312 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5106, allocations: 0 / 0.6562 GB, free: 1.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/0.5143, allocations: 1.824 MB / 0.658 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.5152, allocations: 126.9 kB / 0.6581 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.519, allocations: 2.987 MB / 0.661 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.5196, allocations: 1.128 MB / 0.6621 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004471/0.52, allocations: 124.4 kB / 0.6622 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5203, allocations: 83.41 kB / 0.6623 GB, free: 11.02 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5203, allocations: 0 / 0.6623 GB, free: 11.02 MB / 458.7 MB Notification: Performance of Templates: time 0.03135/0.5517, allocations: 21.93 MB / 0.6837 GB, free: 5.25 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)