Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001349/0.001349, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.355/1.355, allocations: 177.1 MB / 199.4 MB, free: 8.434 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.001603/0.001603, allocations: 165.4 kB / 256 MB, free: 4.316 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.5655/0.5655, allocations: 80.36 MB / 392.7 MB, free: 29.64 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5555 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.419e-05, allocations: 11.22 kB / 0.5555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007453/0.007487, allocations: 5.76 MB / 0.5611 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005186/0.01267, allocations: 1.93 MB / 0.563 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.01361, allocations: 9.625 kB / 0.563 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.01437, allocations: 234.4 kB / 0.5632 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.01656, allocations: 0.8757 MB / 0.5641 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.01796, allocations: 0.6351 MB / 0.5647 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.01974, allocations: 1.578 MB / 0.5662 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.02015, allocations: 211.3 kB / 0.5664 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009848/0.02113, allocations: 0.9002 MB / 0.5673 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.02186, allocations: 0.6728 MB / 0.568 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.02204, allocations: 126.5 kB / 0.5681 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.02258, allocations: 270.4 kB / 0.5683 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.02281, allocations: 338.2 kB / 0.5687 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.0232, allocations: 455.6 kB / 0.5691 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.02468, allocations: 1.734 MB / 0.5708 GB, free: 3.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.02468, allocations: 1.344 kB / 0.5708 GB, free: 3.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02468, allocations: 0 / 0.5708 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.02471, allocations: 0 / 0.5708 GB, free: 3.727 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008717/0.03342, allocations: 2.802 MB / 0.5735 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.03346, allocations: 8.844 kB / 0.5735 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.03867, allocations: 0.7955 MB / 0.5743 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.04028, allocations: 0.8336 MB / 0.5751 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.04058, allocations: 332.8 kB / 0.5755 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.04077, allocations: 83 kB / 0.5755 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.04309, allocations: 1.108 MB / 0.5766 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.04312, allocations: 0 / 0.5766 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.04323, allocations: 35.38 kB / 0.5766 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.04325, allocations: 21.27 kB / 0.5767 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.04565, allocations: 1.013 MB / 0.5777 GB, free: 15.27 MB / 446.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.006929/0.05258, allocations: 2.847 MB / 0.5804 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/0.0605, allocations: 2.013 MB / 0.5824 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.062, allocations: 0.6427 MB / 0.583 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.0621, allocations: 17 kB / 0.583 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.06395, allocations: 0.8389 MB / 0.5839 GB, free: 8.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.06396, allocations: 0 / 0.5839 GB, free: 8.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.03146/0.09541, allocations: 7.068 MB / 0.5908 GB, free: 1.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.0955, allocations: 115.8 kB / 0.5909 GB, free: 1.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.09734, allocations: 1.062 MB / 0.5919 GB, free: 484 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/0.09758, allocations: 41.7 kB / 0.592 GB, free: 436 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.09806, allocations: 0.5054 MB / 0.5924 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.09851, allocations: 361 kB / 0.5928 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.09901, allocations: 271.5 kB / 0.5931 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.09914, allocations: 312.9 kB / 0.5933 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.1008, allocations: 0.7959 MB / 0.5941 GB, free: 14.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.1027, allocations: 0.9688 MB / 0.5951 GB, free: 13.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02603/0.1287, allocations: 5.742 MB / 0.6007 GB, free: 7.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.1287, allocations: 0 / 0.6007 GB, free: 7.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01465/0.1434, allocations: 4.36 MB / 0.6049 GB, free: 2.926 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.1434, allocations: 61.58 kB / 0.605 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1435, allocations: 7.938 kB / 0.605 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006086/0.1495, allocations: 1.572 MB / 0.6065 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.151, allocations: 275.5 kB / 0.6068 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.1726, allocations: 8.195 MB / 0.6148 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.1747, allocations: 199 kB / 0.615 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.1748, allocations: 59.91 kB / 0.6151 GB, free: 8.441 MB / 478.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.1755, allocations: 300.2 kB / 0.6153 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.1757, allocations: 131.1 kB / 0.6155 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.1897, allocations: 3.863 MB / 0.6192 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1897, allocations: 12 kB / 0.6192 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.1897, allocations: 7.938 kB / 0.6193 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.1897, allocations: 7.984 kB / 0.6193 GB, free: 4.074 MB / 478.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 postOpt removeSimpleEquations (simulation): time 0.01563/0.2053, allocations: 4.884 MB / 0.624 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.2054, allocations: 7.984 kB / 0.624 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.206, allocations: 95.89 kB / 0.6241 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/0.212, allocations: 1.594 MB / 0.6257 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.2122, allocations: 23.98 kB / 0.6257 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/0.2343, allocations: 9.193 MB / 0.6347 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2343, allocations: 0 / 0.6347 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/0.2503, allocations: 4.758 MB / 0.6393 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.2509, allocations: 154.9 kB / 0.6395 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.251, allocations: 16 kB / 0.6395 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.2523, allocations: 111.9 kB / 0.6396 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006656/0.253, allocations: 204.7 kB / 0.6398 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.2531, allocations: 27.98 kB / 0.6398 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001151/0.2542, allocations: 0.7151 MB / 0.6405 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2542, allocations: 0 / 0.6405 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001428/0.2556, allocations: 475.7 kB / 0.641 GB, free: 13.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003166/0.256, allocations: 135.1 kB / 0.6411 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006709/0.2627, allocations: 2.436 MB / 0.6435 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2627, allocations: 0 / 0.6435 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004637/0.2673, allocations: 1.558 MB / 0.645 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2684, allocations: 111.8 kB / 0.6451 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.2724, allocations: 2.167 MB / 0.6472 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.273, allocations: 0.5276 MB / 0.6477 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004048/0.2734, allocations: 119.9 kB / 0.6479 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.2736, allocations: 76.48 kB / 0.6479 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.2736, allocations: 0 / 0.6479 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.0411/0.3147, allocations: 25.84 MB / 0.6732 GB, free: 12.42 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.24078531563282] Failed to read output from testmodel.py, exit status != 0: 0.3236429952085018 0.337805613 0.309902717 Calling exit ...