Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009182/0.0009183, allocations: 181.4 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.3 MB / 239.5 MB, free: 1.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007095/0.0007095, allocations: 91.75 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4106/0.4106, allocations: 78.61 MB / 420.4 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.4888 GB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2812, allocations: 69.34 MB / 0.5565 GB, free: 38.97 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004671/0.2859, allocations: 6.335 MB / 0.5627 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.2891, allocations: 1.995 MB / 0.5646 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.2895, allocations: 10.97 kB / 0.5647 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.29, allocations: 185.7 kB / 0.5648 GB, free: 35.35 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.2915, allocations: 0.7118 MB / 0.5655 GB, free: 35.03 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2926, allocations: 0.5786 MB / 0.5661 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2939, allocations: 1.489 MB / 0.5675 GB, free: 34.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.2943, allocations: 293.1 kB / 0.5678 GB, free: 34.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.2949, allocations: 0.5635 MB / 0.5684 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.2955, allocations: 0.7442 MB / 0.5691 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.2956, allocations: 59.47 kB / 0.5692 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.296, allocations: 194.6 kB / 0.5693 GB, free: 33.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.2962, allocations: 260.4 kB / 0.5696 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.2965, allocations: 0.6189 MB / 0.5702 GB, free: 32.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.2975, allocations: 1.566 MB / 0.5717 GB, free: 32.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2975, allocations: 4 kB / 0.5717 GB, free: 32.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2975, allocations: 0 / 0.5717 GB, free: 32.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2975, allocations: 0 / 0.5717 GB, free: 32.33 MB / 426.7 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.006571/0.3041, allocations: 2.497 MB / 0.5742 GB, free: 31.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.3041, allocations: 8.625 kB / 0.5742 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004218/0.3083, allocations: 0.7766 MB / 0.5749 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3094, allocations: 0.8848 MB / 0.5758 GB, free: 30.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.3096, allocations: 270.3 kB / 0.5761 GB, free: 30.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3098, allocations: 84.22 kB / 0.5761 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.3115, allocations: 1.147 MB / 0.5773 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.3116, allocations: 3.984 kB / 0.5773 GB, free: 29.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.3117, allocations: 29.88 kB / 0.5773 GB, free: 29.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3117, allocations: 16.81 kB / 0.5773 GB, free: 29.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.3134, allocations: 1.054 MB / 0.5783 GB, free: 29.42 MB / 426.7 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.004924/0.3183, allocations: 3.898 MB / 0.5821 GB, free: 27.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.3248, allocations: 2.91 MB / 0.585 GB, free: 26.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.3259, allocations: 0.7364 MB / 0.5857 GB, free: 26.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.326, allocations: 22.73 kB / 0.5857 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.3274, allocations: 0.8725 MB / 0.5866 GB, free: 25.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 2.985e-06/0.3274, allocations: 0 / 0.5866 GB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02662/0.3541, allocations: 8.795 MB / 0.5952 GB, free: 24.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3541, allocations: 118 kB / 0.5953 GB, free: 24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.3557, allocations: 1.092 MB / 0.5963 GB, free: 23.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.3558, allocations: 45.95 kB / 0.5964 GB, free: 23.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.3561, allocations: 497.8 kB / 0.5969 GB, free: 23.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.3564, allocations: 347.8 kB / 0.5972 GB, free: 22.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3566, allocations: 143 kB / 0.5973 GB, free: 22.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.973e-05/0.3566, allocations: 301.1 kB / 0.5976 GB, free: 22.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.3581, allocations: 0.8269 MB / 0.5984 GB, free: 22.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.3598, allocations: 0.9933 MB / 0.5994 GB, free: 21.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02148/0.3813, allocations: 5.984 MB / 0.6052 GB, free: 19.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.3814, allocations: 1.031 kB / 0.6052 GB, free: 19.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01346/0.3948, allocations: 5.201 MB / 0.6103 GB, free: 18.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.3949, allocations: 65.56 kB / 0.6104 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.3949, allocations: 4.516 kB / 0.6104 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/0.4001, allocations: 1.868 MB / 0.6122 GB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4014, allocations: 283.6 kB / 0.6125 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.4175, allocations: 8.825 MB / 0.6211 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.4191, allocations: 238.7 kB / 0.6213 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4193, allocations: 55.97 kB / 0.6214 GB, free: 7.133 MB / 426.7 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.0005085/0.4198, allocations: 303.7 kB / 0.6217 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.42, allocations: 130.5 kB / 0.6218 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.4314, allocations: 4.717 MB / 0.6264 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4315, allocations: 12 kB / 0.6264 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.4315, allocations: 4 kB / 0.6264 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.4315, allocations: 7.969 kB / 0.6264 GB, free: 1.926 MB / 426.7 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.01382/0.4453, allocations: 6.299 MB / 0.6326 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4454, allocations: 0 / 0.6326 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4459, allocations: 99.83 kB / 0.6327 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/0.4513, allocations: 1.895 MB / 0.6345 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.4515, allocations: 20 kB / 0.6345 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.4698, allocations: 9.675 MB / 0.644 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4699, allocations: 4 kB / 0.644 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.4837, allocations: 5.654 MB / 0.6495 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.4841, allocations: 223.3 kB / 0.6497 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.4843, allocations: 24.25 kB / 0.6497 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.4854, allocations: 143.9 kB / 0.6499 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/0.486, allocations: 196.6 kB / 0.6501 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.4861, allocations: 20 kB / 0.6501 GB, free: 9.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001069/0.4871, allocations: 0.7354 MB / 0.6508 GB, free: 8.488 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4872, allocations: 0 / 0.6508 GB, free: 8.488 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001324/0.4885, allocations: 475.5 kB / 0.6513 GB, free: 8.023 MB / 458.7 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.0002374/0.4887, allocations: 137.4 kB / 0.6514 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005985/0.4947, allocations: 2.793 MB / 0.6541 GB, free: 5.051 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4947, allocations: 4.125 kB / 0.6541 GB, free: 5.047 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003986/0.4987, allocations: 1.814 MB / 0.6559 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.4997, allocations: 110.1 kB / 0.656 GB, free: 3.086 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.5035, allocations: 2.702 MB / 0.6586 GB, free: 368 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/0.5041, allocations: 1.124 MB / 0.6597 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.5045, allocations: 116.1 kB / 0.6598 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.5048, allocations: 79.41 kB / 0.6599 GB, free: 15.01 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5048, allocations: 0 / 0.6599 GB, free: 15.01 MB / 474.7 MB Notification: Performance of Templates: time 0.03136/0.5362, allocations: 21.11 MB / 0.6805 GB, free: 9.918 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)