Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001277/0.001277, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.406/1.406, allocations: 177.1 MB / 199.4 MB, free: 8.445 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.001544/0.001544, allocations: 164.6 kB / 256 MB, free: 4.305 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.5971/0.5971, allocations: 80.36 MB / 392.7 MB, free: 29.62 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5555 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.076e-05, allocations: 10.22 kB / 0.5555 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007553/0.007584, allocations: 5.821 MB / 0.5611 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.01265, allocations: 1.933 MB / 0.563 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.01445, allocations: 13.41 kB / 0.563 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01575, allocations: 235.9 kB / 0.5633 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.01935, allocations: 0.8681 MB / 0.5641 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.02114, allocations: 0.6391 MB / 0.5647 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.02361, allocations: 1.589 MB / 0.5663 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.02423, allocations: 215 kB / 0.5665 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.02636, allocations: 0.9016 MB / 0.5674 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.02774, allocations: 0.6655 MB / 0.568 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.02825, allocations: 121.3 kB / 0.5681 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.02934, allocations: 276 kB / 0.5684 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.02981, allocations: 333.5 kB / 0.5687 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009638/0.03077, allocations: 457.2 kB / 0.5692 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.03324, allocations: 1.73 MB / 0.5709 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.03325, allocations: 1.188 kB / 0.5709 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03325, allocations: 0 / 0.5709 GB, free: 3.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.01e-05/0.03333, allocations: 0 / 0.5709 GB, free: 3.676 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009574/0.04291, allocations: 2.803 MB / 0.5736 GB, free: 1.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.04295, allocations: 14.19 kB / 0.5736 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.04804, allocations: 0.7952 MB / 0.5744 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.04979, allocations: 0.8202 MB / 0.5752 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.0501, allocations: 337.4 kB / 0.5755 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.05028, allocations: 86.38 kB / 0.5756 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.05262, allocations: 1.11 MB / 0.5767 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.05264, allocations: 1.156 kB / 0.5767 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.05276, allocations: 35.06 kB / 0.5767 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.05278, allocations: 17.62 kB / 0.5767 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.05511, allocations: 1.007 MB / 0.5777 GB, free: 15.23 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.007735/0.06285, allocations: 2.89 MB / 0.5805 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.07062, allocations: 2.017 MB / 0.5825 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.07229, allocations: 0.6465 MB / 0.5831 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.07242, allocations: 16.98 kB / 0.5831 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.07442, allocations: 0.8351 MB / 0.584 GB, free: 8.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.07442, allocations: 0 / 0.584 GB, free: 8.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03063/0.105, allocations: 6.962 MB / 0.5908 GB, free: 1.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.1051, allocations: 111.8 kB / 0.5909 GB, free: 1.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.1073, allocations: 1.054 MB / 0.5919 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002856/0.1076, allocations: 49.69 kB / 0.5919 GB, free: 448 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.1082, allocations: 0.4974 MB / 0.5924 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000638/0.1088, allocations: 364.9 kB / 0.5928 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007433/0.1096, allocations: 283.4 kB / 0.593 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1097, allocations: 309.1 kB / 0.5933 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.1116, allocations: 0.8076 MB / 0.5941 GB, free: 14.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.1136, allocations: 0.9766 MB / 0.5951 GB, free: 13.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02641/0.14, allocations: 5.759 MB / 0.6007 GB, free: 7.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.14, allocations: 0 / 0.6007 GB, free: 7.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01573/0.1558, allocations: 4.336 MB / 0.6049 GB, free: 2.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.1559, allocations: 62.06 kB / 0.605 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.1559, allocations: 4 kB / 0.605 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.162, allocations: 1.503 MB / 0.6065 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.1637, allocations: 295.6 kB / 0.6068 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/0.1857, allocations: 7.961 MB / 0.6145 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.188, allocations: 199.1 kB / 0.6147 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.1884, allocations: 55.97 kB / 0.6148 GB, free: 8.727 MB / 478.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 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 (159): * Single equations (assignments): 156 * 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,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001006/0.1894, allocations: 302.1 kB / 0.6151 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.1899, allocations: 135 kB / 0.6152 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.2036, allocations: 3.87 MB / 0.619 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.2036, allocations: 12 kB / 0.619 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/0.2036, allocations: 8 kB / 0.619 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.007e-05/0.2037, allocations: 3.984 kB / 0.619 GB, free: 4.355 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.01671/0.2204, allocations: 4.903 MB / 0.6238 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.2204, allocations: 0 / 0.6238 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.2211, allocations: 103.8 kB / 0.6239 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006087/0.2272, allocations: 1.586 MB / 0.6254 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/0.2275, allocations: 20 kB / 0.6254 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/0.2498, allocations: 9.188 MB / 0.6344 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2498, allocations: 4.062 kB / 0.6344 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.2655, allocations: 4.77 MB / 0.6391 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.2661, allocations: 142.9 kB / 0.6392 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.2665, allocations: 20 kB / 0.6392 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.2679, allocations: 111.9 kB / 0.6393 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000726/0.2687, allocations: 204.6 kB / 0.6395 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.2688, allocations: 24 kB / 0.6396 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001341/0.2701, allocations: 0.7188 MB / 0.6403 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.2701, allocations: 0 / 0.6403 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001852/0.272, allocations: 475.6 kB / 0.6407 GB, free: 13.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003202/0.2723, allocations: 139.1 kB / 0.6409 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006661/0.279, allocations: 2.42 MB / 0.6432 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.279, allocations: 0.75 kB / 0.6432 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004636/0.2836, allocations: 1.544 MB / 0.6447 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.2851, allocations: 120.4 kB / 0.6448 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.2899, allocations: 2.186 MB / 0.647 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.2906, allocations: 0.5315 MB / 0.6475 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.2911, allocations: 119.9 kB / 0.6476 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.2915, allocations: 80.48 kB / 0.6477 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.2915, allocations: 0 / 0.6477 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.04452/0.336, allocations: 25.66 MB / 0.6727 GB, free: 12.87 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6803149580955505] Failed to read output from testmodel.py, exit status != 0: 0.3459290452301502 0.36322976900000004 0.326693069 Calling exit ...