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.001338/0.001338, 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.445/1.445, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007991/0.000799, allocations: 95.2 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4353/0.4353, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.309e-05, allocations: 3.984 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.315, allocations: 69.34 MB / 0.5481 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4352, allocations: 102.3 MB / 0.6479 GB, free: 14.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4354, allocations: 71.97 kB / 0.648 GB, free: 14.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4568/0.8922, allocations: 71.27 MB / 0.7176 GB, free: 91.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.8922, allocations: 0 / 0.7176 GB, free: 91.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002546/0.8925, allocations: 56 kB / 0.7177 GB, free: 91.01 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.008855/0.9014, allocations: 3.348 MB / 0.7209 GB, free: 87.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9014, allocations: 15.97 kB / 0.721 GB, free: 87.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007457/0.9022, allocations: 263.6 kB / 0.7212 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006976/0.9092, allocations: 1.174 MB / 0.7224 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.913, allocations: 1.741 MB / 0.7241 GB, free: 84.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.9134, allocations: 468.6 kB / 0.7245 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/0.914, allocations: 195.8 kB / 0.7247 GB, free: 83.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.9183, allocations: 2.142 MB / 0.7268 GB, free: 81.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.9183, allocations: 0 / 0.7268 GB, free: 81.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.9186, allocations: 72 kB / 0.7268 GB, free: 81.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.9187, allocations: 44 kB / 0.7269 GB, free: 81.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.9221, allocations: 1.963 MB / 0.7288 GB, free: 79.35 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.0151/0.9372, allocations: 8.898 MB / 0.7375 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/0.9458, allocations: 4.579 MB / 0.742 GB, free: 65.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.9477, allocations: 1.308 MB / 0.7432 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.9479, allocations: 37.97 kB / 0.7433 GB, free: 63.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/0.9503, allocations: 1.544 MB / 0.7448 GB, free: 62.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 5.891e-06/0.9503, allocations: 0 / 0.7448 GB, free: 62.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02021/0.9705, allocations: 7.373 MB / 0.752 GB, free: 54.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.9706, allocations: 239.6 kB / 0.7522 GB, free: 54.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.9739, allocations: 2.033 MB / 0.7542 GB, free: 52.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.9742, allocations: 69.7 kB / 0.7543 GB, free: 52.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/0.975, allocations: 1.146 MB / 0.7554 GB, free: 51.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.9757, allocations: 0.8201 MB / 0.7562 GB, free: 50.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.9759, allocations: 52 kB / 0.7562 GB, free: 50.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9761, allocations: 399 kB / 0.7566 GB, free: 50.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.9777, allocations: 1.055 MB / 0.7576 GB, free: 49.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.9795, allocations: 1.318 MB / 0.7589 GB, free: 47.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.9814, allocations: 1.344 MB / 0.7602 GB, free: 46.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.9815, allocations: 0 / 0.7602 GB, free: 46.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01712/0.9986, allocations: 6.785 MB / 0.7669 GB, free: 39.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.9987, allocations: 178.1 kB / 0.767 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.9987, allocations: 11.94 kB / 0.7671 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009551/1.008, allocations: 2.797 MB / 0.7698 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/1.011, allocations: 475.3 kB / 0.7702 GB, free: 35.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/1.035, allocations: 16.66 MB / 0.7865 GB, free: 18.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/1.039, allocations: 405.9 kB / 0.7869 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/1.04, allocations: 83.97 kB / 0.787 GB, free: 18 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 (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.0008401/1.04, allocations: 337.8 kB / 0.7873 GB, free: 17.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009278/1.041, allocations: 300.2 kB / 0.7876 GB, free: 17.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/1.062, allocations: 7.615 MB / 0.795 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/1.062, allocations: 24 kB / 0.795 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.062, allocations: 7.984 kB / 0.7951 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/1.062, allocations: 19.89 kB / 0.7951 GB, free: 9.633 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.02669/1.089, allocations: 11.56 MB / 0.8064 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/1.089, allocations: 7.922 kB / 0.8064 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.091, allocations: 227.7 kB / 0.8066 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/1.102, allocations: 3.262 MB / 0.8098 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000628/1.102, allocations: 55.98 kB / 0.8098 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03355/1.136, allocations: 17.37 MB / 0.8268 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.136, allocations: 3.953 kB / 0.8268 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/1.163, allocations: 9.296 MB / 0.8359 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.164, allocations: 452.6 kB / 0.8363 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/1.165, allocations: 44 kB / 0.8363 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.167, allocations: 279.8 kB / 0.8366 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/1.169, allocations: 378.1 kB / 0.837 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/1.169, allocations: 67.97 kB / 0.837 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002536/1.171, allocations: 1.541 MB / 0.8385 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/1.172, allocations: 8 kB / 0.8386 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003526/1.175, allocations: 0.9481 MB / 0.8395 GB, free: 11.22 MB / 0.5261 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 (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.02673/1.202, allocations: 10.13 MB / 0.8494 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.213, allocations: 4.996 MB / 0.8542 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.213, allocations: 0 / 0.8542 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009095/1.223, allocations: 3.478 MB / 0.8576 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/1.225, allocations: 246.9 kB / 0.8579 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.238, allocations: 4.854 MB / 0.8626 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.24, allocations: 1.838 MB / 0.8644 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001262/1.241, allocations: 215.7 kB / 0.8646 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.243, allocations: 1.163 MB / 0.8658 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/1.243, allocations: 0 / 0.8658 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4011/1.644, allocations: 72.43 MB / 0.9365 GB, free: 165.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.644, allocations: 176.2 kB / 0.9367 GB, free: 165.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.719/6.363, allocations: 0 / 0.9367 GB, free: 165.1 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)