Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",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.001022/0.001022, 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.325/1.325, 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.0007912/0.0007911, allocations: 81.22 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.4802/0.4802, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.015e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3438, allocations: 69.33 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.48, allocations: 103.1 MB / 0.6487 GB, free: 13.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4803, allocations: 75.97 kB / 0.6488 GB, free: 13.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5633/1.044, allocations: 84.19 MB / 0.731 GB, free: 77.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.044, allocations: 0 / 0.731 GB, free: 77.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001701/1.044, allocations: 56 kB / 0.7311 GB, free: 77.23 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.008365/1.052, allocations: 3.383 MB / 0.7344 GB, free: 73.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.052, allocations: 11.97 kB / 0.7344 GB, free: 73.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005925/1.053, allocations: 263.3 kB / 0.7346 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00702/1.06, allocations: 1.182 MB / 0.7358 GB, free: 72.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/1.064, allocations: 1.757 MB / 0.7375 GB, free: 70.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/1.064, allocations: 464.6 kB / 0.738 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/1.065, allocations: 199.9 kB / 0.7382 GB, free: 69.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/1.068, allocations: 2.178 MB / 0.7403 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/1.068, allocations: 0 / 0.7403 GB, free: 67.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/1.069, allocations: 76 kB / 0.7403 GB, free: 67.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/1.069, allocations: 44 kB / 0.7404 GB, free: 67.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/1.072, allocations: 1.986 MB / 0.7423 GB, free: 65.45 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.01494/1.087, allocations: 9.071 MB / 0.7512 GB, free: 56.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008529/1.095, allocations: 4.618 MB / 0.7557 GB, free: 51.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/1.097, allocations: 1.347 MB / 0.757 GB, free: 49.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/1.098, allocations: 37.97 kB / 0.757 GB, free: 49.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/1.1, allocations: 1.576 MB / 0.7586 GB, free: 48.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 5.33e-06/1.1, allocations: 4 kB / 0.7586 GB, free: 48.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.02165/1.122, allocations: 7.468 MB / 0.7659 GB, free: 40.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/1.122, allocations: 239.6 kB / 0.7661 GB, free: 40.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/1.125, allocations: 2.041 MB / 0.7681 GB, free: 38.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007867/1.126, allocations: 69.7 kB / 0.7682 GB, free: 38.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/1.127, allocations: 1.146 MB / 0.7693 GB, free: 37.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/1.128, allocations: 0.8432 MB / 0.7701 GB, free: 36.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/1.128, allocations: 52 kB / 0.7702 GB, free: 36.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/1.128, allocations: 399.1 kB / 0.7705 GB, free: 35.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/1.13, allocations: 1.079 MB / 0.7716 GB, free: 34.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.132, allocations: 1.35 MB / 0.7729 GB, free: 33.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.134, allocations: 1.365 MB / 0.7743 GB, free: 31.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/1.134, allocations: 4 kB / 0.7743 GB, free: 31.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02337/1.157, allocations: 6.856 MB / 0.781 GB, free: 24.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.157, allocations: 174.2 kB / 0.7811 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.157, allocations: 7.938 kB / 0.7811 GB, free: 24.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01625/1.174, allocations: 2.805 MB / 0.7839 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.178, allocations: 487.3 kB / 0.7843 GB, free: 21.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03546/1.213, allocations: 16.67 MB / 0.8006 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/1.218, allocations: 417.8 kB / 0.801 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/1.218, allocations: 87.97 kB / 0.8011 GB, free: 3.508 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.22, allocations: 340.7 kB / 0.8014 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.221, allocations: 300.3 kB / 0.8017 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/1.245, allocations: 7.709 MB / 0.8092 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/1.245, allocations: 24 kB / 0.8093 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.245, allocations: 8 kB / 0.8093 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-05/1.245, allocations: 15.91 kB / 0.8093 GB, free: 11.04 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.03127/1.276, allocations: 11.67 MB / 0.8207 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.277, allocations: 0 / 0.8207 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.278, allocations: 243.7 kB / 0.8209 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/1.29, allocations: 3.266 MB / 0.8241 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000664/1.29, allocations: 55.98 kB / 0.8241 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03339/1.324, allocations: 17.38 MB / 0.8411 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/1.324, allocations: 4 kB / 0.8411 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02758/1.351, allocations: 9.398 MB / 0.8503 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.353, allocations: 452.8 kB / 0.8507 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008554/1.354, allocations: 44 kB / 0.8508 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.357, allocations: 283.8 kB / 0.851 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001427/1.358, allocations: 374.1 kB / 0.8514 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.359, allocations: 71.97 kB / 0.8515 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002754/1.361, allocations: 1.552 MB / 0.853 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.082e-06/1.361, allocations: 0 / 0.853 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005136/1.366, allocations: 0.9714 MB / 0.8539 GB, free: 12.37 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02639/1.393, allocations: 10.22 MB / 0.8639 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.404, allocations: 5.063 MB / 0.8689 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.404, allocations: 0 / 0.8689 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00899/1.413, allocations: 3.52 MB / 0.8723 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.416, allocations: 250.9 kB / 0.8725 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.428, allocations: 4.9 MB / 0.8773 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.43, allocations: 1.838 MB / 0.8791 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001145/1.431, allocations: 228.2 kB / 0.8793 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.433, allocations: 1.183 MB / 0.8805 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of SimCode: time 2.154e-06/1.433, allocations: 0 / 0.8805 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5158/1.949, allocations: 73.05 MB / 0.9518 GB, free: 147.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.949, allocations: 180.4 kB / 0.952 GB, free: 147.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/7.01, allocations: 0 / 0.952 GB, free: 147.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)