Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",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.007534/0.007534, allocations: 172 kB / 15.11 MB, free: 5.969 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.414/1.414, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008862, allocations: 97.27 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5967/0.5967, allocations: 78.59 MB / 419.9 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000599/0.0005993, allocations: 12 kB / 499.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 69.35 MB / 0.5559 GB, free: 1.777 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.6756, allocations: 102.3 MB / 0.6558 GB, free: 15.89 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.6759, allocations: 76.75 kB / 0.6559 GB, free: 15.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1971/0.873, allocations: 71.38 MB / 0.7256 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.873, allocations: 0 / 0.7256 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000211/0.8733, allocations: 60.38 kB / 0.7256 GB, free: 8.641 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01223/0.8855, allocations: 4.044 MB / 0.7296 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.8856, allocations: 8.031 kB / 0.7296 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/0.8867, allocations: 265.5 kB / 0.7298 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.8944, allocations: 1.19 MB / 0.731 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/0.8995, allocations: 1.822 MB / 0.7328 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/0.9, allocations: 472.6 kB / 0.7332 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004313/0.9004, allocations: 183.9 kB / 0.7334 GB, free: 448 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004806/0.9052, allocations: 2.462 MB / 0.7358 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.9053, allocations: 4 kB / 0.7358 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.9055, allocations: 75.95 kB / 0.7359 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.9056, allocations: 44 kB / 0.7359 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.91, allocations: 2.306 MB / 0.7382 GB, free: 11.52 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01663/0.9266, allocations: 8.901 MB / 0.7469 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.9372, allocations: 4.926 MB / 0.7517 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.9376, allocations: 41.97 kB / 0.7517 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003807/0.9414, allocations: 1.845 MB / 0.7535 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 4.628e-06/0.9414, allocations: 0 / 0.7535 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.07289/1.014, allocations: 18.55 MB / 0.7716 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.014, allocations: 235.6 kB / 0.7719 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004568/1.019, allocations: 2.142 MB / 0.7739 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006924/1.02, allocations: 69.7 kB / 0.774 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000943/1.021, allocations: 1.146 MB / 0.7751 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.022, allocations: 0.8163 MB / 0.7759 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.022, allocations: 48 kB / 0.776 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.022, allocations: 402.8 kB / 0.7764 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/1.025, allocations: 1.36 MB / 0.7777 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.028, allocations: 1.622 MB / 0.7793 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/1.031, allocations: 1.644 MB / 0.7809 GB, free: 14.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.031, allocations: 4 kB / 0.7809 GB, free: 14.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02196/1.053, allocations: 7.671 MB / 0.7884 GB, free: 7.016 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/1.053, allocations: 171.9 kB / 0.7885 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.053, allocations: 4 kB / 0.7885 GB, free: 6.809 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/1.065, allocations: 3.327 MB / 0.7918 GB, free: 3.457 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/1.068, allocations: 467.4 kB / 0.7922 GB, free: 3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3816/1.449, allocations: 20.01 MB / 0.8118 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/1.454, allocations: 412.6 kB / 0.8122 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/1.454, allocations: 85.41 kB / 0.8122 GB, free: 118.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 224 * 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.00158/1.456, allocations: 0.5845 MB / 0.8128 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007242/1.456, allocations: 308.1 kB / 0.8131 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/1.482, allocations: 8.483 MB / 0.8214 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.482, allocations: 24.06 kB / 0.8214 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.482, allocations: 3.312 kB / 0.8214 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/1.482, allocations: 11.06 kB / 0.8214 GB, free: 118.1 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02971/1.512, allocations: 12.43 MB / 0.8336 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.512, allocations: 4.375 kB / 0.8336 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.514, allocations: 228.4 kB / 0.8338 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/1.529, allocations: 3.814 MB / 0.8375 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007248/1.529, allocations: 53.78 kB / 0.8376 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04401/1.573, allocations: 21.23 MB / 0.8583 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.573, allocations: 7.188 kB / 0.8583 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03074/1.604, allocations: 10.46 MB / 0.8685 GB, free: 104.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.606, allocations: 449.9 kB / 0.869 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008069/1.607, allocations: 54.83 kB / 0.869 GB, free: 104.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.609, allocations: 281.6 kB / 0.8693 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/1.611, allocations: 380.3 kB / 0.8696 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.611, allocations: 61.5 kB / 0.8697 GB, free: 104.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002686/1.613, allocations: 1.65 MB / 0.8713 GB, free: 103.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.613, allocations: 0 / 0.8713 GB, free: 103.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003774/1.617, allocations: 0.9483 MB / 0.8722 GB, free: 103.4 MB / 0.573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * 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.02694/1.644, allocations: 11.31 MB / 0.8833 GB, free: 99.58 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.657, allocations: 5.631 MB / 0.8888 GB, free: 97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.088e-06/1.657, allocations: 0 / 0.8888 GB, free: 97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00905/1.666, allocations: 3.829 MB / 0.8925 GB, free: 95.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.668, allocations: 258.7 kB / 0.8928 GB, free: 95.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.683, allocations: 11.01 MB / 0.9035 GB, free: 87.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.684, allocations: 1.83 MB / 0.9053 GB, free: 86.31 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00118/1.685, allocations: 226.3 kB / 0.9055 GB, free: 86.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.687, allocations: 1.16 MB / 0.9066 GB, free: 85.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.122e-06/1.687, allocations: 0 / 0.9066 GB, free: 85.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09744/1.784, allocations: 71.32 MB / 0.9763 GB, free: 29.88 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.784, allocations: 194.7 kB / 0.9765 GB, free: 29.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.891/6.676, allocations: 0 / 0.9765 GB, free: 29.64 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)