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: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008897/0.0008898, allocations: 173.5 kB / 7.642 MB, free: 1.414 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.21/1.21, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008253/0.0008253, allocations: 99.12 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.47/0.47, allocations: 78.06 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.194e-05, allocations: 4 kB / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 69.36 MB / 0.5413 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4904, allocations: 101.6 MB / 0.6405 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4907, allocations: 73.42 kB / 0.6406 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1767/0.6674, allocations: 70.47 MB / 0.7094 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6674, allocations: 0 / 0.7094 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001718/0.6676, allocations: 60.59 kB / 0.7094 GB, free: 7.246 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.008088/0.6757, allocations: 3.338 MB / 0.7127 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6757, allocations: 15.97 kB / 0.7127 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.6827, allocations: 1.181 MB / 0.7139 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.6861, allocations: 1.731 MB / 0.7156 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.6865, allocations: 408.5 kB / 0.7159 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.6868, allocations: 115.9 kB / 0.7161 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003295/0.6901, allocations: 1.866 MB / 0.7179 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/0.6935, allocations: 1.885 MB / 0.7197 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.6935, allocations: 0 / 0.7197 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.6937, allocations: 3.984 kB / 0.7197 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.6937, allocations: 51.95 kB / 0.7198 GB, free: 12.41 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.01462/0.7084, allocations: 8.591 MB / 0.7282 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008937/0.7173, allocations: 4.486 MB / 0.7325 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.7194, allocations: 1.237 MB / 0.7337 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.7196, allocations: 37.97 kB / 0.7338 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.7218, allocations: 1.468 MB / 0.7352 GB, free: 12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 4.098e-06/0.7218, allocations: 3.938 kB / 0.7352 GB, free: 12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.02153/0.7433, allocations: 7.118 MB / 0.7422 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7435, allocations: 239.7 kB / 0.7424 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.7466, allocations: 1.863 MB / 0.7442 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005478/0.7472, allocations: 25.7 kB / 0.7442 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008766/0.7481, allocations: 1.15 MB / 0.7454 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009519/0.749, allocations: 0.7851 MB / 0.7461 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.7492, allocations: 0 / 0.7461 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7493, allocations: 395.5 kB / 0.7465 GB, free: 320 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.751, allocations: 1.009 MB / 0.7475 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.7527, allocations: 1.267 MB / 0.7487 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.7545, allocations: 1.135 MB / 0.7498 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.7546, allocations: 0 / 0.7498 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0183/0.7729, allocations: 6.416 MB / 0.7561 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.773, allocations: 178.8 kB / 0.7563 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.773, allocations: 4 kB / 0.7563 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.7831, allocations: 2.695 MB / 0.7589 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.7857, allocations: 471.3 kB / 0.7594 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3015/1.087, allocations: 16.1 MB / 0.7751 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.091, allocations: 361.4 kB / 0.7754 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/1.092, allocations: 83.81 kB / 0.7755 GB, free: 113.1 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.0005818/1.092, allocations: 253.8 kB / 0.7758 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/1.093, allocations: 298.4 kB / 0.776 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/1.112, allocations: 7.296 MB / 0.7832 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.112, allocations: 23.53 kB / 0.7832 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.112, allocations: 6.797 kB / 0.7832 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.113, allocations: 13.97 kB / 0.7832 GB, free: 112.5 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.02689/1.139, allocations: 11.05 MB / 0.794 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/1.139, allocations: 1.938 kB / 0.794 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.141, allocations: 233.2 kB / 0.7942 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/1.152, allocations: 3.228 MB / 0.7974 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005324/1.153, allocations: 20.7 kB / 0.7974 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.182, allocations: 16.99 MB / 0.814 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.182, allocations: 4.906 kB / 0.814 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.206, allocations: 8.995 MB / 0.8228 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.208, allocations: 442.5 kB / 0.8232 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006376/1.208, allocations: 15.44 kB / 0.8232 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/1.211, allocations: 237.8 kB / 0.8234 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/1.212, allocations: 373.2 kB / 0.8238 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.212, allocations: 72.47 kB / 0.8239 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001764/1.214, allocations: 1.38 MB / 0.8252 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.214, allocations: 0 / 0.8252 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002534/1.216, allocations: 0.8562 MB / 0.826 GB, free: 101.7 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.0003226/1.217, allocations: 157.6 kB / 0.8262 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008334/1.225, allocations: 4.797 MB / 0.8309 GB, free: 99.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.225, allocations: 0 / 0.8309 GB, free: 99.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/1.232, allocations: 3.359 MB / 0.8342 GB, free: 97.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.234, allocations: 205 kB / 0.8344 GB, free: 97.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/1.242, allocations: 4.248 MB / 0.8385 GB, free: 95.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.243, allocations: 1.834 MB / 0.8403 GB, free: 94.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001026/1.244, allocations: 218.9 kB / 0.8405 GB, free: 94.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/1.244, allocations: 135.1 kB / 0.8406 GB, free: 94.67 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/1.244, allocations: 0 / 0.8406 GB, free: 94.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.06006/1.305, allocations: 44.34 MB / 0.8839 GB, free: 81.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)