Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008358, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.432/1.432, allocations: 223.3 MB / 239.4 MB, free: 5.488 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.001128/0.001128, allocations: 180.5 kB / 290.6 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4986/0.4986, allocations: 78.55 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.4887 GB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 69.36 MB / 0.5564 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2823/0.4295, allocations: 6.537 MB / 0.5628 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.4339, allocations: 2.048 MB / 0.5648 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.4347, allocations: 12.69 kB / 0.5648 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.4355, allocations: 184.3 kB / 0.565 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.4372, allocations: 0.7154 MB / 0.5657 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4385, allocations: 0.6037 MB / 0.5663 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.4399, allocations: 1.576 MB / 0.5678 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.4403, allocations: 281 kB / 0.5681 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.441, allocations: 0.5947 MB / 0.5686 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.4418, allocations: 0.7854 MB / 0.5694 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.4419, allocations: 66.06 kB / 0.5695 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4424, allocations: 204.7 kB / 0.5697 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.4426, allocations: 270.3 kB / 0.5699 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.4431, allocations: 0.6477 MB / 0.5706 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4443, allocations: 1.625 MB / 0.5721 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4443, allocations: 0.6562 kB / 0.5722 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4443, allocations: 3.938 kB / 0.5722 GB, free: 33.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4443, allocations: 1.25 kB / 0.5722 GB, free: 33.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008372/0.4527, allocations: 2.587 MB / 0.5747 GB, free: 32.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4528, allocations: 8.75 kB / 0.5747 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/0.4577, allocations: 0.7863 MB / 0.5755 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.4595, allocations: 0.9267 MB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.4598, allocations: 272.8 kB / 0.5766 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.46, allocations: 88.94 kB / 0.5767 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4622, allocations: 1.17 MB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4623, allocations: 3.594 kB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4624, allocations: 31.36 kB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.4624, allocations: 18.34 kB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.4646, allocations: 1.068 MB / 0.5789 GB, free: 31.41 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.006602/0.4712, allocations: 4.009 MB / 0.5829 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008325/0.4795, allocations: 2.947 MB / 0.5857 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.4812, allocations: 0.7536 MB / 0.5865 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.4814, allocations: 20.38 kB / 0.5865 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/0.4833, allocations: 0.8991 MB / 0.5874 GB, free: 28.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.877e-06/0.4833, allocations: 0 / 0.5874 GB, free: 28.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03335/0.5167, allocations: 8.646 MB / 0.5958 GB, free: 26.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.5168, allocations: 115.6 kB / 0.5959 GB, free: 26.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.5194, allocations: 1.142 MB / 0.597 GB, free: 26.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002964/0.5197, allocations: 46.05 kB / 0.5971 GB, free: 26.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.5202, allocations: 0.4969 MB / 0.5976 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.5208, allocations: 366.8 kB / 0.5979 GB, free: 25.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/0.5213, allocations: 153.8 kB / 0.5981 GB, free: 25.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.5213, allocations: 301.1 kB / 0.5984 GB, free: 25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.5235, allocations: 0.8646 MB / 0.5992 GB, free: 24.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5258, allocations: 1.029 MB / 0.6002 GB, free: 24.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02986/0.5556, allocations: 6.372 MB / 0.6064 GB, free: 22.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.5557, allocations: 1.281 kB / 0.6064 GB, free: 22.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.02004/0.5758, allocations: 5.351 MB / 0.6117 GB, free: 20.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.5759, allocations: 58.31 kB / 0.6117 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5759, allocations: 4.125 kB / 0.6117 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00652/0.5824, allocations: 1.943 MB / 0.6136 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.5841, allocations: 295.6 kB / 0.6139 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.6036, allocations: 8.949 MB / 0.6226 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.606, allocations: 242.5 kB / 0.6229 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.6064, allocations: 67.97 kB / 0.6229 GB, free: 9.223 MB / 430.1 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.0008239/0.6072, allocations: 299.7 kB / 0.6232 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.6076, allocations: 126.4 kB / 0.6233 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6209, allocations: 4.771 MB / 0.628 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6209, allocations: 8 kB / 0.628 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/0.621, allocations: 8.5 kB / 0.628 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.621, allocations: 4.641 kB / 0.628 GB, free: 3.977 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.01613/0.6371, allocations: 6.399 MB / 0.6343 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.6372, allocations: 5.438 kB / 0.6343 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.6379, allocations: 103.8 kB / 0.6344 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006118/0.6441, allocations: 1.878 MB / 0.6362 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.6443, allocations: 20 kB / 0.6362 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/0.6653, allocations: 9.695 MB / 0.6457 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6654, allocations: 1.625 kB / 0.6457 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.6819, allocations: 5.71 MB / 0.6513 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.6826, allocations: 235.2 kB / 0.6515 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/0.6831, allocations: 24 kB / 0.6515 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.6847, allocations: 143.9 kB / 0.6516 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/0.6854, allocations: 196.6 kB / 0.6518 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.6855, allocations: 27.98 kB / 0.6519 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.6868, allocations: 0.7713 MB / 0.6526 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6868, allocations: 0 / 0.6526 GB, free: 10.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001826/0.6887, allocations: 483.6 kB / 0.6531 GB, free: 9.859 MB / 462.1 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.0003364/0.689, allocations: 143 kB / 0.6532 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007587/0.6966, allocations: 2.902 MB / 0.656 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6966, allocations: 5.844 kB / 0.6561 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.7014, allocations: 1.828 MB / 0.6578 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.7028, allocations: 114.8 kB / 0.6579 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.7081, allocations: 2.996 MB / 0.6609 GB, free: 1.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009353/0.709, allocations: 1.136 MB / 0.662 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006956/0.7097, allocations: 117.3 kB / 0.6621 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/0.7101, allocations: 79.41 kB / 0.6622 GB, free: 476 kB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7101, allocations: 4 kB / 0.6622 GB, free: 472 kB / 462.1 MB Notification: Performance of Templates: time 0.04049/0.7506, allocations: 21.92 MB / 0.6836 GB, free: 10.73 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: