Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009692/0.0009692, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.388/1.388, allocations: 223.3 MB / 239 MB, free: 5.457 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.001361/0.001361, allocations: 179.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4409/0.4409, allocations: 78.55 MB / 419.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 15.94 kB / 499.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 69.35 MB / 0.5558 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2497/0.3859, allocations: 5.955 MB / 0.5616 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.3897, allocations: 1.887 MB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.3904, allocations: 11.56 kB / 0.5635 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.391, allocations: 174.3 kB / 0.5636 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.3928, allocations: 0.6609 MB / 0.5643 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3938, allocations: 0.5128 MB / 0.5648 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.395, allocations: 1.407 MB / 0.5662 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.3954, allocations: 266.9 kB / 0.5664 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.396, allocations: 0.5585 MB / 0.567 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.3967, allocations: 0.7233 MB / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3968, allocations: 60.09 kB / 0.5677 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.3972, allocations: 183.6 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.3974, allocations: 249 kB / 0.5681 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.3976, allocations: 230.4 kB / 0.5684 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.3986, allocations: 1.223 MB / 0.5696 GB, free: 35.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3986, allocations: 0.5625 kB / 0.5696 GB, free: 35.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3986, allocations: 1.5 kB / 0.5696 GB, free: 35.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3986, allocations: 3.938 kB / 0.5696 GB, free: 35.87 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.006822/0.4054, allocations: 2.505 MB / 0.572 GB, free: 34.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4055, allocations: 7.969 kB / 0.572 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.41, allocations: 0.7944 MB / 0.5728 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.4115, allocations: 0.851 MB / 0.5736 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.4117, allocations: 265.6 kB / 0.5739 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.4119, allocations: 84.78 kB / 0.574 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.4138, allocations: 1.133 MB / 0.5751 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4138, allocations: 2.625 kB / 0.5751 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.4139, allocations: 31.88 kB / 0.5751 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4139, allocations: 19.36 kB / 0.5751 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.4156, allocations: 1.049 MB / 0.5761 GB, free: 33.79 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.005199/0.4209, allocations: 3.892 MB / 0.5799 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006374/0.4272, allocations: 2.911 MB / 0.5828 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4286, allocations: 0.7356 MB / 0.5835 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.4287, allocations: 15.72 kB / 0.5835 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.4302, allocations: 0.8689 MB / 0.5844 GB, free: 30.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.4302, allocations: 0 / 0.5844 GB, free: 30.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02664/0.4568, allocations: 8.772 MB / 0.5929 GB, free: 28.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4569, allocations: 118.3 kB / 0.593 GB, free: 28.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.4586, allocations: 1.078 MB / 0.5941 GB, free: 27.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.4588, allocations: 45.83 kB / 0.5941 GB, free: 27.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.4591, allocations: 0.489 MB / 0.5946 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.4594, allocations: 347.7 kB / 0.5949 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4595, allocations: 34.91 kB / 0.595 GB, free: 27.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.4596, allocations: 360.5 kB / 0.5953 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4612, allocations: 0.8129 MB / 0.5961 GB, free: 26.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.4628, allocations: 0.986 MB / 0.5971 GB, free: 26.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.4646, allocations: 0.9404 MB / 0.598 GB, free: 25.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4646, allocations: 5.172 kB / 0.598 GB, free: 25.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01386/0.4785, allocations: 5.14 MB / 0.603 GB, free: 24.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.594e-05/0.4786, allocations: 61.48 kB / 0.6031 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.4786, allocations: 2.375 kB / 0.6031 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/0.4851, allocations: 1.904 MB / 0.6049 GB, free: 24.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4868, allocations: 296.4 kB / 0.6052 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.5059, allocations: 9.064 MB / 0.6141 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.5078, allocations: 234.7 kB / 0.6143 GB, free: 17.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5079, allocations: 55.98 kB / 0.6144 GB, free: 17.85 MB / 430.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.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 (160): * Single equations (assignments): 157 * 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.0005705/0.5085, allocations: 302.5 kB / 0.6146 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.5087, allocations: 126.4 kB / 0.6148 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.5197, allocations: 4.709 MB / 0.6194 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.5198, allocations: 12 kB / 0.6194 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5198, allocations: 8 kB / 0.6194 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.5198, allocations: 9.531 kB / 0.6194 GB, free: 12.65 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.01245/0.5323, allocations: 6.298 MB / 0.6255 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5323, allocations: 0 / 0.6255 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.5328, allocations: 99.83 kB / 0.6256 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004713/0.5375, allocations: 1.884 MB / 0.6275 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-05/0.5376, allocations: 24 kB / 0.6275 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.5547, allocations: 9.667 MB / 0.6369 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5547, allocations: 6.016 kB / 0.6369 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.5688, allocations: 5.631 MB / 0.6424 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/0.5694, allocations: 219.4 kB / 0.6427 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.5698, allocations: 28 kB / 0.6427 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.5711, allocations: 140.7 kB / 0.6428 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000641/0.5718, allocations: 200.6 kB / 0.643 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.5719, allocations: 28 kB / 0.643 GB, free: 3.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.573, allocations: 0.7237 MB / 0.6437 GB, free: 3.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5731, allocations: 0 / 0.6437 GB, free: 3.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001691/0.5747, allocations: 471.5 kB / 0.6442 GB, free: 2.805 MB / 446.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 (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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002743/0.575, allocations: 132.5 kB / 0.6443 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006051/0.5811, allocations: 2.774 MB / 0.647 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5811, allocations: 1.875 kB / 0.647 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/0.5852, allocations: 1.799 MB / 0.6488 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5864, allocations: 118.2 kB / 0.6489 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.5904, allocations: 2.583 MB / 0.6514 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.5911, allocations: 1.12 MB / 0.6525 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.5915, allocations: 116.9 kB / 0.6526 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5917, allocations: 71.41 kB / 0.6527 GB, free: 10 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5918, allocations: 4 kB / 0.6527 GB, free: 10 MB / 462.1 MB Notification: Performance of Templates: time 0.03197/0.6237, allocations: 21.34 MB / 0.6735 GB, free: 4.848 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: