Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_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.001095/0.001095, allocations: 174.6 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.153/1.153, 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.0008702/0.0008703, allocations: 84.95 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4191/0.4191, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.72e-05, allocations: 0 / 491.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 69.35 MB / 0.548 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.3998, allocations: 102.3 MB / 0.6479 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.4, allocations: 75.97 kB / 0.648 GB, free: 14.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4252/0.8252, allocations: 71.27 MB / 0.7176 GB, free: 90.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.8252, allocations: 4 kB / 0.7176 GB, free: 90.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001585/0.8254, allocations: 52.22 kB / 0.7176 GB, free: 90.8 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.006604/0.832, allocations: 3.355 MB / 0.7209 GB, free: 87.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.8321, allocations: 11.97 kB / 0.7209 GB, free: 87.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002778/0.8324, allocations: 263.6 kB / 0.7212 GB, free: 87.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.8384, allocations: 1.182 MB / 0.7223 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.8409, allocations: 1.726 MB / 0.724 GB, free: 84.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.8412, allocations: 480.4 kB / 0.7245 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.8415, allocations: 183.9 kB / 0.7246 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.8445, allocations: 2.146 MB / 0.7267 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.8445, allocations: 0 / 0.7267 GB, free: 81.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.8447, allocations: 76 kB / 0.7268 GB, free: 81.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.8447, allocations: 44 kB / 0.7269 GB, free: 81.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.8475, allocations: 1.963 MB / 0.7288 GB, free: 79.14 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.01116/0.8586, allocations: 8.91 MB / 0.7375 GB, free: 69.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007966/0.8666, allocations: 4.571 MB / 0.7419 GB, free: 65.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.8682, allocations: 1.311 MB / 0.7432 GB, free: 63.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.8683, allocations: 41.91 kB / 0.7433 GB, free: 63.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.8703, allocations: 1.542 MB / 0.7448 GB, free: 62.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.998e-06/0.8703, allocations: 0 / 0.7448 GB, free: 62.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.01905/0.8893, allocations: 7.377 MB / 0.752 GB, free: 54.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.8894, allocations: 231.6 kB / 0.7522 GB, free: 54.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.8919, allocations: 2.033 MB / 0.7542 GB, free: 52.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002843/0.8922, allocations: 65.7 kB / 0.7542 GB, free: 52.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/0.8928, allocations: 1.162 MB / 0.7554 GB, free: 51.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/0.8935, allocations: 0.8201 MB / 0.7562 GB, free: 50.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.8936, allocations: 48 kB / 0.7562 GB, free: 50.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8938, allocations: 394.9 kB / 0.7566 GB, free: 49.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.8954, allocations: 1.059 MB / 0.7576 GB, free: 48.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.8972, allocations: 1.314 MB / 0.7589 GB, free: 47.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.899, allocations: 1.34 MB / 0.7602 GB, free: 46.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.899, allocations: 0 / 0.7602 GB, free: 46.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01645/0.9155, allocations: 6.797 MB / 0.7669 GB, free: 39.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.9156, allocations: 170.8 kB / 0.767 GB, free: 38.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9156, allocations: 7.984 kB / 0.767 GB, free: 38.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008994/0.9246, allocations: 2.797 MB / 0.7698 GB, free: 36.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.9268, allocations: 471.4 kB / 0.7702 GB, free: 35.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.9495, allocations: 16.66 MB / 0.7865 GB, free: 18.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.9529, allocations: 402 kB / 0.7869 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.9531, allocations: 91.97 kB / 0.7869 GB, free: 17.8 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.000502/0.9537, allocations: 343.6 kB / 0.7873 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.954, allocations: 300.2 kB / 0.7876 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/0.9733, allocations: 7.615 MB / 0.795 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.9734, allocations: 24 kB / 0.795 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9734, allocations: 0 / 0.795 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-05/0.9735, allocations: 15.95 kB / 0.795 GB, free: 9.438 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.02395/0.9974, allocations: 11.56 MB / 0.8063 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.9975, allocations: 0 / 0.8063 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.9988, allocations: 227.7 kB / 0.8065 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/1.009, allocations: 3.27 MB / 0.8097 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003064/1.009, allocations: 51.98 kB / 0.8098 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02952/1.039, allocations: 17.37 MB / 0.8268 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.039, allocations: 11.94 kB / 0.8268 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02398/1.063, allocations: 9.292 MB / 0.8358 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.064, allocations: 452.6 kB / 0.8363 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.065, allocations: 48 kB / 0.8363 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.067, allocations: 279.8 kB / 0.8366 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/1.068, allocations: 378.1 kB / 0.8369 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/1.068, allocations: 63.98 kB / 0.837 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003499/1.072, allocations: 1.548 MB / 0.8385 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.072, allocations: 0 / 0.8385 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004092/1.076, allocations: 0.952 MB / 0.8394 GB, free: 11.02 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.02584/1.102, allocations: 10.14 MB / 0.8493 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.112, allocations: 4.988 MB / 0.8542 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.112, allocations: 0 / 0.8542 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007976/1.12, allocations: 3.482 MB / 0.8576 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/1.122, allocations: 251.9 kB / 0.8579 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008994/1.131, allocations: 4.847 MB / 0.8626 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.132, allocations: 1.838 MB / 0.8644 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009361/1.133, allocations: 223.7 kB / 0.8646 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.135, allocations: 1.152 MB / 0.8657 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/1.135, allocations: 4 kB / 0.8657 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3638/1.498, allocations: 72.42 MB / 0.9364 GB, free: 165.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.499, allocations: 168.2 kB / 0.9366 GB, free: 165.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/5.805, allocations: 0 / 0.9366 GB, free: 165.6 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)