Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.001169/0.001169, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.464/1.464, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009392/0.0009392, allocations: 81.88 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08423/0.08423, allocations: 12.2 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3031/0.3031, allocations: 78.07 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.723e-05, allocations: 0 / 0.5142 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 69.25 MB / 0.5819 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5476, allocations: 99.71 MB / 0.6792 GB, free: 8.809 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5479, allocations: 83.64 kB / 0.6793 GB, free: 8.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09677/0.6447, allocations: 35.1 MB / 0.7136 GB, free: 11.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6448, allocations: 0.6562 kB / 0.7136 GB, free: 11.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.106e-05/0.6449, allocations: 20 kB / 0.7136 GB, free: 11.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005028/0.6499, allocations: 1.714 MB / 0.7153 GB, free: 10.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.65, allocations: 8.031 kB / 0.7153 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.6539, allocations: 0.5696 MB / 0.7158 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.6561, allocations: 0.7749 MB / 0.7166 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.6564, allocations: 235.9 kB / 0.7168 GB, free: 8.801 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.6566, allocations: 55.92 kB / 0.7169 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/0.6582, allocations: 0.7949 MB / 0.7177 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.6596, allocations: 0.8351 MB / 0.7185 GB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.6597, allocations: 0 / 0.7185 GB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.6598, allocations: 3.938 kB / 0.7185 GB, free: 7.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.6598, allocations: 23.95 kB / 0.7185 GB, free: 7.656 MB / 458.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.007609/0.6674, allocations: 3.649 MB / 0.7221 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/0.6749, allocations: 2.619 MB / 0.7246 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6762, allocations: 0.516 MB / 0.7251 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.6764, allocations: 16.77 kB / 0.7251 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.6775, allocations: 0.6546 MB / 0.7258 GB, free: 1.609 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.6775, allocations: 0 / 0.7258 GB, free: 1.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01269/0.6902, allocations: 3.925 MB / 0.7296 GB, free: 14.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.6904, allocations: 118.6 kB / 0.7297 GB, free: 14.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.6919, allocations: 0.7997 MB / 0.7305 GB, free: 13.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.6922, allocations: 25.7 kB / 0.7305 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.6926, allocations: 0.5198 MB / 0.731 GB, free: 13.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.6931, allocations: 325.7 kB / 0.7313 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.6932, allocations: 0 / 0.7313 GB, free: 12.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6934, allocations: 348.2 kB / 0.7317 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.6941, allocations: 438.3 kB / 0.7321 GB, free: 12.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.6949, allocations: 0.5616 MB / 0.7326 GB, free: 11.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.6957, allocations: 488.8 kB / 0.7331 GB, free: 11.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.6957, allocations: 0 / 0.7331 GB, free: 11.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0126/0.7084, allocations: 3.959 MB / 0.737 GB, free: 8.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.7085, allocations: 59.41 kB / 0.737 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.7085, allocations: 4 kB / 0.737 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005822/0.7144, allocations: 1.5 MB / 0.7385 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.7156, allocations: 199.6 kB / 0.7387 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.7299, allocations: 6.56 MB / 0.7451 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.7319, allocations: 179.1 kB / 0.7453 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.7321, allocations: 39.98 kB / 0.7453 GB, free: 15.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003886/0.7325, allocations: 160 kB / 0.7455 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01238/0.7449, allocations: 3.93 MB / 0.7493 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007912/0.7457, allocations: 126.4 kB / 0.7494 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.7581, allocations: 4.028 MB / 0.7534 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.7582, allocations: 11.98 kB / 0.7534 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7582, allocations: 11.94 kB / 0.7534 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-05/0.7583, allocations: 11.88 kB / 0.7534 GB, free: 7.391 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 postOpt removeSimpleEquations (simulation): time 0.01488/0.7732, allocations: 5.494 MB / 0.7588 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.7733, allocations: 0 / 0.7588 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.7741, allocations: 95.91 kB / 0.7588 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/0.7793, allocations: 1.481 MB / 0.7603 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.7797, allocations: 7.984 kB / 0.7603 GB, free: 216 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.7939, allocations: 7.55 MB / 0.7677 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.794, allocations: 4 kB / 0.7677 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.8076, allocations: 4.769 MB / 0.7723 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/0.8083, allocations: 223.3 kB / 0.7725 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.8087, allocations: 4 kB / 0.7725 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.81, allocations: 131.8 kB / 0.7727 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006108/0.8107, allocations: 201 kB / 0.7729 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.8108, allocations: 27.94 kB / 0.7729 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009567/0.8117, allocations: 0.6175 MB / 0.7735 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8117, allocations: 4 kB / 0.7735 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001608/0.8133, allocations: 387.4 kB / 0.7739 GB, free: 2.004 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/0.8272, allocations: 5.436 MB / 0.7792 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005355/0.8327, allocations: 1.991 MB / 0.7811 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.8327, allocations: 0 / 0.7811 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004088/0.8368, allocations: 1.526 MB / 0.7826 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.838, allocations: 88.42 kB / 0.7827 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.8423, allocations: 1.862 MB / 0.7845 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/0.8431, allocations: 1.147 MB / 0.7856 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004533/0.8436, allocations: 94.64 kB / 0.7857 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/0.8442, allocations: 463.3 kB / 0.7862 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.8442, allocations: 4 kB / 0.7862 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06789/0.9121, allocations: 28.68 MB / 0.8142 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.9125, allocations: 177.7 kB / 0.8143 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/3.922, allocations: 0 / 0.8143 GB, free: 8.348 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)