Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001281/0.001281, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.271/1.271, allocations: 222.9 MB / 240 MB, free: 4.516 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.001524/0.001524, allocations: 188.3 kB / 290.3 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 75.88 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 71.26 MB / 0.5729 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006704/0.388, allocations: 6.527 MB / 0.5793 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.392, allocations: 1.961 MB / 0.5812 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3931, allocations: 8.656 kB / 0.5812 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.394, allocations: 233.7 kB / 0.5814 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.3961, allocations: 0.8064 MB / 0.5822 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3972, allocations: 0.6265 MB / 0.5828 GB, free: 31.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3986, allocations: 1.585 MB / 0.5843 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.399, allocations: 323.1 kB / 0.5847 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.3996, allocations: 0.6534 MB / 0.5853 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.4003, allocations: 0.8245 MB / 0.5861 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.4005, allocations: 121.1 kB / 0.5862 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.4009, allocations: 250.3 kB / 0.5865 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.4011, allocations: 340.1 kB / 0.5868 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.4016, allocations: 0.6592 MB / 0.5874 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.4029, allocations: 1.669 MB / 0.589 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4029, allocations: 0 / 0.589 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.403, allocations: 1.188 kB / 0.589 GB, free: 28.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.403, allocations: 0 / 0.589 GB, free: 28.03 MB / 430.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.007731/0.4107, allocations: 2.684 MB / 0.5917 GB, free: 26.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4108, allocations: 12.31 kB / 0.5917 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.4154, allocations: 0.7747 MB / 0.5924 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.4169, allocations: 0.8887 MB / 0.5933 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.4171, allocations: 260.5 kB / 0.5936 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.4173, allocations: 81.52 kB / 0.5936 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.4192, allocations: 1.086 MB / 0.5947 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4192, allocations: 3.938 kB / 0.5947 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.4193, allocations: 34.45 kB / 0.5947 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4193, allocations: 17.75 kB / 0.5947 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4211, allocations: 0.985 MB / 0.5957 GB, free: 24.98 MB / 430.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.006/0.4271, allocations: 3.791 MB / 0.5994 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.434, allocations: 2.368 MB / 0.6017 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.4353, allocations: 0.6782 MB / 0.6024 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.4354, allocations: 15.84 kB / 0.6024 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.4369, allocations: 0.8227 MB / 0.6032 GB, free: 21.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.414e-06/0.4369, allocations: 3.938 kB / 0.6032 GB, free: 21.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02752/0.4644, allocations: 7.188 MB / 0.6102 GB, free: 19.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.4646, allocations: 121.7 kB / 0.6103 GB, free: 19.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.4664, allocations: 1.092 MB / 0.6114 GB, free: 19.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.4667, allocations: 46.64 kB / 0.6115 GB, free: 19.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.467, allocations: 491.5 kB / 0.6119 GB, free: 18.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.4673, allocations: 352.7 kB / 0.6123 GB, free: 18.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.4678, allocations: 286.7 kB / 0.6125 GB, free: 18.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.4678, allocations: 302.3 kB / 0.6128 GB, free: 18.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4692, allocations: 0.7554 MB / 0.6136 GB, free: 17.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4708, allocations: 0.9221 MB / 0.6145 GB, free: 17.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02138/0.4922, allocations: 5.561 MB / 0.6199 GB, free: 13.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.4922, allocations: 0 / 0.6199 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01127/0.5035, allocations: 4.364 MB / 0.6242 GB, free: 9.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.5036, allocations: 63.34 kB / 0.6242 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5036, allocations: 4 kB / 0.6242 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004766/0.5084, allocations: 1.596 MB / 0.6258 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.5097, allocations: 271.6 kB / 0.626 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.5258, allocations: 8.51 MB / 0.6343 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5277, allocations: 194.8 kB / 0.6345 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5279, allocations: 63.91 kB / 0.6346 GB, free: 14.66 MB / 446.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.0006063/0.5285, allocations: 300.2 kB / 0.6349 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.5287, allocations: 118.5 kB / 0.635 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.5402, allocations: 3.873 MB / 0.6388 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.5402, allocations: 16 kB / 0.6388 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5402, allocations: 4 kB / 0.6388 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.5403, allocations: 11.97 kB / 0.6388 GB, free: 10.3 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 postOpt removeSimpleEquations (simulation): time 0.01368/0.554, allocations: 5.452 MB / 0.6441 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.554, allocations: 0 / 0.6441 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.5546, allocations: 99.89 kB / 0.6442 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005073/0.5597, allocations: 1.603 MB / 0.6458 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.5598, allocations: 27.98 kB / 0.6458 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.5787, allocations: 9.626 MB / 0.6552 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5787, allocations: 4 kB / 0.6552 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.5922, allocations: 4.727 MB / 0.6598 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005844/0.5929, allocations: 219.3 kB / 0.66 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.593, allocations: 19.94 kB / 0.6601 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5942, allocations: 111.9 kB / 0.6602 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/0.5948, allocations: 196.9 kB / 0.6604 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.5949, allocations: 31.97 kB / 0.6604 GB, free: 3.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.5959, allocations: 0.7353 MB / 0.6611 GB, free: 2.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5959, allocations: 0 / 0.6611 GB, free: 2.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001373/0.5973, allocations: 479.5 kB / 0.6616 GB, free: 2.516 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0002569/0.5975, allocations: 129.4 kB / 0.6617 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005611/0.6032, allocations: 2.521 MB / 0.6641 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6032, allocations: 0 / 0.6641 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003805/0.607, allocations: 1.588 MB / 0.6657 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.6079, allocations: 130 kB / 0.6658 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.6115, allocations: 2.216 MB / 0.668 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.6122, allocations: 1.12 MB / 0.6691 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000355/0.6126, allocations: 120 kB / 0.6692 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.6128, allocations: 83.41 kB / 0.6693 GB, free: 10.46 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6128, allocations: 0 / 0.6693 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Templates: time 0.03418/0.647, allocations: 23.58 MB / 0.6923 GB, free: 2.91 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)