Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 252.7 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 222.7 kB / 309.2 MB, free: 2.926 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5934/0.5934, allocations: 107.2 MB / 472.8 MB, free: 4.48 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 83.88 kB / 0.6336 GB, free: 4.461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4772, allocations: 80.14 MB / 0.7118 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01175/0.489, allocations: 11.66 MB / 0.7232 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00882/0.4978, allocations: 3.425 MB / 0.7266 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.5001, allocations: 31.41 kB / 0.7266 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.5018, allocations: 0.557 MB / 0.7271 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.5073, allocations: 1.565 MB / 0.7287 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.5117, allocations: 1.506 MB / 0.7301 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006921/0.5186, allocations: 3.772 MB / 0.7338 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.5201, allocations: 0.5775 MB / 0.7344 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.5239, allocations: 1.583 MB / 0.7359 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.528, allocations: 1.806 MB / 0.7377 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.5294, allocations: 285.8 kB / 0.738 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.5316, allocations: 457.5 kB / 0.7384 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.5331, allocations: 0.7655 MB / 0.7392 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.5355, allocations: 1.323 MB / 0.7404 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.5411, allocations: 4.046 MB / 0.7444 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5411, allocations: 0 / 0.7444 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5411, allocations: 3.938 kB / 0.7444 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001292/0.5412, allocations: 1.531 kB / 0.7444 GB, free: 15.36 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02687/0.5681, allocations: 7.38 MB / 0.7516 GB, free: 11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5681, allocations: 9.406 kB / 0.7516 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.5844, allocations: 2.321 MB / 0.7539 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.5897, allocations: 1.804 MB / 0.7556 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009889/0.5907, allocations: 0.8342 MB / 0.7565 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007093/0.5914, allocations: 214.5 kB / 0.7567 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007578/0.599, allocations: 3.084 MB / 0.7597 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.5991, allocations: 0 / 0.7597 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.5993, allocations: 87.94 kB / 0.7598 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.5993, allocations: 48 kB / 0.7598 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006736/0.6061, allocations: 2.826 MB / 0.7626 GB, free: 2.855 MB / 0.5137 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.02009/0.6262, allocations: 7.384 MB / 0.7698 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.6376, allocations: 3.567 MB / 0.7733 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/0.6423, allocations: 1.826 MB / 0.775 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.6426, allocations: 41.92 kB / 0.7751 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005378/0.6479, allocations: 2.278 MB / 0.7773 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=247): time 5.801e-06/0.648, allocations: 0 / 0.7773 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=247): time 0.1324/0.7804, allocations: 29.25 MB / 0.8059 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.7805, allocations: 184.2 kB / 0.806 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.7848, allocations: 2.252 MB / 0.8082 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007833/0.7855, allocations: 73.69 kB / 0.8083 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.7867, allocations: 1.201 MB / 0.8095 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00165/0.7884, allocations: 0.9024 MB / 0.8104 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.7896, allocations: 0.5382 MB / 0.8109 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7898, allocations: 305.1 kB / 0.8112 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/0.7947, allocations: 2.043 MB / 0.8132 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/0.8, allocations: 2.401 MB / 0.8155 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0601/0.8601, allocations: 14.27 MB / 0.8295 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.8601, allocations: 0 / 0.8295 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.04454/0.9047, allocations: 12.27 MB / 0.8414 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.9048, allocations: 122.7 kB / 0.8416 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.9048, allocations: 12 kB / 0.8416 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01997/0.9248, allocations: 5.411 MB / 0.8469 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/0.9281, allocations: 0.5461 MB / 0.8474 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06708/0.9952, allocations: 22.8 MB / 0.8697 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005201/1, allocations: 489.9 kB / 0.8701 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/1.001, allocations: 116 kB / 0.8702 GB, free: 3.559 MB / 0.6231 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001464/1.002, allocations: 0.5267 MB / 0.8707 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008397/1.003, allocations: 306 kB / 0.871 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04247/1.046, allocations: 11.87 MB / 0.8826 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/1.046, allocations: 24 kB / 0.8827 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.127e-05/1.046, allocations: 20 kB / 0.8827 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-05/1.046, allocations: 11.95 kB / 0.8827 GB, free: 6.711 MB / 0.6387 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.04837/1.094, allocations: 14.21 MB / 0.8966 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.094, allocations: 0 / 0.8966 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.096, allocations: 247.6 kB / 0.8968 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0195/1.115, allocations: 5.264 MB / 0.9019 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009033/1.116, allocations: 59.98 kB / 0.902 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06699/1.183, allocations: 24.01 MB / 0.9254 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.183, allocations: 0 / 0.9254 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05112/1.234, allocations: 14.29 MB / 0.9394 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.236, allocations: 341.5 kB / 0.9397 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/1.236, allocations: 44 kB / 0.9398 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.24, allocations: 303.6 kB / 0.9401 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/1.242, allocations: 0.6073 MB / 0.9406 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.242, allocations: 67.98 kB / 0.9407 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002634/1.245, allocations: 1.479 MB / 0.9422 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.245, allocations: 3.938 kB / 0.9422 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003734/1.249, allocations: 1.175 MB / 0.9433 GB, free: 8.035 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004979/1.249, allocations: 184.1 kB / 0.9435 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.27, allocations: 6.558 MB / 0.9499 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.27, allocations: 0.5 kB / 0.9499 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01521/1.285, allocations: 4.277 MB / 0.9541 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.288, allocations: 274.1 kB / 0.9543 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.3, allocations: 5.44 MB / 0.9596 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/1.301, allocations: 1.256 MB / 0.9609 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0013/1.302, allocations: 258.2 kB / 0.9611 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/1.303, allocations: 175.4 kB / 0.9613 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of SimCode: time 1.613e-06/1.303, allocations: 0 / 0.9613 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of Templates: time 0.4225/1.726, allocations: 73.33 MB / 1.033 GB, free: 215.4 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.698645386844873] Failed to read output from testmodel.py, exit status != 0: 1.7353928796947002 1.743825945 1.2004091080000001 Calling exit ...