Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009509/0.0009541, 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.844/1.844, allocations: 205.3 MB / 213.4 MB, free: 1.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008883, allocations: 90.36 kB / 261.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06681/0.06681, allocations: 12.21 MB / 321.6 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5038/0.5038, allocations: 78.04 MB / 450.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.289e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1806, allocations: 69.25 MB / 0.5819 GB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.3449, allocations: 104 MB / 0.6834 GB, free: 9.188 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.3453, allocations: 87.95 kB / 0.6835 GB, free: 9.102 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5962/0.9415, allocations: 81.12 MB / 0.7627 GB, free: 48.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9416, allocations: 0 / 0.7627 GB, free: 48.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001691/0.9418, allocations: 56 kB / 0.7628 GB, free: 48.84 MB / 474.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.007113/0.9489, allocations: 3.38 MB / 0.7661 GB, free: 45.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9489, allocations: 8.031 kB / 0.7661 GB, free: 45.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.9551, allocations: 1.174 MB / 0.7672 GB, free: 44.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.9579, allocations: 1.749 MB / 0.7689 GB, free: 42.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.9583, allocations: 404.6 kB / 0.7693 GB, free: 41.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.9586, allocations: 119.9 kB / 0.7694 GB, free: 41.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002929/0.9615, allocations: 1.897 MB / 0.7713 GB, free: 39.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.9645, allocations: 1.921 MB / 0.7731 GB, free: 37.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.9645, allocations: 0 / 0.7731 GB, free: 37.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.9647, allocations: 7.984 kB / 0.7732 GB, free: 37.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.9647, allocations: 44 kB / 0.7732 GB, free: 37.9 MB / 474.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.01293/0.9777, allocations: 8.759 MB / 0.7818 GB, free: 28.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009616/0.9873, allocations: 4.524 MB / 0.7862 GB, free: 24.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.9895, allocations: 1.272 MB / 0.7874 GB, free: 22.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.9898, allocations: 49.92 kB / 0.7875 GB, free: 22.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002761/0.9926, allocations: 1.49 MB / 0.7889 GB, free: 21.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 7.223e-06/0.9926, allocations: 0 / 0.7889 GB, free: 21.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.02093/1.014, allocations: 7.216 MB / 0.796 GB, free: 13.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.014, allocations: 239.6 kB / 0.7962 GB, free: 13.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004993/1.019, allocations: 1.871 MB / 0.798 GB, free: 11.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009124/1.02, allocations: 29.69 kB / 0.798 GB, free: 11.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/1.021, allocations: 1.15 MB / 0.7992 GB, free: 10.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.022, allocations: 0.8082 MB / 0.8 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004954/1.023, allocations: 0 / 0.8 GB, free: 9.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/1.023, allocations: 399 kB / 0.8003 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/1.025, allocations: 1.036 MB / 0.8013 GB, free: 8.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/1.027, allocations: 1.29 MB / 0.8026 GB, free: 6.977 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/1.03, allocations: 1.159 MB / 0.8037 GB, free: 5.789 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.03, allocations: 0 / 0.8037 GB, free: 5.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01841/1.048, allocations: 6.476 MB / 0.8101 GB, free: 15.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/1.048, allocations: 174.2 kB / 0.8102 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.048, allocations: 4 kB / 0.8102 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/1.059, allocations: 2.703 MB / 0.8129 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/1.062, allocations: 483.3 kB / 0.8133 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02836/1.09, allocations: 16.12 MB / 0.8291 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.094, allocations: 362 kB / 0.8294 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/1.094, allocations: 87.97 kB / 0.8295 GB, free: 10.68 MB / 0.4948 GB 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.0006811/1.095, allocations: 247.1 kB / 0.8297 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02201/1.117, allocations: 7.232 MB / 0.8368 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/1.119, allocations: 300.3 kB / 0.8371 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/1.141, allocations: 7.379 MB / 0.8443 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-05/1.142, allocations: 24 kB / 0.8443 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.142, allocations: 15.94 kB / 0.8443 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001276/1.142, allocations: 11.95 kB / 0.8443 GB, free: 11.39 MB / 0.5105 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.02979/1.171, allocations: 11.15 MB / 0.8552 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.172, allocations: 3.938 kB / 0.8552 GB, free: 44 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/1.173, allocations: 247.7 kB / 0.8555 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/1.184, allocations: 3.23 MB / 0.8586 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007559/1.185, allocations: 19.98 kB / 0.8586 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03227/1.217, allocations: 16.99 MB / 0.8752 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.218, allocations: 4 kB / 0.8752 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/1.243, allocations: 9.083 MB / 0.8841 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.245, allocations: 448.7 kB / 0.8845 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007456/1.245, allocations: 8 kB / 0.8845 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.248, allocations: 243.8 kB / 0.8848 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/1.249, allocations: 382.1 kB / 0.8851 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.249, allocations: 63.98 kB / 0.8852 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002371/1.252, allocations: 1.391 MB / 0.8866 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/1.252, allocations: 0 / 0.8866 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003628/1.255, allocations: 0.8698 MB / 0.8874 GB, free: 14.46 MB / 0.5573 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.02482/1.28, allocations: 9.88 MB / 0.8971 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3362/1.617, allocations: 4.865 MB / 0.9018 GB, free: 154.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.617, allocations: 0.6562 kB / 0.9018 GB, free: 154.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01052/1.627, allocations: 3.386 MB / 0.9051 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.63, allocations: 212.2 kB / 0.9053 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.646, allocations: 4.689 MB / 0.9099 GB, free: 152.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/1.649, allocations: 1.841 MB / 0.9117 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001582/1.65, allocations: 224.8 kB / 0.9119 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/1.652, allocations: 1.177 MB / 0.9131 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of SimCode: time 3.387e-06/1.652, allocations: 0.5625 kB / 0.9131 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.778, allocations: 68.54 MB / 0.98 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.778, allocations: 136.7 kB / 0.9801 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.847/6.625, allocations: 4.031 kB / 0.9801 GB, free: 115.6 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)