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.001654/0.001654, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008346/0.0008347, allocations: 88.64 kB / 261.4 MB, free: 13.45 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.06782/0.06782, allocations: 12.59 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2899/0.2899, allocations: 78.06 MB / 450.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.28e-05, allocations: 0 / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 69.33 MB / 0.5824 GB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4698, allocations: 103.2 MB / 0.6832 GB, free: 4.816 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4701, allocations: 76.27 kB / 0.6833 GB, free: 4.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/0.6512, allocations: 68.62 MB / 0.7503 GB, free: 10.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6513, allocations: 0 / 0.7503 GB, free: 10.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.6515, allocations: 59.94 kB / 0.7504 GB, free: 10.71 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.009366/0.6609, allocations: 3.341 MB / 0.7536 GB, free: 7.281 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.661, allocations: 16.03 kB / 0.7536 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.6682, allocations: 1.171 MB / 0.7548 GB, free: 6.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/0.672, allocations: 1.73 MB / 0.7565 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/0.6725, allocations: 404.6 kB / 0.7569 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/0.673, allocations: 119.9 kB / 0.757 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003629/0.6766, allocations: 1.87 MB / 0.7588 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/0.6803, allocations: 1.889 MB / 0.7606 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.6803, allocations: 0 / 0.7606 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.6805, allocations: 7.938 kB / 0.7606 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.6806, allocations: 40 kB / 0.7607 GB, free: 15.89 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.0154/0.696, allocations: 8.597 MB / 0.7691 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.7055, allocations: 4.485 MB / 0.7735 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.7073, allocations: 1.245 MB / 0.7747 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.7075, allocations: 45.91 kB / 0.7747 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002295/0.7098, allocations: 1.462 MB / 0.7761 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 5.059e-06/0.7099, allocations: 0 / 0.7761 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.02202/0.7319, allocations: 7.111 MB / 0.7831 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.732, allocations: 239.7 kB / 0.7833 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.7359, allocations: 1.863 MB / 0.7851 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.7363, allocations: 29.69 kB / 0.7852 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009484/0.7373, allocations: 1.15 MB / 0.7863 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.7383, allocations: 0.7889 MB / 0.7871 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.7385, allocations: 4 kB / 0.7871 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.7387, allocations: 394.9 kB / 0.7874 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.7406, allocations: 1.009 MB / 0.7884 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.7426, allocations: 1.255 MB / 0.7897 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.7446, allocations: 1.138 MB / 0.7908 GB, free: 264 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7446, allocations: 0 / 0.7908 GB, free: 264 kB / 0.5105 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01878/0.7634, allocations: 6.408 MB / 0.797 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.7635, allocations: 174.8 kB / 0.7972 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7635, allocations: 8 kB / 0.7972 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.7737, allocations: 2.707 MB / 0.7998 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.7761, allocations: 475.3 kB / 0.8003 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/0.803, allocations: 16.11 MB / 0.816 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.8066, allocations: 350 kB / 0.8164 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/0.807, allocations: 87.97 kB / 0.8164 GB, free: 5.223 MB / 0.5417 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.0007374/0.8078, allocations: 251.3 kB / 0.8167 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/0.8086, allocations: 296.3 kB / 0.817 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02167/0.8302, allocations: 7.301 MB / 0.8241 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.8303, allocations: 31.94 kB / 0.8241 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8303, allocations: 0 / 0.8241 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/0.8304, allocations: 16.05 kB / 0.8241 GB, free: 13.27 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.02719/0.8576, allocations: 11.05 MB / 0.8349 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.8576, allocations: 4 kB / 0.8349 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.8591, allocations: 231.7 kB / 0.8352 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/0.8698, allocations: 3.223 MB / 0.8383 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/0.8702, allocations: 23.98 kB / 0.8383 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03079/0.901, allocations: 17 MB / 0.8549 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.901, allocations: 0 / 0.8549 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/0.9263, allocations: 8.989 MB / 0.8637 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/0.9273, allocations: 440.8 kB / 0.8641 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000674/0.928, allocations: 11.98 kB / 0.8641 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/0.9308, allocations: 239.8 kB / 0.8644 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/0.9319, allocations: 378.1 kB / 0.8647 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/0.9321, allocations: 63.98 kB / 0.8648 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002413/0.9345, allocations: 1.383 MB / 0.8661 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9345, allocations: 4 kB / 0.8661 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00355/0.9381, allocations: 0.8542 MB / 0.867 GB, free: 0.5898 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.0004068/0.9385, allocations: 153.2 kB / 0.8671 GB, free: 436 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2535/1.192, allocations: 4.797 MB / 0.8718 GB, free: 168.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.192, allocations: 3.812 kB / 0.8718 GB, free: 168.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007516/1.2, allocations: 3.351 MB / 0.8751 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.201, allocations: 208.2 kB / 0.8753 GB, free: 167.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/1.208, allocations: 4.233 MB / 0.8794 GB, free: 166.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.21, allocations: 1.838 MB / 0.8812 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009737/1.211, allocations: 217.5 kB / 0.8814 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/1.211, allocations: 140.2 kB / 0.8816 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/1.211, allocations: 0 / 0.8816 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.06003/1.271, allocations: 44.34 MB / 0.9249 GB, free: 163.1 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)