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/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08442/0.08442, allocations: 12.6 MB / 28.91 MB, free: 0.6289 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 107.5 kB / 32.51 MB, free: 3.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 192.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4442/0.4442, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002772, allocations: 142.9 kB / 0.5565 GB, free: 28.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1407, allocations: 68.13 MB / 0.623 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.01404/0.1548, allocations: 13.14 MB / 0.6359 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009193/0.164, allocations: 3.529 MB / 0.6393 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.1672, allocations: 23.94 kB / 0.6393 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.1695, allocations: 0.5032 MB / 0.6398 GB, free: 14.15 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.006097/0.1757, allocations: 1.556 MB / 0.6414 GB, free: 12.59 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.1793, allocations: 1.329 MB / 0.6427 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006485/0.1858, allocations: 4.026 MB / 0.6466 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.1878, allocations: 0.9329 MB / 0.6475 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.191, allocations: 1.58 MB / 0.649 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.1942, allocations: 1.898 MB / 0.6509 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.1956, allocations: 359.9 kB / 0.6512 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.1974, allocations: 0.4998 MB / 0.6517 GB, free: 1.902 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.1988, allocations: 0.8017 MB / 0.6525 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.2019, allocations: 1.686 MB / 0.6542 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005741/0.2076, allocations: 4.391 MB / 0.6584 GB, free: 11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.2077, allocations: 0 / 0.6584 GB, free: 11 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2077, allocations: 0 / 0.6584 GB, free: 11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.2078, allocations: 8 kB / 0.6585 GB, free: 10.99 MB / 478.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.0193/0.2271, allocations: 5.317 MB / 0.6636 GB, free: 5.566 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.2272, allocations: 15.98 kB / 0.6637 GB, free: 5.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.2389, allocations: 1.612 MB / 0.6652 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005466/0.2444, allocations: 1.997 MB / 0.6672 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005965/0.2451, allocations: 464.6 kB / 0.6676 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000875/0.246, allocations: 199.9 kB / 0.6678 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.2527, allocations: 2.376 MB / 0.6701 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.2527, allocations: 4 kB / 0.6701 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003935/0.2531, allocations: 75.98 kB / 0.6702 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.2532, allocations: 47.94 kB / 0.6703 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.2585, allocations: 2.216 MB / 0.6724 GB, free: 12.41 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.01871/0.2772, allocations: 8.978 MB / 0.6812 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.2879, allocations: 4.382 MB / 0.6855 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.2913, allocations: 1.539 MB / 0.687 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.2916, allocations: 37.97 kB / 0.687 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003941/0.2956, allocations: 1.758 MB / 0.6887 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 6.051e-06/0.2956, allocations: 0 / 0.6887 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236): time 0.08216/0.3778, allocations: 18.33 MB / 0.7066 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.3779, allocations: 239.7 kB / 0.7069 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.3828, allocations: 2.499 MB / 0.7093 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006292/0.3835, allocations: 69.69 kB / 0.7094 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.3845, allocations: 1.13 MB / 0.7105 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.3858, allocations: 0.8397 MB / 0.7113 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/0.3878, allocations: 0.5734 MB / 0.7118 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.3879, allocations: 301.1 kB / 0.7121 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.3915, allocations: 1.58 MB / 0.7137 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2963/0.6878, allocations: 1.907 MB / 0.7155 GB, free: 79.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04756/0.7354, allocations: 11 MB / 0.7263 GB, free: 77.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.7355, allocations: 1.188 kB / 0.7263 GB, free: 77.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02234/0.7578, allocations: 7.424 MB / 0.7335 GB, free: 74.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.166e-05/0.7579, allocations: 171.7 kB / 0.7337 GB, free: 74.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.758, allocations: 4.812 kB / 0.7337 GB, free: 74.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/0.7689, allocations: 2.817 MB / 0.7365 GB, free: 73.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.7722, allocations: 0.6305 MB / 0.7371 GB, free: 73.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03455/0.8068, allocations: 19.16 MB / 0.7558 GB, free: 61.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/0.8111, allocations: 406.9 kB / 0.7562 GB, free: 60.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007697/0.8119, allocations: 116 kB / 0.7563 GB, free: 60.84 MB / 0.5137 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.00208/0.814, allocations: 0.6111 MB / 0.7569 GB, free: 60.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.815, allocations: 297.9 kB / 0.7572 GB, free: 59.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02297/0.838, allocations: 7.352 MB / 0.7643 GB, free: 52.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/0.8381, allocations: 15.95 kB / 0.7644 GB, free: 52.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.8382, allocations: 7.875 kB / 0.7644 GB, free: 52.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.8394, allocations: 437.5 kB / 0.7648 GB, free: 52.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/0.8406, allocations: 47.98 kB / 0.7648 GB, free: 52.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/0.8437, allocations: 215.7 kB / 0.765 GB, free: 51.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002282/0.846, allocations: 0.7469 MB / 0.7658 GB, free: 51.09 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01515/0.8611, allocations: 5.104 MB / 0.7707 GB, free: 45.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01005/0.8712, allocations: 4.96 MB / 0.7756 GB, free: 40.96 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002725/0.874, allocations: 1.3 MB / 0.7769 GB, free: 39.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003373/0.8774, allocations: 1.665 MB / 0.7785 GB, free: 38 MB / 0.5137 GB Notification: Performance of Backend: time 1.803e-06/0.8774, allocations: 0 / 0.7785 GB, free: 38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01286/0.8903, allocations: 4.735 MB / 0.7831 GB, free: 33.1 MB / 0.5137 GB Notification: Performance of SimCode: time 0.009164/0.8995, allocations: 6.493 MB / 0.7895 GB, free: 26.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.08059/0.9801, allocations: 51.29 MB / 0.8395 GB, free: 7.312 MB / 0.545 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)