Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007384/0.007389, allocations: 167.7 kB / 15.13 MB, free: 6.02 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.337/1.337, allocations: 223.3 MB / 239.1 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000789/0.0007891, allocations: 95.41 kB / 290.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5933/0.5933, allocations: 78.62 MB / 420 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 12 kB / 499.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 69.36 MB / 0.5559 GB, free: 1.848 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01077/0.1321, allocations: 12.92 MB / 0.5685 GB, free: 4.879 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1423, allocations: 3.473 MB / 0.5719 GB, free: 1.395 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003511/0.1459, allocations: 36 kB / 0.572 GB, free: 1.359 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.1474, allocations: 392.9 kB / 0.5723 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2585/0.4059, allocations: 1.196 MB / 0.5735 GB, free: 31.94 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.4096, allocations: 1.283 MB / 0.5747 GB, free: 31.94 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.415, allocations: 3.381 MB / 0.5781 GB, free: 31.94 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.4164, allocations: 0.6929 MB / 0.5787 GB, free: 31.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.419, allocations: 1.319 MB / 0.58 GB, free: 31.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.4217, allocations: 1.746 MB / 0.5817 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.4223, allocations: 143.7 kB / 0.5819 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4233, allocations: 273.2 kB / 0.5821 GB, free: 31.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004653/0.4237, allocations: 0.5951 MB / 0.5827 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.4246, allocations: 0.5264 MB / 0.5832 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.4279, allocations: 2.979 MB / 0.5861 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4279, allocations: 0 / 0.5861 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4279, allocations: 0 / 0.5861 GB, free: 30.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.428, allocations: 2.625 kB / 0.5861 GB, free: 30.56 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02221/0.4502, allocations: 6.221 MB / 0.5922 GB, free: 28.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4503, allocations: 12.44 kB / 0.5922 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/0.4653, allocations: 2.304 MB / 0.5945 GB, free: 28.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4697, allocations: 1.792 MB / 0.5962 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005947/0.4704, allocations: 0.756 MB / 0.597 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.471, allocations: 223.2 kB / 0.5972 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00633/0.4773, allocations: 3.229 MB / 0.6003 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.4774, allocations: 0 / 0.6003 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.4776, allocations: 79.16 kB / 0.6004 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.4777, allocations: 54.2 kB / 0.6004 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/0.4835, allocations: 2.981 MB / 0.6034 GB, free: 27.12 MB / 442.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.01904/0.5026, allocations: 10.17 MB / 0.6133 GB, free: 24.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.5146, allocations: 4.873 MB / 0.6181 GB, free: 22.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00535/0.52, allocations: 2.173 MB / 0.6202 GB, free: 22.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.5203, allocations: 45.45 kB / 0.6202 GB, free: 22.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005878/0.5262, allocations: 2.436 MB / 0.6226 GB, free: 21.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.35e-06/0.5263, allocations: 4 kB / 0.6226 GB, free: 21.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1226/0.6489, allocations: 33.42 MB / 0.6552 GB, free: 13.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.649, allocations: 188.2 kB / 0.6554 GB, free: 13.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.6529, allocations: 2.29 MB / 0.6576 GB, free: 11.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009296/0.6539, allocations: 73.7 kB / 0.6577 GB, free: 10.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.6552, allocations: 1.181 MB / 0.6589 GB, free: 9.789 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002404/0.6576, allocations: 0.867 MB / 0.6597 GB, free: 8.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.658, allocations: 64 kB / 0.6598 GB, free: 8.867 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.6584, allocations: 435.1 kB / 0.6602 GB, free: 8.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/0.6636, allocations: 2.162 MB / 0.6623 GB, free: 6.273 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005425/0.669, allocations: 2.535 MB / 0.6648 GB, free: 3.652 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/0.6745, allocations: 2.431 MB / 0.6672 GB, free: 1.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.6746, allocations: 4 kB / 0.6672 GB, free: 1.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04849/0.7231, allocations: 15.21 MB / 0.682 GB, free: 1.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/0.7232, allocations: 110.8 kB / 0.6821 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.7232, allocations: 8 kB / 0.6821 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/0.7447, allocations: 6.436 MB / 0.6884 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/0.7482, allocations: 0.589 MB / 0.689 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06394/0.8121, allocations: 25.15 MB / 0.7135 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005746/0.8179, allocations: 0.5869 MB / 0.7141 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005759/0.8185, allocations: 120 kB / 0.7142 GB, free: 0.7695 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001606/0.8201, allocations: 0.5388 MB / 0.7148 GB, free: 220 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008404/0.821, allocations: 296.4 kB / 0.715 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0454/0.8664, allocations: 14.76 MB / 0.7295 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.8665, allocations: 24 kB / 0.7295 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/0.8665, allocations: 20 kB / 0.7295 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-05/0.8666, allocations: 13.02 kB / 0.7295 GB, free: 1.016 MB / 0.5105 GB 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.05162/0.9182, allocations: 18.39 MB / 0.7475 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.9183, allocations: 3.938 kB / 0.7475 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.9201, allocations: 247.7 kB / 0.7477 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01961/0.9397, allocations: 6.284 MB / 0.7538 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007592/0.9405, allocations: 51.98 kB / 0.7539 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05956/1, allocations: 25.49 MB / 0.7788 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1, allocations: 3.938 kB / 0.7788 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3483/1.348, allocations: 17.33 MB / 0.7957 GB, free: 167 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.35, allocations: 411.9 kB / 0.7961 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008365/1.351, allocations: 49.22 kB / 0.7962 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.354, allocations: 415.6 kB / 0.7965 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00201/1.356, allocations: 0.579 MB / 0.7971 GB, free: 166.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.356, allocations: 67.58 kB / 0.7972 GB, free: 166.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002417/1.359, allocations: 1.507 MB / 0.7986 GB, free: 166.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.9e-07/1.359, allocations: 0 / 0.7986 GB, free: 166.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004605/1.364, allocations: 1.192 MB / 0.7998 GB, free: 166.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004884/1.364, allocations: 176.1 kB / 0.8 GB, free: 166.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02051/1.385, allocations: 7.535 MB / 0.8073 GB, free: 166 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.385, allocations: 0 / 0.8073 GB, free: 166 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01485/1.399, allocations: 5.112 MB / 0.8123 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.402, allocations: 265.2 kB / 0.8126 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/1.412, allocations: 6.379 MB / 0.8188 GB, free: 162.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.413, allocations: 1.816 MB / 0.8206 GB, free: 161.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001172/1.414, allocations: 263.2 kB / 0.8208 GB, free: 161.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/1.415, allocations: 167.6 kB / 0.821 GB, free: 161.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/1.415, allocations: 0 / 0.821 GB, free: 161.5 MB / 0.573 GB Notification: Performance of Templates: time 0.08796/1.503, allocations: 57.03 MB / 0.8767 GB, free: 139 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)