Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.299/1.299, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001425/0.001425, allocations: 185 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4867/0.4867, allocations: 79.44 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 16 kB / 0.489 GB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 69.51 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.2646/0.4097, allocations: 5.728 MB / 0.5625 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.4132, allocations: 1.947 MB / 0.5644 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.4137, allocations: 14.91 kB / 0.5644 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.4143, allocations: 171.2 kB / 0.5645 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.4159, allocations: 0.7153 MB / 0.5652 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.417, allocations: 0.5207 MB / 0.5658 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.4181, allocations: 1 MB / 0.5667 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.4185, allocations: 264.2 kB / 0.567 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.419, allocations: 0.5604 MB / 0.5675 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.4197, allocations: 0.7126 MB / 0.5682 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.4198, allocations: 59.66 kB / 0.5683 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.4202, allocations: 168.3 kB / 0.5684 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.4204, allocations: 253.6 kB / 0.5687 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4207, allocations: 226.8 kB / 0.5689 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.4217, allocations: 1.19 MB / 0.5701 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4217, allocations: 0 / 0.5701 GB, free: 35.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4217, allocations: 0 / 0.5701 GB, free: 35.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4217, allocations: 0 / 0.5701 GB, free: 35.59 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007656/0.4294, allocations: 2.507 MB / 0.5725 GB, free: 34.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4294, allocations: 10.59 kB / 0.5725 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.4342, allocations: 0.7753 MB / 0.5733 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.4356, allocations: 0.846 MB / 0.5741 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.4358, allocations: 274.9 kB / 0.5744 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.436, allocations: 78.06 kB / 0.5744 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.438, allocations: 1.134 MB / 0.5756 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.438, allocations: 0 / 0.5756 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/0.4381, allocations: 37.19 kB / 0.5756 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4381, allocations: 23.45 kB / 0.5756 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.4401, allocations: 1.046 MB / 0.5766 GB, free: 32.77 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.00625/0.4463, allocations: 4.139 MB / 0.5807 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007143/0.4535, allocations: 2.906 MB / 0.5835 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.306e-05/0.4536, allocations: 23.48 kB / 0.5835 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.4552, allocations: 0.868 MB / 0.5844 GB, free: 29.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.4552, allocations: 4.938 kB / 0.5844 GB, free: 29.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03107/0.4863, allocations: 8.634 MB / 0.5928 GB, free: 27.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.4864, allocations: 115 kB / 0.5929 GB, free: 27.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4884, allocations: 1.068 MB / 0.594 GB, free: 26.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.4887, allocations: 42.62 kB / 0.594 GB, free: 26.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.489, allocations: 498.9 kB / 0.5945 GB, free: 26.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.4894, allocations: 361 kB / 0.5948 GB, free: 26.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.4895, allocations: 29.5 kB / 0.5949 GB, free: 26.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4896, allocations: 362.5 kB / 0.5952 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.4914, allocations: 0.8204 MB / 0.596 GB, free: 25.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.4933, allocations: 0.9944 MB / 0.597 GB, free: 25.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.4953, allocations: 0.9492 MB / 0.5979 GB, free: 24.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.4953, allocations: 5.578 kB / 0.5979 GB, free: 24.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01723/0.5126, allocations: 5.156 MB / 0.6029 GB, free: 23.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.5127, allocations: 64.91 kB / 0.603 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5127, allocations: 3.969 kB / 0.603 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007255/0.52, allocations: 1.897 MB / 0.6049 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.5218, allocations: 298.7 kB / 0.6051 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.5445, allocations: 9.46 MB / 0.6144 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.5468, allocations: 230.7 kB / 0.6146 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.5472, allocations: 59.97 kB / 0.6147 GB, free: 17.36 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009344/0.5481, allocations: 300.6 kB / 0.6149 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.5485, allocations: 123.4 kB / 0.6151 GB, free: 16.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.5612, allocations: 4.716 MB / 0.6197 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.5613, allocations: 15.94 kB / 0.6197 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/0.5613, allocations: 4.703 kB / 0.6197 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.5614, allocations: 7.938 kB / 0.6197 GB, free: 12.17 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 postOpt removeSimpleEquations (simulation): time 0.01515/0.5765, allocations: 6.354 MB / 0.6259 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5766, allocations: 0 / 0.6259 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.5772, allocations: 105 kB / 0.626 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005385/0.5826, allocations: 1.874 MB / 0.6278 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.5828, allocations: 19.98 kB / 0.6279 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.6035, allocations: 10.12 MB / 0.6377 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6036, allocations: 0 / 0.6377 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.6194, allocations: 5.646 MB / 0.6432 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006676/0.6201, allocations: 227.2 kB / 0.6435 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.6206, allocations: 24.75 kB / 0.6435 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.6222, allocations: 143.9 kB / 0.6436 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/0.6229, allocations: 197.6 kB / 0.6438 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.6231, allocations: 28 kB / 0.6438 GB, free: 2.988 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001355/0.6244, allocations: 0.7196 MB / 0.6445 GB, free: 2.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6244, allocations: 0 / 0.6445 GB, free: 2.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002129/0.6266, allocations: 475.6 kB / 0.645 GB, free: 1.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003664/0.6269, allocations: 132.2 kB / 0.6451 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006922/0.6339, allocations: 2.771 MB / 0.6478 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.6339, allocations: 0 / 0.6478 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004711/0.6386, allocations: 1.816 MB / 0.6496 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.6401, allocations: 105.8 kB / 0.6497 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/0.6463, allocations: 2.662 MB / 0.6523 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.6476, allocations: 1.147 MB / 0.6534 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008159/0.6484, allocations: 117.1 kB / 0.6535 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.6489, allocations: 79.41 kB / 0.6536 GB, free: 8.883 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6489, allocations: 0 / 0.6536 GB, free: 8.883 MB / 462.1 MB Notification: Performance of Templates: time 0.04037/0.6893, allocations: 21.24 MB / 0.6743 GB, free: 3.824 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)