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.0009845/0.0009846, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 92.08 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4753/0.4753, allocations: 78.07 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.433e-05/1.434e-05, allocations: 3.938 kB / 485 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 69.36 MB / 0.5414 GB, free: 6.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.5054, allocations: 101.6 MB / 0.6406 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5057, allocations: 68.66 kB / 0.6407 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1808/0.6865, allocations: 70.48 MB / 0.7095 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6865, allocations: 4 kB / 0.7095 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000196/0.6867, allocations: 57.59 kB / 0.7095 GB, free: 7.055 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.009484/0.6962, allocations: 3.335 MB / 0.7128 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6963, allocations: 12.03 kB / 0.7128 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007759/0.704, allocations: 1.178 MB / 0.714 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.7081, allocations: 1.737 MB / 0.7157 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004331/0.7085, allocations: 400.6 kB / 0.716 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.709, allocations: 119.9 kB / 0.7162 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003531/0.7125, allocations: 1.862 MB / 0.718 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/0.716, allocations: 1.889 MB / 0.7198 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.716, allocations: 0 / 0.7198 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.7162, allocations: 3.938 kB / 0.7198 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.7162, allocations: 47.95 kB / 0.7199 GB, free: 12.23 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01613/0.7324, allocations: 8.599 MB / 0.7283 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009374/0.7418, allocations: 4.482 MB / 0.7326 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.744, allocations: 1.241 MB / 0.7339 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.7442, allocations: 37.95 kB / 0.7339 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002333/0.7466, allocations: 1.475 MB / 0.7353 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 4.329e-06/0.7466, allocations: 1.219 kB / 0.7353 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.0217/0.7683, allocations: 7.111 MB / 0.7423 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.7685, allocations: 243.5 kB / 0.7425 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.7716, allocations: 1.855 MB / 0.7443 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006061/0.7723, allocations: 33.7 kB / 0.7443 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/0.7731, allocations: 1.15 MB / 0.7455 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.7743, allocations: 0.7812 MB / 0.7462 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.7744, allocations: 0 / 0.7462 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7746, allocations: 402.9 kB / 0.7466 GB, free: 120 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.7763, allocations: 1.009 MB / 0.7476 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.7781, allocations: 1.259 MB / 0.7488 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.7799, allocations: 1.138 MB / 0.7499 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.7799, allocations: 0 / 0.7499 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01789/0.7978, allocations: 6.413 MB / 0.7562 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.798, allocations: 174.2 kB / 0.7564 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.798, allocations: 4 kB / 0.7564 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009876/0.8079, allocations: 2.71 MB / 0.759 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.8105, allocations: 467.4 kB / 0.7595 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/1.129, allocations: 16.1 MB / 0.7752 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.133, allocations: 357.8 kB / 0.7755 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007296/1.134, allocations: 87.14 kB / 0.7756 GB, free: 113 MB / 0.5573 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 (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.001126/1.135, allocations: 254.6 kB / 0.7759 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0227/1.158, allocations: 7.134 MB / 0.7828 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/1.16, allocations: 292.6 kB / 0.7831 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/1.184, allocations: 7.3 MB / 0.7902 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/1.184, allocations: 25.33 kB / 0.7903 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.184, allocations: 1.125 kB / 0.7903 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/1.184, allocations: 16.12 kB / 0.7903 GB, free: 112.1 MB / 0.5573 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.03143/1.216, allocations: 11.05 MB / 0.8011 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/1.216, allocations: 2.125 kB / 0.8011 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.218, allocations: 235.1 kB / 0.8013 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01207/1.23, allocations: 3.221 MB / 0.8044 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000744/1.23, allocations: 31.28 kB / 0.8045 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03491/1.265, allocations: 16.99 MB / 0.8211 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.265, allocations: 3.344 kB / 0.8211 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/1.291, allocations: 8.995 MB / 0.8298 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.292, allocations: 437.1 kB / 0.8303 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/1.293, allocations: 9.406 kB / 0.8303 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/1.297, allocations: 242.9 kB / 0.8305 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/1.298, allocations: 377.5 kB / 0.8309 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.299, allocations: 65.81 kB / 0.8309 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002188/1.301, allocations: 1.381 MB / 0.8323 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.2e-07/1.301, allocations: 0 / 0.8323 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004066/1.305, allocations: 0.854 MB / 0.8331 GB, free: 100.1 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 (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.02331/1.328, allocations: 9.802 MB / 0.8427 GB, free: 96.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009665/1.338, allocations: 4.794 MB / 0.8474 GB, free: 94.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.338, allocations: 0 / 0.8474 GB, free: 94.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007991/1.346, allocations: 3.358 MB / 0.8506 GB, free: 92.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.348, allocations: 217.3 kB / 0.8508 GB, free: 92.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/1.358, allocations: 4.647 MB / 0.8554 GB, free: 90.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.359, allocations: 1.83 MB / 0.8572 GB, free: 89.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009816/1.36, allocations: 220.9 kB / 0.8574 GB, free: 89.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/1.361, allocations: 1.162 MB / 0.8585 GB, free: 88.59 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/1.361, allocations: 0 / 0.8585 GB, free: 88.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.465, allocations: 67.96 MB / 0.9249 GB, free: 39.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/1.465, allocations: 112.8 kB / 0.925 GB, free: 39.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/5.963, allocations: 1.406 kB / 0.925 GB, free: 39.13 MB / 0.5573 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)