Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.172/1.172, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008976/0.0008976, allocations: 89.3 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4156/0.4156, allocations: 78.91 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.525e-05, allocations: 8 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 69.5 MB / 0.5492 GB, free: 19.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.405, allocations: 101.2 MB / 0.6481 GB, free: 14.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4052, allocations: 75.97 kB / 0.6481 GB, free: 14.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4453/0.8506, allocations: 70.99 MB / 0.7175 GB, free: 91.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.8506, allocations: 0 / 0.7175 GB, free: 91.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001511/0.8508, allocations: 59.94 kB / 0.7175 GB, free: 90.96 MB / 490.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.0106/0.8614, allocations: 4.061 MB / 0.7215 GB, free: 86.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.8614, allocations: 11.97 kB / 0.7215 GB, free: 86.81 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005109/0.862, allocations: 299.3 kB / 0.7218 GB, free: 86.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/0.8712, allocations: 1.611 MB / 0.7234 GB, free: 84.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.8741, allocations: 1.643 MB / 0.725 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000522/0.8746, allocations: 0.7525 MB / 0.7257 GB, free: 82.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.875, allocations: 215.8 kB / 0.7259 GB, free: 82.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/0.879, allocations: 2.576 MB / 0.7284 GB, free: 79.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.879, allocations: 0 / 0.7284 GB, free: 79.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.8792, allocations: 83.98 kB / 0.7285 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.8793, allocations: 48 kB / 0.7285 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/0.8828, allocations: 2.332 MB / 0.7308 GB, free: 76.97 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.01546/0.8983, allocations: 9.975 MB / 0.7406 GB, free: 66.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/0.9064, allocations: 4.206 MB / 0.7447 GB, free: 62.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.9084, allocations: 1.543 MB / 0.7462 GB, free: 60.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.9087, allocations: 41.95 kB / 0.7462 GB, free: 60.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/0.9111, allocations: 1.811 MB / 0.748 GB, free: 58.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.348e-06/0.9111, allocations: 0 / 0.748 GB, free: 58.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03392/0.945, allocations: 12.57 MB / 0.7603 GB, free: 46.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.9451, allocations: 188.2 kB / 0.7604 GB, free: 45.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.9478, allocations: 1.879 MB / 0.7623 GB, free: 44.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006019/0.9484, allocations: 65.7 kB / 0.7623 GB, free: 44.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.949, allocations: 1.216 MB / 0.7635 GB, free: 42.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007753/0.9498, allocations: 0.8586 MB / 0.7644 GB, free: 41.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.95, allocations: 56 kB / 0.7644 GB, free: 41.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.9501, allocations: 399 kB / 0.7648 GB, free: 41.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.952, allocations: 1.27 MB / 0.766 GB, free: 40.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.9539, allocations: 1.571 MB / 0.7676 GB, free: 38.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.9559, allocations: 1.5 MB / 0.769 GB, free: 36.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.9559, allocations: 0 / 0.769 GB, free: 36.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03333/0.9893, allocations: 12.64 MB / 0.7814 GB, free: 24.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.9894, allocations: 120.8 kB / 0.7815 GB, free: 24.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9894, allocations: 4 kB / 0.7815 GB, free: 24.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/1.004, allocations: 5.286 MB / 0.7867 GB, free: 18.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.007, allocations: 427.4 kB / 0.7871 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0349/1.042, allocations: 17.88 MB / 0.8045 GB, free: 356 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.046, allocations: 0.5329 MB / 0.805 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/1.047, allocations: 91.97 kB / 0.8051 GB, free: 15.72 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real 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.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.000606/1.047, allocations: 297.4 kB / 0.8054 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/1.048, allocations: 304.2 kB / 0.8057 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03724/1.085, allocations: 12.93 MB / 0.8183 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.085, allocations: 24 kB / 0.8184 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/1.085, allocations: 20 kB / 0.8184 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/1.085, allocations: 19.89 kB / 0.8184 GB, free: 2.027 MB / 0.4948 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.04213/1.127, allocations: 16.48 MB / 0.8345 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.127, allocations: 0 / 0.8345 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.129, allocations: 251.6 kB / 0.8347 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01537/1.144, allocations: 5.048 MB / 0.8397 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/1.145, allocations: 51.98 kB / 0.8397 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0395/1.185, allocations: 19.28 MB / 0.8585 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-06/1.185, allocations: 3.938 kB / 0.8585 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04216/1.227, allocations: 14.89 MB / 0.8731 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.228, allocations: 424.8 kB / 0.8735 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.229, allocations: 48 kB / 0.8735 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.232, allocations: 407.6 kB / 0.8739 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002246/1.234, allocations: 0.5836 MB / 0.8745 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.234, allocations: 71.97 kB / 0.8746 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002176/1.236, allocations: 1.434 MB / 0.876 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.236, allocations: 0 / 0.876 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003251/1.24, allocations: 1.127 MB / 0.8771 GB, free: 5.113 MB / 0.5573 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 () * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0414/1.281, allocations: 15.67 MB / 0.8924 GB, free: 5.297 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2821/1.563, allocations: 5.78 MB / 0.898 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.563, allocations: 0 / 0.898 GB, free: 176.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/1.576, allocations: 4.409 MB / 0.9023 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.578, allocations: 232.7 kB / 0.9025 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/1.587, allocations: 4.658 MB / 0.9071 GB, free: 174.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.588, allocations: 1.875 MB / 0.9089 GB, free: 173.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008977/1.589, allocations: 215.3 kB / 0.9091 GB, free: 173.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.59, allocations: 1.215 MB / 0.9103 GB, free: 173.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.42e-07/1.59, allocations: 3.828 kB / 0.9103 GB, free: 173.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09441/1.685, allocations: 79.27 MB / 0.9877 GB, free: 120.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.685, allocations: 194.7 kB / 0.9879 GB, free: 120.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/6.282, allocations: 0 / 0.9879 GB, free: 120.3 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)