Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 175.7 kB / 15.77 MB, free: 6.328 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.487/1.487, allocations: 223.2 MB / 239.8 MB, free: 1.695 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.0009812/0.0009811, allocations: 102.9 kB / 290.9 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4486/0.4486, allocations: 78.62 MB / 420.7 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003694, allocations: 11.98 kB / 0.4888 GB, free: 2.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3233, allocations: 69.34 MB / 0.5565 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01458/0.3379, allocations: 12.83 MB / 0.569 GB, free: 32.5 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3489, allocations: 3.459 MB / 0.5724 GB, free: 29.99 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.3527, allocations: 33.06 kB / 0.5724 GB, free: 29.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.3546, allocations: 390.9 kB / 0.5728 GB, free: 29.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007018/0.3617, allocations: 1.194 MB / 0.574 GB, free: 29.02 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.3675, allocations: 1.286 MB / 0.5752 GB, free: 28.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005668/0.3732, allocations: 3.33 MB / 0.5785 GB, free: 26.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.3746, allocations: 0.69 MB / 0.5792 GB, free: 26.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3769, allocations: 1.31 MB / 0.5804 GB, free: 25.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.3795, allocations: 1.713 MB / 0.5821 GB, free: 24.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005383/0.38, allocations: 146.4 kB / 0.5823 GB, free: 24.97 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.3812, allocations: 266.8 kB / 0.5825 GB, free: 24.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.3818, allocations: 0.5901 MB / 0.5831 GB, free: 24.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.3825, allocations: 0.5229 MB / 0.5836 GB, free: 24.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.3861, allocations: 2.941 MB / 0.5865 GB, free: 23.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3861, allocations: 0 / 0.5865 GB, free: 23.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3861, allocations: 0 / 0.5865 GB, free: 23.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.03e-05/0.3862, allocations: 0 / 0.5865 GB, free: 23.36 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.03866/0.4249, allocations: 6.15 MB / 0.5925 GB, free: 21.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.425, allocations: 17.98 kB / 0.5925 GB, free: 21.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02478/0.4498, allocations: 2.295 MB / 0.5947 GB, free: 20.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.4545, allocations: 1.769 MB / 0.5965 GB, free: 19.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007832/0.4553, allocations: 0.7539 MB / 0.5972 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008718/0.4562, allocations: 219.5 kB / 0.5974 GB, free: 18.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008639/0.4648, allocations: 3.219 MB / 0.6006 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.4649, allocations: 0.7969 kB / 0.6006 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003991/0.4653, allocations: 84.44 kB / 0.6006 GB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.4654, allocations: 53.73 kB / 0.6007 GB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/0.4719, allocations: 2.97 MB / 0.6036 GB, free: 16.67 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.02119/0.4931, allocations: 10.12 MB / 0.6135 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.506, allocations: 4.861 MB / 0.6182 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004597/0.5106, allocations: 2.159 MB / 0.6203 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.5109, allocations: 43.09 kB / 0.6204 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004321/0.5153, allocations: 2.425 MB / 0.6227 GB, free: 5.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 4.649e-06/0.5153, allocations: 0 / 0.6227 GB, free: 5.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=248): time 0.1247/0.64, allocations: 33.49 MB / 0.6554 GB, free: 4.156 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6401, allocations: 180.2 kB / 0.6556 GB, free: 3.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.6435, allocations: 2.261 MB / 0.6578 GB, free: 1.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005648/0.644, allocations: 69.7 kB / 0.6579 GB, free: 1.586 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008815/0.6449, allocations: 1.164 MB / 0.659 GB, free: 420 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009304/0.6459, allocations: 0.8665 MB / 0.6599 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.6461, allocations: 64 kB / 0.6599 GB, free: 15.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6463, allocations: 436.8 kB / 0.6604 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/0.6508, allocations: 2.146 MB / 0.6624 GB, free: 12.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.6556, allocations: 2.499 MB / 0.6649 GB, free: 10.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.6604, allocations: 2.411 MB / 0.6672 GB, free: 7.844 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.6604, allocations: 4 kB / 0.6672 GB, free: 7.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04584/0.7062, allocations: 15.17 MB / 0.6821 GB, free: 8.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.7064, allocations: 110.8 kB / 0.6822 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.7064, allocations: 11.98 kB / 0.6822 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/0.7277, allocations: 6.41 MB / 0.6884 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.7307, allocations: 0.5695 MB / 0.689 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06398/0.7947, allocations: 25.14 MB / 0.7136 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/0.7995, allocations: 0.5831 MB / 0.7141 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/0.7999, allocations: 124 kB / 0.7142 GB, free: 7.457 MB / 0.5105 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.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 (327): * Single equations (assignments): 322 * 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.001288/0.8012, allocations: 0.537 MB / 0.7148 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/0.8018, allocations: 292.3 kB / 0.715 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04628/0.8481, allocations: 14.73 MB / 0.7294 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.8482, allocations: 24 kB / 0.7295 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/0.8482, allocations: 20 kB / 0.7295 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/0.8483, allocations: 11.95 kB / 0.7295 GB, free: 7.777 MB / 0.5261 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.05068/0.899, allocations: 18.32 MB / 0.7474 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.8991, allocations: 0 / 0.7474 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.9006, allocations: 247.7 kB / 0.7476 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02008/0.9207, allocations: 6.228 MB / 0.7537 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005664/0.9213, allocations: 55.98 kB / 0.7537 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2852/1.207, allocations: 25.5 MB / 0.7786 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.207, allocations: 3.375 kB / 0.7787 GB, free: 164.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04783/1.254, allocations: 17.29 MB / 0.7955 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/1.255, allocations: 418.4 kB / 0.7959 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/1.256, allocations: 47.72 kB / 0.796 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/1.259, allocations: 409.9 kB / 0.7964 GB, free: 161.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001985/1.261, allocations: 0.5806 MB / 0.7969 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.261, allocations: 66.41 kB / 0.797 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002158/1.263, allocations: 1.483 MB / 0.7984 GB, free: 161 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.263, allocations: 0 / 0.7984 GB, free: 161 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003393/1.267, allocations: 1.178 MB / 0.7996 GB, free: 160.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004024/1.267, allocations: 169.9 kB / 0.7998 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01951/1.287, allocations: 7.502 MB / 0.8071 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.287, allocations: 3.094 kB / 0.8071 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/1.301, allocations: 5.063 MB / 0.812 GB, free: 156.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.303, allocations: 271.2 kB / 0.8123 GB, free: 156.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/1.311, allocations: 6.343 MB / 0.8185 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/1.312, allocations: 1.812 MB / 0.8203 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.313, allocations: 173.9 kB / 0.8204 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.313, allocations: 0 / 0.8204 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.05913/1.372, allocations: 63.7 MB / 0.8826 GB, free: 92.29 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)