Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.001057/0.001057, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001002/0.001002, allocations: 83.42 kB / 280.4 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4849/0.4849, allocations: 78.12 MB / 409.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.568e-05, allocations: 3.938 kB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1764, allocations: 69.37 MB / 0.5414 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.6624, allocations: 98.83 MB / 0.6379 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.6626, allocations: 80.8 kB / 0.638 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1869/0.8495, allocations: 68.33 MB / 0.7047 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8496, allocations: 4 kB / 0.7047 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000318/0.8499, allocations: 59.94 kB / 0.7048 GB, free: 12.18 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01478/0.8647, allocations: 4.019 MB / 0.7087 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.8648, allocations: 12.02 kB / 0.7087 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.8761, allocations: 1.598 MB / 0.7103 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.8821, allocations: 1.623 MB / 0.7119 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000988/0.8832, allocations: 0.6744 MB / 0.7125 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.8844, allocations: 131.9 kB / 0.7127 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006529/0.8909, allocations: 2.211 MB / 0.7148 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007028/0.898, allocations: 2.274 MB / 0.7171 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.8981, allocations: 0.9375 kB / 0.7171 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.8986, allocations: 3.984 kB / 0.7171 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.8986, allocations: 52 kB / 0.7171 GB, free: 15.24 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.02282/0.9215, allocations: 9.572 MB / 0.7265 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.9316, allocations: 4.091 MB / 0.7304 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/0.9353, allocations: 1.461 MB / 0.7319 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007538/0.9361, allocations: 41.95 kB / 0.7319 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005098/0.9412, allocations: 1.717 MB / 0.7336 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 1.053e-05/0.9412, allocations: 0 / 0.7336 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.04188/0.9831, allocations: 12.31 MB / 0.7456 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.9833, allocations: 189.1 kB / 0.7458 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.9868, allocations: 1.697 MB / 0.7475 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000692/0.9875, allocations: 25.7 kB / 0.7475 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.9885, allocations: 1.207 MB / 0.7487 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/0.9899, allocations: 0.8158 MB / 0.7495 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.9902, allocations: 0 / 0.7495 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.9904, allocations: 398.9 kB / 0.7498 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.9925, allocations: 1.204 MB / 0.751 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.9947, allocations: 1.502 MB / 0.7525 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.9969, allocations: 1.326 MB / 0.7538 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.9969, allocations: 0 / 0.7538 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.4078/1.405, allocations: 12.27 MB / 0.7658 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/1.405, allocations: 114.7 kB / 0.7659 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/1.405, allocations: 10.84 kB / 0.7659 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.421, allocations: 4.962 MB / 0.7707 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.424, allocations: 415.5 kB / 0.7711 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04137/1.465, allocations: 17.6 MB / 0.7883 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/1.47, allocations: 496 kB / 0.7888 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/1.47, allocations: 91.73 kB / 0.7889 GB, free: 110.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006765/1.471, allocations: 206.3 kB / 0.7891 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04108/1.512, allocations: 12.32 MB / 0.8011 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/1.514, allocations: 300.1 kB / 0.8014 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03964/1.553, allocations: 12.6 MB / 0.8137 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-05/1.553, allocations: 25.91 kB / 0.8137 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/1.553, allocations: 20.06 kB / 0.8137 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.851e-05/1.554, allocations: 10.83 kB / 0.8137 GB, free: 109.3 MB / 0.5573 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.04139/1.595, allocations: 15.93 MB / 0.8293 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/1.595, allocations: 4.953 kB / 0.8293 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.597, allocations: 243.8 kB / 0.8295 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/1.612, allocations: 4.965 MB / 0.8344 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007621/1.613, allocations: 22.02 kB / 0.8344 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03712/1.65, allocations: 19.01 MB / 0.853 GB, free: 96.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.65, allocations: 0.8438 kB / 0.853 GB, free: 96.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03746/1.687, allocations: 14.57 MB / 0.8672 GB, free: 87.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.688, allocations: 410 kB / 0.8676 GB, free: 87.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007211/1.689, allocations: 8.688 kB / 0.8676 GB, free: 87.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/1.693, allocations: 371.3 kB / 0.868 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/1.695, allocations: 0.5814 MB / 0.8685 GB, free: 86.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/1.695, allocations: 67.56 kB / 0.8686 GB, free: 86.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001685/1.697, allocations: 1.268 MB / 0.8698 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.697, allocations: 0 / 0.8698 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003502/1.7, allocations: 1.005 MB / 0.8708 GB, free: 84.75 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03823/1.738, allocations: 15.3 MB / 0.8857 GB, free: 72.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.752, allocations: 5.552 MB / 0.8912 GB, free: 66.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.753, allocations: 4 kB / 0.8912 GB, free: 66.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01165/1.764, allocations: 4.257 MB / 0.8953 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.767, allocations: 187.5 kB / 0.8955 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009811/1.777, allocations: 4.295 MB / 0.8997 GB, free: 59.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.778, allocations: 1.86 MB / 0.9015 GB, free: 57.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001078/1.779, allocations: 213.3 kB / 0.9017 GB, free: 57.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.78, allocations: 1.194 MB / 0.9029 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/1.78, allocations: 4 kB / 0.9029 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.893, allocations: 73.82 MB / 0.975 GB, free: 4.789 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.893, allocations: 153.2 kB / 0.9751 GB, free: 4.594 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.616/6.509, allocations: 0 / 0.9751 GB, free: 4.594 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)