Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_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.0009255/0.0009255, allocations: 169 kB / 12.72 MB, free: 2.586 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.144/1.144, 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.0008594/0.0008594, allocations: 97.19 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4422/0.4422, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.502e-05, allocations: 0 / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 69.51 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3884, allocations: 103 MB / 0.6498 GB, free: 12.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.3886, allocations: 67.97 kB / 0.6499 GB, free: 12.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4377/0.8263, allocations: 72.98 MB / 0.7212 GB, free: 86.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.8263, allocations: 0 / 0.7212 GB, free: 86.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002484/0.8266, allocations: 67.81 kB / 0.7212 GB, free: 86.89 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.008115/0.8347, allocations: 3.34 MB / 0.7245 GB, free: 83.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8348, allocations: 11.97 kB / 0.7245 GB, free: 83.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000637/0.8354, allocations: 263.6 kB / 0.7248 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006457/0.8419, allocations: 1.178 MB / 0.7259 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.8452, allocations: 1.73 MB / 0.7276 GB, free: 80.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.8455, allocations: 476.5 kB / 0.728 GB, free: 79.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.846, allocations: 183.9 kB / 0.7282 GB, free: 79.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.8496, allocations: 2.138 MB / 0.7303 GB, free: 77.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.8496, allocations: 0 / 0.7303 GB, free: 77.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.8499, allocations: 80 kB / 0.7304 GB, free: 77.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.8499, allocations: 47.98 kB / 0.7304 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.8528, allocations: 1.955 MB / 0.7323 GB, free: 75.25 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.01215/0.8649, allocations: 8.976 MB / 0.7411 GB, free: 65.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/0.8728, allocations: 4.566 MB / 0.7456 GB, free: 61.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.8744, allocations: 1.315 MB / 0.7469 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.8746, allocations: 37.95 kB / 0.7469 GB, free: 59.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/0.8765, allocations: 1.542 MB / 0.7484 GB, free: 58.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 4.429e-06/0.8765, allocations: 0 / 0.7484 GB, free: 58.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.01864/0.8952, allocations: 7.342 MB / 0.7556 GB, free: 50.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.8953, allocations: 243.5 kB / 0.7558 GB, free: 50.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.8977, allocations: 2.034 MB / 0.7578 GB, free: 48.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.8979, allocations: 65.7 kB / 0.7578 GB, free: 48.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.8984, allocations: 1.146 MB / 0.759 GB, free: 47.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.899, allocations: 0.824 MB / 0.7598 GB, free: 46.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.8992, allocations: 44 kB / 0.7598 GB, free: 46.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.8992, allocations: 402.9 kB / 0.7602 GB, free: 45.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.9007, allocations: 1.051 MB / 0.7612 GB, free: 44.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.9023, allocations: 1.314 MB / 0.7625 GB, free: 43.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.904, allocations: 1.344 MB / 0.7638 GB, free: 42.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.904, allocations: 0 / 0.7638 GB, free: 42.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0159/0.9199, allocations: 6.789 MB / 0.7704 GB, free: 35.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.92, allocations: 170.2 kB / 0.7706 GB, free: 35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.92, allocations: 8.562 kB / 0.7706 GB, free: 35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008818/0.9288, allocations: 2.797 MB / 0.7734 GB, free: 32.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.931, allocations: 475.4 kB / 0.7738 GB, free: 31.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.9532, allocations: 16.65 MB / 0.7901 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.9566, allocations: 413.9 kB / 0.7905 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.9568, allocations: 87.97 kB / 0.7905 GB, free: 13.88 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.0005202/0.9573, allocations: 340 kB / 0.7909 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/0.9577, allocations: 300.2 kB / 0.7912 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/0.9769, allocations: 7.685 MB / 0.7987 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.977, allocations: 24 kB / 0.7987 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.977, allocations: 4 kB / 0.7987 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.977, allocations: 19.94 kB / 0.7987 GB, free: 5.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.02397/1.001, allocations: 11.53 MB / 0.81 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.001, allocations: 0 / 0.81 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.002, allocations: 235.8 kB / 0.8102 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.012, allocations: 3.269 MB / 0.8134 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/1.013, allocations: 51.98 kB / 0.8134 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/1.043, allocations: 17.37 MB / 0.8304 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.043, allocations: 7.953 kB / 0.8304 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/1.067, allocations: 9.262 MB / 0.8394 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.068, allocations: 444.8 kB / 0.8399 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004786/1.068, allocations: 55.98 kB / 0.8399 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.071, allocations: 279.8 kB / 0.8402 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/1.072, allocations: 378.1 kB / 0.8406 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.072, allocations: 63.98 kB / 0.8406 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002192/1.074, allocations: 1.548 MB / 0.8421 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.074, allocations: 0 / 0.8421 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002729/1.077, allocations: 0.9559 MB / 0.8431 GB, free: 7.082 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.02403/1.101, allocations: 10.09 MB / 0.8529 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.111, allocations: 4.992 MB / 0.8578 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.112, allocations: 0 / 0.8578 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007825/1.119, allocations: 3.47 MB / 0.8612 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.121, allocations: 262.5 kB / 0.8614 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008909/1.13, allocations: 4.847 MB / 0.8662 GB, free: 15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.132, allocations: 1.841 MB / 0.868 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000951/1.133, allocations: 219.7 kB / 0.8682 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.134, allocations: 1.155 MB / 0.8693 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/1.134, allocations: 0 / 0.8693 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.514, allocations: 72.44 MB / 0.94 GB, free: 158.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/1.515, allocations: 171.4 kB / 0.9402 GB, free: 158.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/5.827, allocations: 0 / 0.9402 GB, free: 158.6 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)