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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 112.3 kB / 16.41 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5203/0.5203, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 80.03 kB / 0.5734 GB, free: 33.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1513, allocations: 71.28 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.01263/0.1639, allocations: 13.12 MB / 0.6558 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.1728, allocations: 3.576 MB / 0.6593 GB, free: 2.844 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.1766, allocations: 27.94 kB / 0.6593 GB, free: 2.816 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.1794, allocations: 0.4954 MB / 0.6598 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006352/0.1858, allocations: 1.432 MB / 0.6612 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.1898, allocations: 1.334 MB / 0.6625 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00677/0.1966, allocations: 4.034 MB / 0.6664 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.1988, allocations: 0.9291 MB / 0.6673 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.202, allocations: 1.576 MB / 0.6689 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.2052, allocations: 1.898 MB / 0.6707 GB, free: 7.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.2067, allocations: 360 kB / 0.6711 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.2086, allocations: 0.496 MB / 0.6716 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.2101, allocations: 0.8133 MB / 0.6724 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.2131, allocations: 1.678 MB / 0.674 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.2188, allocations: 4.399 MB / 0.6783 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2189, allocations: 0 / 0.6783 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2189, allocations: 0 / 0.6783 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.219, allocations: 0 / 0.6783 GB, free: 15.27 MB / 494.1 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.01759/0.2366, allocations: 5.321 MB / 0.6835 GB, free: 9.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2367, allocations: 12.03 kB / 0.6835 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.2469, allocations: 1.619 MB / 0.6851 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.2521, allocations: 1.993 MB / 0.687 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005909/0.2527, allocations: 464.5 kB / 0.6875 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.2536, allocations: 199.9 kB / 0.6877 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/0.2597, allocations: 2.391 MB / 0.69 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.2597, allocations: 0 / 0.69 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003763/0.2601, allocations: 72 kB / 0.6901 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.2602, allocations: 44 kB / 0.6901 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/0.2652, allocations: 2.212 MB / 0.6923 GB, free: 0.6914 MB / 494.1 MB 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.01887/0.284, allocations: 9.041 MB / 0.7011 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.2945, allocations: 4.38 MB / 0.7054 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/0.2979, allocations: 1.531 MB / 0.7069 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.2982, allocations: 37.92 kB / 0.7069 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00421/0.3024, allocations: 1.772 MB / 0.7086 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=236): time 8.295e-06/0.3024, allocations: 4 kB / 0.7086 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=236): time 0.07799/0.3804, allocations: 17.9 MB / 0.7261 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.3806, allocations: 239.5 kB / 0.7263 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/0.3858, allocations: 2.503 MB / 0.7288 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007786/0.3866, allocations: 77.73 kB / 0.7289 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.3878, allocations: 1.118 MB / 0.73 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.3894, allocations: 0.8397 MB / 0.7308 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0023/0.3917, allocations: 0.5734 MB / 0.7313 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3919, allocations: 301.1 kB / 0.7316 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/0.3956, allocations: 1.584 MB / 0.7332 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/0.3996, allocations: 1.902 MB / 0.735 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04516/0.4447, allocations: 11 MB / 0.7458 GB, free: 8.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.4448, allocations: 0 / 0.7458 GB, free: 8.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02409/0.4689, allocations: 7.413 MB / 0.753 GB, free: 1.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.4691, allocations: 174.2 kB / 0.7532 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/0.4691, allocations: 4 kB / 0.7532 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.48, allocations: 2.807 MB / 0.7559 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.4835, allocations: 0.6397 MB / 0.7565 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4484/0.9319, allocations: 19.15 MB / 0.7752 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/0.9363, allocations: 408 kB / 0.7756 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/0.937, allocations: 118.9 kB / 0.7757 GB, free: 104.5 MB / 0.5606 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = "1" fixed = true ) "q-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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001423/0.9384, allocations: 0.6209 MB / 0.7764 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/0.9392, allocations: 295.9 kB / 0.7766 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02422/0.9634, allocations: 7.342 MB / 0.7838 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.9635, allocations: 24.12 kB / 0.7838 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.9636, allocations: 1.562 kB / 0.7838 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.547e-05/0.9636, allocations: 18.36 kB / 0.7838 GB, free: 103.9 MB / 0.5606 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.02658/0.9902, allocations: 11.42 MB / 0.795 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.9903, allocations: 3.938 kB / 0.795 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.9917, allocations: 220.4 kB / 0.7952 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/1.003, allocations: 3.438 MB / 0.7986 GB, free: 99.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/1.003, allocations: 56.56 kB / 0.7986 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03661/1.04, allocations: 20.88 MB / 0.819 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.04, allocations: 0 / 0.819 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02415/1.064, allocations: 9.13 MB / 0.8279 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.065, allocations: 439.9 kB / 0.8283 GB, free: 72.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006719/1.066, allocations: 48.12 kB / 0.8284 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.069, allocations: 223.7 kB / 0.8286 GB, free: 72.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.07, allocations: 374.5 kB / 0.829 GB, free: 71.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.07, allocations: 67.92 kB / 0.829 GB, free: 71.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002325/1.072, allocations: 1.673 MB / 0.8307 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.072, allocations: 0 / 0.8307 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003451/1.076, allocations: 1.013 MB / 0.8317 GB, free: 69.05 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(41,45), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004023/1.076, allocations: 192.4 kB / 0.8318 GB, free: 68.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.087, allocations: 5.774 MB / 0.8375 GB, free: 62.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.087, allocations: 0 / 0.8375 GB, free: 62.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00852/1.096, allocations: 3.6 MB / 0.841 GB, free: 59.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/1.099, allocations: 285.1 kB / 0.8413 GB, free: 58.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/1.108, allocations: 5.499 MB / 0.8466 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.109, allocations: 1.784 MB / 0.8484 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.11, allocations: 175.4 kB / 0.8485 GB, free: 51.47 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.11, allocations: 0 / 0.8485 GB, free: 51.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.1117/1.222, allocations: 102.5 MB / 0.9486 GB, free: 12.93 MB / 0.6231 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)