Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000965/0.0009649, 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 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008767/0.0008768, allocations: 86.75 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06411/0.06411, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2781/0.2781, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.785e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 69.33 MB / 0.5895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4807, allocations: 103.9 MB / 0.6909 GB, free: 11.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4809, allocations: 78.3 kB / 0.691 GB, free: 11.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1853/0.6662, allocations: 69.42 MB / 0.7588 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6663, allocations: 0 / 0.7588 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000233/0.6665, allocations: 56 kB / 0.7589 GB, free: 0.5312 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.009744/0.6763, allocations: 3.337 MB / 0.7621 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6764, allocations: 15.98 kB / 0.7621 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007658/0.684, allocations: 1.178 MB / 0.7633 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.6882, allocations: 1.737 MB / 0.765 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005085/0.6887, allocations: 472.5 kB / 0.7654 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006246/0.6894, allocations: 187.9 kB / 0.7656 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004381/0.6938, allocations: 2.134 MB / 0.7677 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.6938, allocations: 8 kB / 0.7677 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.6941, allocations: 71.98 kB / 0.7678 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.6941, allocations: 44 kB / 0.7678 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/0.6978, allocations: 1.959 MB / 0.7697 GB, free: 5.148 MB / 0.4948 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.01668/0.7145, allocations: 8.913 MB / 0.7784 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.7246, allocations: 4.582 MB / 0.7829 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.7271, allocations: 1.308 MB / 0.7842 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.7274, allocations: 41.95 kB / 0.7842 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002748/0.7302, allocations: 1.536 MB / 0.7857 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 4.819e-06/0.7302, allocations: 3.938 kB / 0.7857 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.02275/0.7529, allocations: 7.369 MB / 0.7929 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.7531, allocations: 243.7 kB / 0.7932 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.7569, allocations: 2.033 MB / 0.7951 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005687/0.7575, allocations: 69.69 kB / 0.7952 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.7585, allocations: 1.142 MB / 0.7963 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009686/0.7594, allocations: 0.824 MB / 0.7971 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.7596, allocations: 48 kB / 0.7972 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7598, allocations: 398.9 kB / 0.7976 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.7617, allocations: 1.052 MB / 0.7986 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.7637, allocations: 1.326 MB / 0.7999 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.7658, allocations: 1.34 MB / 0.8012 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.7658, allocations: 4 kB / 0.8012 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01938/0.7852, allocations: 6.789 MB / 0.8078 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.7854, allocations: 174.2 kB / 0.808 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7854, allocations: 4 kB / 0.808 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.7961, allocations: 2.797 MB / 0.8107 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.7987, allocations: 467.4 kB / 0.8112 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/0.8274, allocations: 16.65 MB / 0.8274 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.8312, allocations: 409.8 kB / 0.8278 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/0.8316, allocations: 95.84 kB / 0.8279 GB, free: 7.801 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.0006311/0.8323, allocations: 338.4 kB / 0.8282 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006432/0.8329, allocations: 300.3 kB / 0.8285 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/0.8554, allocations: 7.607 MB / 0.8359 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.8554, allocations: 24 kB / 0.836 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8554, allocations: 0 / 0.836 GB, free: 15.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/0.8555, allocations: 15.95 kB / 0.836 GB, free: 15.45 MB / 0.573 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.02829/0.8838, allocations: 11.56 MB / 0.8473 GB, free: 3.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/0.8839, allocations: 4.094 kB / 0.8473 GB, free: 3.656 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.8855, allocations: 231.6 kB / 0.8475 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/0.8966, allocations: 3.269 MB / 0.8507 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/0.8973, allocations: 55.98 kB / 0.8507 GB, free: 92 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3033/1.201, allocations: 17.36 MB / 0.8677 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.201, allocations: 2.562 kB / 0.8677 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.226, allocations: 9.296 MB / 0.8768 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.227, allocations: 448.6 kB / 0.8772 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/1.227, allocations: 44.91 kB / 0.8772 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.23, allocations: 279.9 kB / 0.8775 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/1.231, allocations: 377 kB / 0.8779 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.232, allocations: 65.34 kB / 0.8779 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0023/1.234, allocations: 1.546 MB / 0.8794 GB, free: 159 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 4.719 kB / 0.8795 GB, free: 159 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00293/1.237, allocations: 0.9592 MB / 0.8804 GB, free: 159 MB / 0.5886 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.0004142/1.237, allocations: 201.4 kB / 0.8806 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.248, allocations: 4.975 MB / 0.8854 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.248, allocations: 1.5 kB / 0.8854 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/1.258, allocations: 3.481 MB / 0.8888 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.261, allocations: 251.1 kB / 0.8891 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/1.27, allocations: 4.365 MB / 0.8933 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/1.272, allocations: 1.84 MB / 0.8951 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001237/1.273, allocations: 216 kB / 0.8953 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/1.274, allocations: 144.7 kB / 0.8955 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/1.274, allocations: 0 / 0.8955 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.06236/1.336, allocations: 48.19 MB / 0.9425 GB, free: 145.5 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)