Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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 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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001856, allocations: 104 kB / 16.4 MB, free: 6.484 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.514/1.514, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001511/0.001511, allocations: 180.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5544/0.5544, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 84.86 kB / 0.5735 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1377, allocations: 71.28 MB / 0.6431 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01456/0.1523, allocations: 13.86 MB / 0.6566 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.1606, allocations: 3.527 MB / 0.6601 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.1629, allocations: 28 kB / 0.6601 GB, free: 2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.1645, allocations: 0.5731 MB / 0.6607 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.1694, allocations: 1.572 MB / 0.6622 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.1733, allocations: 1.535 MB / 0.6637 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005843/0.1791, allocations: 3.812 MB / 0.6674 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.1807, allocations: 0.9013 MB / 0.6683 GB, free: 9.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.1839, allocations: 1.56 MB / 0.6698 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.1873, allocations: 1.999 MB / 0.6718 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000871/0.1882, allocations: 304 kB / 0.6721 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1895, allocations: 435.9 kB / 0.6725 GB, free: 5.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008137/0.1903, allocations: 0.7818 MB / 0.6732 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.1927, allocations: 1.658 MB / 0.6749 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.1983, allocations: 4.076 MB / 0.6788 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1983, allocations: 0 / 0.6788 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1984, allocations: 0 / 0.6788 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.1985, allocations: 0 / 0.6788 GB, free: 14.71 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02477/0.2233, allocations: 6.783 MB / 0.6855 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2233, allocations: 8.031 kB / 0.6855 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.2387, allocations: 2.296 MB / 0.6877 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/0.2429, allocations: 1.932 MB / 0.6896 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008332/0.2438, allocations: 0.733 MB / 0.6903 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/0.2444, allocations: 216 kB / 0.6905 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006877/0.2513, allocations: 3.055 MB / 0.6935 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.2514, allocations: 0 / 0.6935 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.2516, allocations: 91.94 kB / 0.6936 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.2517, allocations: 48 kB / 0.6936 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006641/0.2583, allocations: 2.804 MB / 0.6964 GB, free: 12.38 MB / 0.4981 GB 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.02075/0.2791, allocations: 9.914 MB / 0.7061 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.2906, allocations: 4.224 MB / 0.7102 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004954/0.2956, allocations: 1.979 MB / 0.7121 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/0.2959, allocations: 45.95 kB / 0.7122 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005133/0.3011, allocations: 2.252 MB / 0.7144 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 5.1e-06/0.3011, allocations: 0 / 0.7144 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1235/0.4246, allocations: 28.83 MB / 0.7425 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.4248, allocations: 188.2 kB / 0.7427 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/0.4293, allocations: 2.322 MB / 0.745 GB, free: 9.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008701/0.4302, allocations: 77.69 kB / 0.745 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.4313, allocations: 1.197 MB / 0.7462 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/0.433, allocations: 0.9218 MB / 0.7471 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/0.4343, allocations: 0.57 MB / 0.7477 GB, free: 7.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4345, allocations: 313 kB / 0.748 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/0.4395, allocations: 1.982 MB / 0.7499 GB, free: 4.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/0.4453, allocations: 2.358 MB / 0.7522 GB, free: 2.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05995/0.5053, allocations: 14.37 MB / 0.7662 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.5053, allocations: 3.938 kB / 0.7662 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.3855/0.8908, allocations: 12.62 MB / 0.7786 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.891, allocations: 116.4 kB / 0.7787 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.891, allocations: 6.812 kB / 0.7787 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.9108, allocations: 5.43 MB / 0.784 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.9139, allocations: 0.5819 MB / 0.7845 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05743/0.9713, allocations: 23.67 MB / 0.8077 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/0.9757, allocations: 0.4945 MB / 0.8081 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/0.9762, allocations: 120 kB / 0.8083 GB, free: 95.84 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001168/0.9774, allocations: 0.5392 MB / 0.8088 GB, free: 95.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/0.978, allocations: 315.4 kB / 0.8091 GB, free: 95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03598/1.014, allocations: 11.94 MB / 0.8207 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.014, allocations: 30.75 kB / 0.8208 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.883e-05/1.014, allocations: 16 kB / 0.8208 GB, free: 82.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/1.014, allocations: 19.89 kB / 0.8208 GB, free: 82.91 MB / 0.5606 GB 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.04104/1.055, allocations: 15.58 MB / 0.836 GB, free: 67.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.055, allocations: 8.062 kB / 0.836 GB, free: 67.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.057, allocations: 251.6 kB / 0.8363 GB, free: 66.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01635/1.073, allocations: 5.281 MB / 0.8414 GB, free: 61.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008248/1.074, allocations: 47.98 kB / 0.8415 GB, free: 61.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05341/1.128, allocations: 24.97 MB / 0.8659 GB, free: 36.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.128, allocations: 3.938 kB / 0.8659 GB, free: 36.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04144/1.169, allocations: 14.37 MB / 0.8799 GB, free: 21.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.17, allocations: 425.8 kB / 0.8803 GB, free: 21.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.171, allocations: 48 kB / 0.8803 GB, free: 21.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00371/1.175, allocations: 299.6 kB / 0.8806 GB, free: 21.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002576/1.178, allocations: 0.584 MB / 0.8812 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006042/1.178, allocations: 71.98 kB / 0.8813 GB, free: 20.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00288/1.181, allocations: 1.539 MB / 0.8828 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/1.181, allocations: 0 / 0.8828 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005463/1.187, allocations: 1.202 MB / 0.8839 GB, free: 17.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008925/1.188, allocations: 173.9 kB / 0.8841 GB, free: 17.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.206, allocations: 6.806 MB / 0.8908 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/1.206, allocations: 0 / 0.8908 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/1.219, allocations: 4.453 MB / 0.8951 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/1.223, allocations: 268.4 kB / 0.8954 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.236, allocations: 5.594 MB / 0.9008 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.238, allocations: 1.815 MB / 0.9026 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001598/1.24, allocations: 270 kB / 0.9029 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.241, allocations: 171.4 kB / 0.903 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/1.241, allocations: 0 / 0.903 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.1246/1.365, allocations: 66.79 MB / 0.9682 GB, free: 11.18 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)