Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001283/0.001283, allocations: 170.3 kB / 16.08 MB, free: 5.602 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.274/1.274, allocations: 222.9 MB / 239.7 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007499/0.00075, allocations: 100.2 kB / 290.5 MB, free: 11.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4351/0.4351, allocations: 78.42 MB / 419.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 15.94 kB / 499.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 68.73 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses): time 0.009009/0.2779, allocations: 13.74 MB / 0.5679 GB, free: 6.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.2838, allocations: 3.673 MB / 0.5715 GB, free: 2.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.285, allocations: 27.94 kB / 0.5715 GB, free: 2.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.2859, allocations: 389.3 kB / 0.5719 GB, free: 2.34 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 3.1.0-master/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 3.1.0-master/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.00246/0.2884, allocations: 1.249 MB / 0.5731 GB, free: 1.09 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 3.1.0-master/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 3.1.0-master/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.00187/0.2903, allocations: 1.231 MB / 0.5743 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.2936, allocations: 3.751 MB / 0.578 GB, free: 12.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2946, allocations: 0.843 MB / 0.5788 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.2965, allocations: 1.283 MB / 0.5801 GB, free: 9.922 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2982, allocations: 1.656 MB / 0.5817 GB, free: 8.258 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002913/0.2985, allocations: 136 kB / 0.5818 GB, free: 8.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.2991, allocations: 283.8 kB / 0.5821 GB, free: 7.848 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.2996, allocations: 0.579 MB / 0.5827 GB, free: 7.266 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.3007, allocations: 1.428 MB / 0.5841 GB, free: 5.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.3039, allocations: 4.09 MB / 0.588 GB, free: 1.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3039, allocations: 0 / 0.588 GB, free: 1.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3039, allocations: 0 / 0.588 GB, free: 1.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.3039, allocations: 0 / 0.588 GB, free: 1.723 MB / 394.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.01387/0.3178, allocations: 4.696 MB / 0.5926 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3179, allocations: 12.02 kB / 0.5926 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009971/0.3278, allocations: 1.608 MB / 0.5942 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.3316, allocations: 1.989 MB / 0.5962 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.332, allocations: 460.6 kB / 0.5966 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.3324, allocations: 199.9 kB / 0.5968 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.3368, allocations: 2.387 MB / 0.5991 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.3368, allocations: 0 / 0.5991 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.337, allocations: 75.98 kB / 0.5992 GB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.3371, allocations: 48 kB / 0.5992 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.3413, allocations: 2.216 MB / 0.6014 GB, free: 3.785 MB / 410.7 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.01479/0.3561, allocations: 9.041 MB / 0.6102 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009753/0.3659, allocations: 4.382 MB / 0.6145 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/0.3689, allocations: 1.535 MB / 0.616 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3691, allocations: 41.95 kB / 0.616 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003334/0.3724, allocations: 1.766 MB / 0.6178 GB, free: 2.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=236): time 5.73e-06/0.3725, allocations: 0 / 0.6178 GB, free: 2.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.0762/0.4487, allocations: 18.32 MB / 0.6357 GB, free: 15.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.4488, allocations: 235.6 kB / 0.6359 GB, free: 15.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.4527, allocations: 2.499 MB / 0.6383 GB, free: 13.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004791/0.4532, allocations: 73.69 kB / 0.6384 GB, free: 13.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008603/0.4541, allocations: 1.126 MB / 0.6395 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009531/0.455, allocations: 0.8434 MB / 0.6403 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.4554, allocations: 300.5 kB / 0.6406 GB, free: 10.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.4555, allocations: 305.1 kB / 0.6409 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.4586, allocations: 1.576 MB / 0.6424 GB, free: 8.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/0.4619, allocations: 1.914 MB / 0.6443 GB, free: 6.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04305/0.505, allocations: 11.01 MB / 0.6551 GB, free: 11.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.5051, allocations: 0 / 0.6551 GB, free: 11.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.02078/0.5259, allocations: 7.42 MB / 0.6623 GB, free: 4.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.526, allocations: 177.3 kB / 0.6625 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.526, allocations: 7.938 kB / 0.6625 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.5363, allocations: 2.818 MB / 0.6652 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.5395, allocations: 0.632 MB / 0.6659 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2553/0.7948, allocations: 17.74 MB / 0.6832 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/0.7986, allocations: 396.2 kB / 0.6836 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.7988, allocations: 120.6 kB / 0.6837 GB, free: 108.8 MB / 490.7 MB 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.001104/0.7999, allocations: 0.6067 MB / 0.6843 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.8004, allocations: 309.5 kB / 0.6846 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/0.8235, allocations: 7.344 MB / 0.6917 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/0.8236, allocations: 11.28 kB / 0.6917 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.8236, allocations: 5.594 kB / 0.6917 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.825, allocations: 443.1 kB / 0.6922 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006593/0.8257, allocations: 53.45 kB / 0.6922 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.8281, allocations: 208.2 kB / 0.6924 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002091/0.8302, allocations: 0.7286 MB / 0.6931 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01231/0.8425, allocations: 5.111 MB / 0.6981 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007383/0.8499, allocations: 4.957 MB / 0.703 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002112/0.852, allocations: 1.302 MB / 0.7042 GB, free: 102.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002218/0.8543, allocations: 1.668 MB / 0.7059 GB, free: 101.8 MB / 490.7 MB Notification: Performance of Backend: time 6.12e-07/0.8543, allocations: 0 / 0.7059 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009525/0.8638, allocations: 4.67 MB / 0.7104 GB, free: 98.76 MB / 490.7 MB Notification: Performance of SimCode: time 0.006865/0.8707, allocations: 7.508 MB / 0.7178 GB, free: 91.66 MB / 490.7 MB Notification: Performance of Templates: time 0.0564/0.9271, allocations: 45.68 MB / 0.7624 GB, free: 46.56 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)