Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008803/0.0008804, allocations: 89.39 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09907/0.09908, allocations: 12.18 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.327/0.327, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.786e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4811/0.5845, allocations: 101.1 MB / 0.6806 GB, free: 7.453 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5848, allocations: 79.27 kB / 0.6807 GB, free: 7.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1611/0.7459, allocations: 64.78 MB / 0.7439 GB, free: 1.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.7459, allocations: 4 kB / 0.7439 GB, free: 1.641 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.7461, allocations: 55.94 kB / 0.744 GB, free: 1.586 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01087/0.757, allocations: 4.033 MB / 0.7479 GB, free: 13.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.757, allocations: 12.03 kB / 0.7479 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/0.7661, allocations: 1.6 MB / 0.7495 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.7691, allocations: 1.655 MB / 0.7511 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006088/0.7697, allocations: 0.6202 MB / 0.7517 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.77, allocations: 123.9 kB / 0.7518 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003897/0.7739, allocations: 2.222 MB / 0.754 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.778, allocations: 2.295 MB / 0.7563 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.778, allocations: 0 / 0.7563 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.7782, allocations: 0 / 0.7563 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.7783, allocations: 52 kB / 0.7563 GB, free: 4.637 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01821/0.7965, allocations: 9.746 MB / 0.7658 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009035/0.8056, allocations: 3.962 MB / 0.7697 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.8078, allocations: 1.465 MB / 0.7711 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.8081, allocations: 46.03 kB / 0.7712 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.8081, allocations: 60.5 kB / 0.7712 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 5.37e-06/0.8081, allocations: 0 / 0.7712 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.0363/0.8444, allocations: 12.09 MB / 0.783 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.8446, allocations: 235.6 kB / 0.7833 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.8479, allocations: 1.725 MB / 0.7849 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006677/0.8485, allocations: 29.7 kB / 0.785 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009661/0.8495, allocations: 1.212 MB / 0.7862 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.8505, allocations: 0.809 MB / 0.7869 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.8507, allocations: 0 / 0.7869 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8509, allocations: 390.6 kB / 0.7873 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.853, allocations: 1.192 MB / 0.7885 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.8552, allocations: 1.488 MB / 0.7899 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.8573, allocations: 1.31 MB / 0.7912 GB, free: 64 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.8573, allocations: 4 kB / 0.7912 GB, free: 60 kB / 0.5105 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03293/0.8902, allocations: 11.33 MB / 0.8023 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009756/0.8913, allocations: 2.879 MB / 0.8051 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.8913, allocations: 4 kB / 0.8051 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/0.9065, allocations: 4.632 MB / 0.8096 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/0.9104, allocations: 0.6906 MB / 0.8103 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03516/0.9456, allocations: 16.33 MB / 0.8262 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/0.9501, allocations: 481.8 kB / 0.8267 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/0.9505, allocations: 91.97 kB / 0.8268 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9505, allocations: 4 kB / 0.8268 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03318/0.9837, allocations: 11 MB / 0.8375 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.683e-05/0.9838, allocations: 11.98 kB / 0.8376 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.9988, allocations: 4.62 MB / 0.8421 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.003, allocations: 0.6788 MB / 0.8427 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3734/1.376, allocations: 16.31 MB / 0.8587 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.38, allocations: 459.6 kB / 0.8591 GB, free: 142.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/1.381, allocations: 89.23 kB / 0.8592 GB, free: 142.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007553/1.381, allocations: 216.4 kB / 0.8594 GB, free: 142.3 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03703/1.418, allocations: 12.09 MB / 0.8712 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.42, allocations: 294 kB / 0.8715 GB, free: 141.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03432/1.454, allocations: 12.38 MB / 0.8836 GB, free: 141.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/1.454, allocations: 23.47 kB / 0.8836 GB, free: 141.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/1.454, allocations: 19.47 kB / 0.8836 GB, free: 141.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-05/1.455, allocations: 11.16 kB / 0.8836 GB, free: 141.7 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.0373/1.492, allocations: 15.91 MB / 0.8991 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.492, allocations: 0 / 0.8991 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.494, allocations: 283.5 kB / 0.8994 GB, free: 140.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/1.507, allocations: 4.745 MB / 0.904 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.507, allocations: 22 kB / 0.9041 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02908/1.536, allocations: 15.21 MB / 0.9189 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.536, allocations: 0 / 0.9189 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03661/1.573, allocations: 14.33 MB / 0.9329 GB, free: 127.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.574, allocations: 410.6 kB / 0.9333 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/1.575, allocations: 8 kB / 0.9333 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.578, allocations: 354.3 kB / 0.9337 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001745/1.579, allocations: 0.5516 MB / 0.9342 GB, free: 126.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.579, allocations: 67.61 kB / 0.9343 GB, free: 126.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001639/1.581, allocations: 1.293 MB / 0.9355 GB, free: 124.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.062e-06/1.581, allocations: 0 / 0.9355 GB, free: 124.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004452/1.586, allocations: 1.581 MB / 0.9371 GB, free: 123.4 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0363/1.622, allocations: 15.06 MB / 0.9518 GB, free: 111.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02287/1.645, allocations: 9.713 MB / 0.9612 GB, free: 102.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.645, allocations: 0 / 0.9612 GB, free: 102.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009851/1.655, allocations: 3.971 MB / 0.9651 GB, free: 98.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.656, allocations: 197.1 kB / 0.9653 GB, free: 98.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/1.664, allocations: 4.55 MB / 0.9698 GB, free: 94.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.665, allocations: 1.9 MB / 0.9716 GB, free: 93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00168/1.666, allocations: 452.5 kB / 0.972 GB, free: 92.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.667, allocations: 1.183 MB / 0.9732 GB, free: 91.62 MB / 0.573 GB Notification: Performance of SimCode: time 4.1e-07/1.667, allocations: 0 / 0.9732 GB, free: 91.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.781, allocations: 91.72 MB / 1.063 GB, free: 4.312 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/1.781, allocations: 147.8 kB / 1.063 GB, free: 4.117 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/7.484, allocations: 0 / 1.063 GB, free: 4.117 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)