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.007089/0.007088, allocations: 170.2 kB / 15.13 MB, free: 6.023 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.335/1.335, allocations: 223.3 MB / 239.1 MB, free: 15.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009207, allocations: 90.55 kB / 290.3 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5485/0.5485, allocations: 78.62 MB / 420 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 12 kB / 499.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 69.34 MB / 0.5559 GB, free: 1.809 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01161/0.1405, allocations: 12.84 MB / 0.5684 GB, free: 4.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.1479, allocations: 3.449 MB / 0.5718 GB, free: 1.465 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.1504, allocations: 32 kB / 0.5718 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.1527, allocations: 393 kB / 0.5722 GB, free: 1.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2252/0.3779, allocations: 1.187 MB / 0.5734 GB, free: 31.89 MB / 442.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.003381/0.3813, allocations: 1.28 MB / 0.5746 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.3856, allocations: 3.332 MB / 0.5779 GB, free: 31.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.3868, allocations: 0.6925 MB / 0.5786 GB, free: 31.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.3886, allocations: 1.307 MB / 0.5798 GB, free: 31.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.3904, allocations: 1.715 MB / 0.5815 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.3907, allocations: 138.6 kB / 0.5816 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.3915, allocations: 269.8 kB / 0.5819 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.3919, allocations: 0.5884 MB / 0.5825 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.3925, allocations: 0.5178 MB / 0.583 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.3952, allocations: 2.943 MB / 0.5858 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3952, allocations: 0 / 0.5858 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3952, allocations: 1.75 kB / 0.5859 GB, free: 30.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.804e-05/0.3953, allocations: 3.562 kB / 0.5859 GB, free: 30.55 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02216/0.4175, allocations: 6.15 MB / 0.5919 GB, free: 28.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4175, allocations: 12.88 kB / 0.5919 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.433, allocations: 2.302 MB / 0.5941 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.437, allocations: 1.768 MB / 0.5958 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005957/0.4376, allocations: 0.7505 MB / 0.5966 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/0.4382, allocations: 217.8 kB / 0.5968 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006089/0.4443, allocations: 3.221 MB / 0.5999 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.4443, allocations: 3.328 kB / 0.5999 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.4446, allocations: 83.58 kB / 0.6 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.4446, allocations: 56.14 kB / 0.6001 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/0.4503, allocations: 2.966 MB / 0.603 GB, free: 27.13 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.01824/0.4686, allocations: 10.12 MB / 0.6129 GB, free: 24.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.4801, allocations: 4.858 MB / 0.6176 GB, free: 22.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004678/0.4848, allocations: 2.164 MB / 0.6197 GB, free: 22.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.4852, allocations: 48.86 kB / 0.6198 GB, free: 22.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005236/0.4904, allocations: 2.416 MB / 0.6221 GB, free: 21.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=248): time 4.778e-06/0.4905, allocations: 5.375 kB / 0.6221 GB, free: 21.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=248): time 0.1246/0.6151, allocations: 33.49 MB / 0.6548 GB, free: 13.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6152, allocations: 184.3 kB / 0.655 GB, free: 13.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.6194, allocations: 2.25 MB / 0.6572 GB, free: 11.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008169/0.6203, allocations: 73.7 kB / 0.6573 GB, free: 11.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6213, allocations: 1.164 MB / 0.6584 GB, free: 10.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.6228, allocations: 0.8692 MB / 0.6593 GB, free: 9.336 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005467/0.6233, allocations: 72 kB / 0.6593 GB, free: 9.266 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.6236, allocations: 424.8 kB / 0.6597 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005072/0.6287, allocations: 2.146 MB / 0.6618 GB, free: 6.695 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/0.6342, allocations: 2.51 MB / 0.6643 GB, free: 4.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005814/0.6401, allocations: 2.407 MB / 0.6666 GB, free: 1.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.6401, allocations: 0 / 0.6666 GB, free: 1.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04974/0.6899, allocations: 15.17 MB / 0.6814 GB, free: 2.414 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.69, allocations: 114.8 kB / 0.6816 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.69, allocations: 8 kB / 0.6816 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02104/0.7111, allocations: 6.417 MB / 0.6878 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/0.7144, allocations: 0.5695 MB / 0.6884 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06352/0.7779, allocations: 25.14 MB / 0.7129 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/0.7832, allocations: 0.5869 MB / 0.7135 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/0.784, allocations: 120 kB / 0.7136 GB, free: 1.324 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 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.001667/0.7857, allocations: 0.5354 MB / 0.7141 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008691/0.7866, allocations: 293.2 kB / 0.7144 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04628/0.8329, allocations: 14.74 MB / 0.7288 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/0.8329, allocations: 28 kB / 0.7288 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.038e-05/0.833, allocations: 16 kB / 0.7289 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.8331, allocations: 17.45 kB / 0.7289 GB, free: 1.645 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.04958/0.8827, allocations: 18.33 MB / 0.7468 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.8827, allocations: 0 / 0.7468 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.8844, allocations: 248.6 kB / 0.747 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0201/0.9045, allocations: 6.234 MB / 0.7531 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007614/0.9053, allocations: 48 kB / 0.7531 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06023/0.9656, allocations: 25.5 MB / 0.778 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9656, allocations: 5.203 kB / 0.778 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2999/1.266, allocations: 17.28 MB / 0.7949 GB, free: 168.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.267, allocations: 413.9 kB / 0.7953 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/1.268, allocations: 47.09 kB / 0.7954 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/1.272, allocations: 417.5 kB / 0.7958 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002427/1.275, allocations: 0.5731 MB / 0.7963 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004943/1.275, allocations: 69.41 kB / 0.7964 GB, free: 168.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002735/1.278, allocations: 1.482 MB / 0.7978 GB, free: 167.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/1.278, allocations: 0 / 0.7978 GB, free: 167.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004557/1.283, allocations: 1.181 MB / 0.799 GB, free: 167.9 MB / 0.573 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.0006274/1.283, allocations: 171 kB / 0.7992 GB, free: 167.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02018/1.303, allocations: 7.505 MB / 0.8065 GB, free: 167.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.304, allocations: 0 / 0.8065 GB, free: 167.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01413/1.318, allocations: 5.077 MB / 0.8114 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.321, allocations: 267.8 kB / 0.8117 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/1.33, allocations: 6.269 MB / 0.8178 GB, free: 163.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.332, allocations: 1.806 MB / 0.8196 GB, free: 163 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001305/1.333, allocations: 260 kB / 0.8198 GB, free: 163 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/1.333, allocations: 161.6 kB / 0.82 GB, free: 163 MB / 0.573 GB Notification: Performance of SimCode: time 7.01e-07/1.333, allocations: 0 / 0.82 GB, free: 163 MB / 0.573 GB Notification: Performance of Templates: time 0.07898/1.412, allocations: 56.55 MB / 0.8752 GB, free: 140.9 MB / 0.573 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)