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: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004523/0.004523, allocations: 172.1 kB / 15.11 MB, free: 5.969 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.157/1.157, allocations: 223.2 MB / 239 MB, free: 28 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 95.5 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4111/0.4111, allocations: 79.43 MB / 420.8 MB, free: 36.42 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 11.98 kB / 0.489 GB, free: 6.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 69.51 MB / 0.5569 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.4142, allocations: 103.1 MB / 0.6576 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.4144, allocations: 75.97 kB / 0.6577 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1752/0.5896, allocations: 73.08 MB / 0.729 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5896, allocations: 0 / 0.729 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001989/0.5898, allocations: 57.75 kB / 0.7291 GB, free: 4.637 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.01009/0.5999, allocations: 4.047 MB / 0.7331 GB, free: 500 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6, allocations: 12.03 kB / 0.7331 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/0.6065, allocations: 1.186 MB / 0.7342 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.6103, allocations: 1.823 MB / 0.736 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/0.6107, allocations: 468.6 kB / 0.7364 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.6111, allocations: 187.9 kB / 0.7366 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.6153, allocations: 2.458 MB / 0.739 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.6154, allocations: 3.984 kB / 0.739 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.6156, allocations: 72 kB / 0.7391 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.6156, allocations: 50.2 kB / 0.7391 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.6197, allocations: 2.31 MB / 0.7414 GB, free: 7.777 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01438/0.6341, allocations: 8.967 MB / 0.7502 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009809/0.6439, allocations: 4.92 MB / 0.755 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.6441, allocations: 37.97 kB / 0.755 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003079/0.6472, allocations: 1.837 MB / 0.7568 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 3.807e-06/0.6472, allocations: 0 / 0.7568 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.06722/0.7144, allocations: 18.41 MB / 0.7748 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7146, allocations: 239.6 kB / 0.775 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.7186, allocations: 2.142 MB / 0.7771 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004514/0.7191, allocations: 69.7 kB / 0.7772 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/0.7199, allocations: 1.15 MB / 0.7783 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/0.7206, allocations: 0.8123 MB / 0.7791 GB, free: 380 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.7208, allocations: 48 kB / 0.7791 GB, free: 332 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7209, allocations: 402.8 kB / 0.7795 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/0.7235, allocations: 1.36 MB / 0.7808 GB, free: 14.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.7261, allocations: 1.626 MB / 0.7824 GB, free: 12.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.7288, allocations: 1.645 MB / 0.784 GB, free: 11.15 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7288, allocations: 4 kB / 0.784 GB, free: 11.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01988/0.7487, allocations: 7.659 MB / 0.7915 GB, free: 3.371 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/0.7488, allocations: 166.2 kB / 0.7917 GB, free: 3.172 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.7488, allocations: 4 kB / 0.7917 GB, free: 3.168 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2351/0.9839, allocations: 3.326 MB / 0.7949 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/0.9865, allocations: 469.7 kB / 0.7954 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/1.018, allocations: 20.02 MB / 0.8149 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.021, allocations: 415.2 kB / 0.8153 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/1.022, allocations: 90.22 kB / 0.8154 GB, free: 117.4 MB / 0.573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.001287/1.023, allocations: 0.5842 MB / 0.816 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/1.023, allocations: 303.2 kB / 0.8163 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/1.045, allocations: 8.559 MB / 0.8246 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.045, allocations: 26.75 kB / 0.8247 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.045, allocations: 0 / 0.8247 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-05/1.046, allocations: 13.92 kB / 0.8247 GB, free: 116.7 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02495/1.07, allocations: 12.4 MB / 0.8368 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.071, allocations: 0 / 0.8368 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.072, allocations: 226.3 kB / 0.837 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/1.083, allocations: 3.828 MB / 0.8407 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.083, allocations: 54.52 kB / 0.8408 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03793/1.121, allocations: 21.21 MB / 0.8615 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.121, allocations: 7.719 kB / 0.8615 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/1.146, allocations: 10.43 MB / 0.8717 GB, free: 102.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.147, allocations: 450.7 kB / 0.8721 GB, free: 102.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009474/1.148, allocations: 47.94 kB / 0.8722 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/1.151, allocations: 282.7 kB / 0.8724 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/1.152, allocations: 381.4 kB / 0.8728 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003303/1.153, allocations: 65.81 kB / 0.8729 GB, free: 102.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002949/1.156, allocations: 1.649 MB / 0.8745 GB, free: 101.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.156, allocations: 2.969 kB / 0.8745 GB, free: 101.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003396/1.159, allocations: 0.9559 MB / 0.8754 GB, free: 101.6 MB / 0.573 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 () * Number of clocked 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.0003776/1.16, allocations: 202.3 kB / 0.8756 GB, free: 101.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.17, allocations: 5.622 MB / 0.8811 GB, free: 98.85 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.17, allocations: 0 / 0.8811 GB, free: 98.85 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007628/1.177, allocations: 3.827 MB / 0.8848 GB, free: 97.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.18, allocations: 242.9 kB / 0.8851 GB, free: 97.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/1.189, allocations: 6.415 MB / 0.8913 GB, free: 93.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.191, allocations: 1.836 MB / 0.8931 GB, free: 92.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001093/1.192, allocations: 226.7 kB / 0.8933 GB, free: 92.51 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/1.193, allocations: 136.3 kB / 0.8935 GB, free: 92.5 MB / 0.573 GB Notification: Performance of SimCode: time 6.41e-07/1.193, allocations: 0 / 0.8935 GB, free: 92.5 MB / 0.573 GB Notification: Performance of Templates: time 0.05741/1.25, allocations: 48.01 MB / 0.9403 GB, free: 67.14 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)