Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",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.001005/0.001006, 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 3.2.3+maint.om/package.mo): time 1.61/1.61, 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.0009584/0.0009582, allocations: 83.36 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.09356/0.09356, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2869/0.2869, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.395e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 69.23 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5532, allocations: 99.7 MB / 0.6792 GB, free: 9.156 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5536, allocations: 82.45 kB / 0.6793 GB, free: 9.113 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09089/0.6445, allocations: 35.09 MB / 0.7136 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6445, allocations: 0 / 0.7136 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.831e-05/0.6446, allocations: 24 kB / 0.7136 GB, free: 12.26 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.004272/0.6489, allocations: 1.718 MB / 0.7153 GB, free: 10.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6489, allocations: 8.031 kB / 0.7153 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/0.6523, allocations: 0.5622 MB / 0.7158 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.6537, allocations: 0.7761 MB / 0.7166 GB, free: 9.418 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.654, allocations: 236.1 kB / 0.7168 GB, free: 9.156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.6542, allocations: 52 kB / 0.7168 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001401/0.6556, allocations: 0.7962 MB / 0.7176 GB, free: 8.621 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.657, allocations: 0.8291 MB / 0.7184 GB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.6571, allocations: 0 / 0.7184 GB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.6572, allocations: 12.88 kB / 0.7184 GB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.6572, allocations: 19.95 kB / 0.7185 GB, free: 8.016 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.006429/0.6636, allocations: 3.649 MB / 0.722 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.6709, allocations: 2.624 MB / 0.7246 GB, free: 2.723 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.6722, allocations: 0.5149 MB / 0.7251 GB, free: 2.438 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.6724, allocations: 20.14 kB / 0.7251 GB, free: 2.418 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.6736, allocations: 0.6539 MB / 0.7257 GB, free: 1.961 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.076e-06/0.6736, allocations: 0 / 0.7257 GB, free: 1.961 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01239/0.686, allocations: 3.932 MB / 0.7296 GB, free: 14.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.6861, allocations: 114.2 kB / 0.7297 GB, free: 14.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.6875, allocations: 0.8031 MB / 0.7305 GB, free: 13.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.6878, allocations: 25.7 kB / 0.7305 GB, free: 13.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.6881, allocations: 0.517 MB / 0.731 GB, free: 13.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.6885, allocations: 328.5 kB / 0.7313 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.6886, allocations: 3.938 kB / 0.7313 GB, free: 13.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6887, allocations: 346 kB / 0.7317 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.6894, allocations: 442.7 kB / 0.7321 GB, free: 12.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.6901, allocations: 0.5512 MB / 0.7326 GB, free: 12.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.6908, allocations: 493.7 kB / 0.7331 GB, free: 12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6908, allocations: 0 / 0.7331 GB, free: 12 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01219/0.703, allocations: 3.956 MB / 0.737 GB, free: 8.504 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.7031, allocations: 63.34 kB / 0.737 GB, free: 8.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7031, allocations: 4 kB / 0.737 GB, free: 8.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005395/0.7085, allocations: 1.502 MB / 0.7385 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7097, allocations: 195.7 kB / 0.7387 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.7233, allocations: 6.552 MB / 0.7451 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7252, allocations: 183.2 kB / 0.7452 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.7254, allocations: 35.92 kB / 0.7453 GB, free: 15.83 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.0004106/0.7258, allocations: 163 kB / 0.7454 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01195/0.7377, allocations: 3.93 MB / 0.7493 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.7384, allocations: 126.4 kB / 0.7494 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.7501, allocations: 4.036 MB / 0.7533 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.7502, allocations: 12 kB / 0.7533 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.7502, allocations: 4 kB / 0.7533 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.7502, allocations: 11.94 kB / 0.7534 GB, free: 7.508 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.01368/0.7639, allocations: 5.49 MB / 0.7587 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.764, allocations: 11.94 kB / 0.7587 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.7647, allocations: 91.91 kB / 0.7588 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004642/0.7694, allocations: 1.477 MB / 0.7603 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002098/0.7696, allocations: 11.98 kB / 0.7603 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.7831, allocations: 7.546 MB / 0.7676 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7831, allocations: 0 / 0.7676 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.7961, allocations: 4.777 MB / 0.7723 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.7967, allocations: 223.3 kB / 0.7725 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.7969, allocations: 0 / 0.7725 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.798, allocations: 131.8 kB / 0.7726 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/0.7986, allocations: 201.1 kB / 0.7728 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.7987, allocations: 24 kB / 0.7729 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008979/0.7996, allocations: 0.6214 MB / 0.7735 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7996, allocations: 4 kB / 0.7735 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001364/0.8009, allocations: 391.4 kB / 0.7738 GB, free: 2.121 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.01338/0.8143, allocations: 5.435 MB / 0.7792 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00533/0.8197, allocations: 1.991 MB / 0.7811 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.8198, allocations: 0 / 0.7811 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003897/0.8237, allocations: 1.526 MB / 0.7826 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.8247, allocations: 87.89 kB / 0.7827 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.8284, allocations: 1.866 MB / 0.7845 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/0.829, allocations: 1.147 MB / 0.7856 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003851/0.8294, allocations: 98.62 kB / 0.7857 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.83, allocations: 467.3 kB / 0.7862 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.83, allocations: 0 / 0.7862 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.8855, allocations: 28.66 MB / 0.8141 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.8857, allocations: 155.5 kB / 0.8143 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.963, allocations: 0 / 0.8143 GB, free: 8.477 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)