Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.0016/0.0016, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.354/1.354, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.001619/0.001619, allocations: 166.2 kB / 256 MB, free: 4.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.565/0.565, allocations: 80.35 MB / 392.7 MB, free: 29.65 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5555 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.409e-05, allocations: 6.219 kB / 0.5555 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.009658/0.009682, allocations: 11.74 MB / 0.567 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007671/0.01735, allocations: 3.435 MB / 0.5703 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.02016, allocations: 31.38 kB / 0.5704 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.02188, allocations: 0.5536 MB / 0.5709 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.02726, allocations: 1.621 MB / 0.5725 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.03076, allocations: 1.548 MB / 0.574 GB, free: 360 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005941/0.0367, allocations: 3.738 MB / 0.5776 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.03801, allocations: 0.5902 MB / 0.5782 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.04193, allocations: 2.118 MB / 0.5803 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.04432, allocations: 1.558 MB / 0.5818 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005771/0.0449, allocations: 284 kB / 0.5821 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.04604, allocations: 447.8 kB / 0.5825 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.04679, allocations: 0.7777 MB / 0.5833 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.04844, allocations: 1.078 MB / 0.5843 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.05383, allocations: 4.084 MB / 0.5883 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.05384, allocations: 0 / 0.5883 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.05384, allocations: 0 / 0.5883 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.05395, allocations: 0 / 0.5883 GB, free: 4.477 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02535/0.0793, allocations: 7.339 MB / 0.5955 GB, free: 13.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.07934, allocations: 12.03 kB / 0.5955 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.09553, allocations: 2.324 MB / 0.5978 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.1012, allocations: 1.797 MB / 0.5995 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.1022, allocations: 0.8335 MB / 0.6003 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/0.1031, allocations: 216 kB / 0.6005 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007135/0.1103, allocations: 3.086 MB / 0.6035 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.1103, allocations: 0 / 0.6035 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.1106, allocations: 84 kB / 0.6036 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.1106, allocations: 48 kB / 0.6037 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.1174, allocations: 2.822 MB / 0.6064 GB, free: 1.496 MB / 462.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.01913/0.1365, allocations: 7.437 MB / 0.6137 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.1481, allocations: 3.575 MB / 0.6172 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/0.1526, allocations: 1.834 MB / 0.619 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.1528, allocations: 33.98 kB / 0.619 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005157/0.158, allocations: 2.282 MB / 0.6212 GB, free: 2.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=248): time 5.3e-06/0.158, allocations: 4 kB / 0.6212 GB, free: 2.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1342/0.2922, allocations: 27.96 MB / 0.6485 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.2924, allocations: 188.1 kB / 0.6487 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.2963, allocations: 2.244 MB / 0.6509 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006196/0.297, allocations: 77.77 kB / 0.651 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.2981, allocations: 1.189 MB / 0.6521 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.2993, allocations: 0.8946 MB / 0.653 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.3006, allocations: 0.5461 MB / 0.6536 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3007, allocations: 305.1 kB / 0.6538 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/0.3057, allocations: 2.047 MB / 0.6558 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/0.3111, allocations: 2.402 MB / 0.6582 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06263/0.3738, allocations: 14.29 MB / 0.6721 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.3738, allocations: 0 / 0.6721 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.04611/0.4199, allocations: 12.51 MB / 0.6844 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.42, allocations: 114.8 kB / 0.6845 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.42, allocations: 8 kB / 0.6845 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02/0.44, allocations: 5.242 MB / 0.6896 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.4432, allocations: 0.5578 MB / 0.6901 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06571/0.5089, allocations: 22.5 MB / 0.7121 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.5134, allocations: 485.9 kB / 0.7126 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.5138, allocations: 116 kB / 0.7127 GB, free: 3.629 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (320): * Single equations (assignments): 315 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.5152, allocations: 0.5377 MB / 0.7132 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/0.5158, allocations: 306 kB / 0.7135 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04379/0.5596, allocations: 11.87 MB / 0.7251 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/0.5596, allocations: 24 kB / 0.7251 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.941e-05/0.5596, allocations: 20 kB / 0.7251 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/0.5597, allocations: 15.89 kB / 0.7251 GB, free: 6.773 MB / 0.5762 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.2816/0.8413, allocations: 14.21 MB / 0.739 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.8414, allocations: 6.812 kB / 0.739 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.8429, allocations: 240.6 kB / 0.7393 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01871/0.8616, allocations: 5.234 MB / 0.7444 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005902/0.8622, allocations: 61.02 kB / 0.7444 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05668/0.9188, allocations: 23.98 MB / 0.7678 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9188, allocations: 7.875 kB / 0.7679 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04304/0.9619, allocations: 14.3 MB / 0.7818 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008833/0.9628, allocations: 353.7 kB / 0.7821 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/0.9633, allocations: 46.44 kB / 0.7822 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/0.9662, allocations: 300.2 kB / 0.7825 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002021/0.9682, allocations: 0.6072 MB / 0.7831 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/0.9684, allocations: 63.98 kB / 0.7831 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001782/0.9702, allocations: 1.487 MB / 0.7846 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9702, allocations: 0 / 0.7846 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00273/0.9729, allocations: 1.177 MB / 0.7857 GB, free: 129.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004118/0.9733, allocations: 178.6 kB / 0.7859 GB, free: 129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01634/0.9897, allocations: 6.439 MB / 0.7922 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9897, allocations: 0 / 0.7922 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01252/1.002, allocations: 4.267 MB / 0.7964 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.004, allocations: 256.9 kB / 0.7966 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/1.012, allocations: 5.305 MB / 0.8018 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.013, allocations: 1.252 MB / 0.803 GB, free: 111.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008574/1.014, allocations: 266.2 kB / 0.8033 GB, free: 111 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/1.014, allocations: 176.5 kB / 0.8034 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/1.014, allocations: 0 / 0.8034 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.07421/1.088, allocations: 69.01 MB / 0.8708 GB, free: 42.04 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.235530376434326] Failed to read output from testmodel.py, exit status != 0: 1.0963300913572311 1.105064476 1.049057718 Calling exit ...