Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007074/0.007074, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.321/1.321, allocations: 223.2 MB / 239 MB, free: 1.758 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.0009457/0.0009457, allocations: 98.08 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4966/0.4966, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 12 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3278, allocations: 69.34 MB / 0.5558 GB, free: 38.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.009363/0.3372, allocations: 11.5 MB / 0.567 GB, free: 33.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.3445, allocations: 3.393 MB / 0.5703 GB, free: 30.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.3466, allocations: 32.44 kB / 0.5703 GB, free: 30.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.3476, allocations: 351.6 kB / 0.5707 GB, free: 30.81 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.351, allocations: 1.275 MB / 0.5719 GB, free: 29.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.3537, allocations: 1.255 MB / 0.5732 GB, free: 29.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.3566, allocations: 2.181 MB / 0.5753 GB, free: 28.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.3573, allocations: 0.6149 MB / 0.5759 GB, free: 27.77 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.3586, allocations: 1.188 MB / 0.577 GB, free: 27.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.3599, allocations: 1.58 MB / 0.5786 GB, free: 26.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.3602, allocations: 139 kB / 0.5787 GB, free: 26.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000567/0.3607, allocations: 251.3 kB / 0.579 GB, free: 26.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.361, allocations: 0.5354 MB / 0.5795 GB, free: 26.15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.3614, allocations: 497.2 kB / 0.58 GB, free: 25.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3632, allocations: 2.574 MB / 0.5825 GB, free: 25.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.3632, allocations: 0 / 0.5825 GB, free: 25.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3632, allocations: 0 / 0.5825 GB, free: 25.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.3633, allocations: 0 / 0.5825 GB, free: 25.04 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01887/0.3822, allocations: 5.785 MB / 0.5881 GB, free: 23.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3822, allocations: 10.5 kB / 0.5881 GB, free: 23.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.3963, allocations: 2.268 MB / 0.5903 GB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.3996, allocations: 1.582 MB / 0.5919 GB, free: 21.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.4001, allocations: 0.6886 MB / 0.5926 GB, free: 21.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.4006, allocations: 201.6 kB / 0.5928 GB, free: 20.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.4061, allocations: 3.087 MB / 0.5958 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4061, allocations: 0 / 0.5958 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.4064, allocations: 77.47 kB / 0.5958 GB, free: 19.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.4064, allocations: 47.36 kB / 0.5959 GB, free: 19.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.4123, allocations: 2.875 MB / 0.5987 GB, free: 18.94 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.01815/0.4305, allocations: 10.16 MB / 0.6086 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.4425, allocations: 4.801 MB / 0.6133 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/0.443, allocations: 38.47 kB / 0.6133 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.443, allocations: 65.8 kB / 0.6134 GB, free: 11.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 4.719e-06/0.443, allocations: 0 / 0.6134 GB, free: 11.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=229): time 0.1126/0.5557, allocations: 31.33 MB / 0.644 GB, free: 15.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.5558, allocations: 132.8 kB / 0.6441 GB, free: 15.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.5586, allocations: 1.993 MB / 0.6461 GB, free: 13.17 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006488/0.5593, allocations: 69.7 kB / 0.6461 GB, free: 13.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/0.5601, allocations: 1.089 MB / 0.6472 GB, free: 12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.5612, allocations: 0.8048 MB / 0.648 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.5614, allocations: 60 kB / 0.6481 GB, free: 11.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5616, allocations: 420.2 kB / 0.6485 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/0.566, allocations: 2.079 MB / 0.6505 GB, free: 8.621 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.5707, allocations: 2.433 MB / 0.6529 GB, free: 6.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.5755, allocations: 2.239 MB / 0.655 GB, free: 3.828 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5755, allocations: 4 kB / 0.655 GB, free: 3.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04407/0.6196, allocations: 14.87 MB / 0.6696 GB, free: 4.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000873/0.6205, allocations: 2.702 MB / 0.6722 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.6205, allocations: 4 kB / 0.6722 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02011/0.6406, allocations: 6.434 MB / 0.6785 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.6434, allocations: 0.4953 MB / 0.679 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0646/0.7081, allocations: 26.47 MB / 0.7048 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/0.7123, allocations: 0.5402 MB / 0.7054 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.7127, allocations: 111.9 kB / 0.7055 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.7127, allocations: 4 kB / 0.7055 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04363/0.7563, allocations: 14.53 MB / 0.7197 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.7564, allocations: 8 kB / 0.7197 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02008/0.7765, allocations: 6.437 MB / 0.7259 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.7792, allocations: 495.3 kB / 0.7264 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06313/0.8423, allocations: 26.48 MB / 0.7523 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/0.8463, allocations: 0.4899 MB / 0.7528 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.8466, allocations: 104 kB / 0.7529 GB, free: 14.98 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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 order3_2.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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.001204/0.8478, allocations: 0.5102 MB / 0.7534 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.8483, allocations: 268.6 kB / 0.7536 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2501/1.098, allocations: 14.28 MB / 0.7676 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.098, allocations: 22.66 kB / 0.7676 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.447e-05/1.099, allocations: 21.66 kB / 0.7676 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/1.099, allocations: 15.55 kB / 0.7676 GB, free: 159.3 MB / 0.5573 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.0471/1.146, allocations: 17.84 MB / 0.785 GB, free: 158.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.146, allocations: 0 / 0.785 GB, free: 158.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.148, allocations: 258.7 kB / 0.7853 GB, free: 158.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/1.165, allocations: 6.059 MB / 0.7912 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/1.166, allocations: 44.83 kB / 0.7912 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05454/1.221, allocations: 22.69 MB / 0.8134 GB, free: 151 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.221, allocations: 6.594 kB / 0.8134 GB, free: 151 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05059/1.271, allocations: 16.84 MB / 0.8298 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/1.272, allocations: 386.2 kB / 0.8302 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.273, allocations: 40 kB / 0.8303 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.275, allocations: 367.2 kB / 0.8306 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/1.277, allocations: 0.54 MB / 0.8311 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.277, allocations: 55.75 kB / 0.8312 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001418/1.279, allocations: 1.301 MB / 0.8325 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.279, allocations: 0 / 0.8325 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004069/1.283, allocations: 1.847 MB / 0.8343 GB, free: 139.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003557/1.283, allocations: 163.2 kB / 0.8344 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03043/1.314, allocations: 12.28 MB / 0.8464 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.314, allocations: 0 / 0.8464 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01288/1.327, allocations: 4.628 MB / 0.8509 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.328, allocations: 195.2 kB / 0.8511 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008043/1.336, allocations: 6.3 MB / 0.8573 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/1.337, allocations: 1.792 MB / 0.859 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001387/1.338, allocations: 276.7 kB / 0.8593 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.339, allocations: 143.4 kB / 0.8594 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of SimCode: time 5.61e-07/1.339, allocations: 0 / 0.8594 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.0836/1.423, allocations: 72.98 MB / 0.9307 GB, free: 42.93 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)