Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001608/0.001608, allocations: 80.22 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.39/1.39, allocations: 177.1 MB / 199.4 MB, free: 8.43 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.002022/0.002022, allocations: 160.5 kB / 256 MB, free: 4.316 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.5979/0.5979, allocations: 80.24 MB / 392.6 MB, free: 29.71 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5553 GB, free: 14.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.538e-05, allocations: 6.438 kB / 0.5553 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006947/0.006982, allocations: 5.775 MB / 0.5609 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.01246, allocations: 1.919 MB / 0.5628 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.01422, allocations: 13.56 kB / 0.5628 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.01534, allocations: 234.5 kB / 0.5631 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.01891, allocations: 0.8798 MB / 0.5639 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.02056, allocations: 0.6229 MB / 0.5645 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.02291, allocations: 1.578 MB / 0.5661 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.02337, allocations: 216 kB / 0.5663 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.02483, allocations: 0.9043 MB / 0.5671 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.02567, allocations: 0.6646 MB / 0.5678 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.02589, allocations: 122.9 kB / 0.5679 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.02664, allocations: 277.4 kB / 0.5682 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.02689, allocations: 331.4 kB / 0.5685 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.02737, allocations: 463.4 kB / 0.5689 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.02928, allocations: 1.731 MB / 0.5706 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.02929, allocations: 0 / 0.5706 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02929, allocations: 0 / 0.5706 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.02933, allocations: 1.094 kB / 0.5706 GB, free: 3.805 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.00951/0.03884, allocations: 2.8 MB / 0.5734 GB, free: 2.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.03888, allocations: 10.12 kB / 0.5734 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.04429, allocations: 0.8018 MB / 0.5742 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.04617, allocations: 0.8338 MB / 0.575 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.04645, allocations: 338 kB / 0.5753 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.04665, allocations: 81.47 kB / 0.5754 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.04893, allocations: 1.105 MB / 0.5764 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.04895, allocations: 0 / 0.5764 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.04907, allocations: 35.11 kB / 0.5765 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.0491, allocations: 26.02 kB / 0.5765 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.05146, allocations: 1.012 MB / 0.5775 GB, free: 15.38 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.007156/0.05862, allocations: 2.839 MB / 0.5803 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007857/0.06648, allocations: 2.022 MB / 0.5822 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.06809, allocations: 0.6427 MB / 0.5829 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.06819, allocations: 13 kB / 0.5829 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.07001, allocations: 0.8389 MB / 0.5837 GB, free: 8.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=95): time 2.925e-06/0.07001, allocations: 0 / 0.5837 GB, free: 8.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.03184/0.1018, allocations: 7.068 MB / 0.5906 GB, free: 1.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.1019, allocations: 115.8 kB / 0.5907 GB, free: 1.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.1039, allocations: 1.062 MB / 0.5918 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002389/0.1041, allocations: 49.69 kB / 0.5918 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.1046, allocations: 0.5014 MB / 0.5923 GB, free: 12 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005507/0.1052, allocations: 361.1 kB / 0.5926 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006106/0.1058, allocations: 271.5 kB / 0.5929 GB, free: 15.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.106, allocations: 308.9 kB / 0.5932 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.1078, allocations: 0.7998 MB / 0.594 GB, free: 14.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.1097, allocations: 0.9649 MB / 0.5949 GB, free: 13.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02711/0.1368, allocations: 5.738 MB / 0.6005 GB, free: 7.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.1368, allocations: 0 / 0.6005 GB, free: 7.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01547/0.1523, allocations: 4.364 MB / 0.6048 GB, free: 3.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.1524, allocations: 59.39 kB / 0.6048 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.1524, allocations: 4 kB / 0.6048 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/0.1589, allocations: 1.572 MB / 0.6064 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.1606, allocations: 275.6 kB / 0.6066 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.1835, allocations: 8.187 MB / 0.6146 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.1857, allocations: 203 kB / 0.6148 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.1859, allocations: 55.97 kB / 0.6149 GB, free: 8.555 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.0007632/0.1867, allocations: 300.2 kB / 0.6152 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.187, allocations: 135.1 kB / 0.6153 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.2012, allocations: 3.859 MB / 0.6191 GB, free: 4.215 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.2012, allocations: 19.88 kB / 0.6191 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.2012, allocations: 8 kB / 0.6191 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.2013, allocations: 3.984 kB / 0.6191 GB, free: 4.184 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.01681/0.2181, allocations: 4.884 MB / 0.6239 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.2181, allocations: 11.97 kB / 0.6239 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.2188, allocations: 91.91 kB / 0.624 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/0.225, allocations: 1.602 MB / 0.6255 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.2252, allocations: 27.98 kB / 0.6255 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/0.2485, allocations: 9.185 MB / 0.6345 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2485, allocations: 4 kB / 0.6345 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/0.2671, allocations: 4.762 MB / 0.6392 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.2679, allocations: 150.9 kB / 0.6393 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.2681, allocations: 20 kB / 0.6393 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.2694, allocations: 111.9 kB / 0.6394 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/0.2701, allocations: 204.7 kB / 0.6396 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/0.2702, allocations: 23.98 kB / 0.6397 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001217/0.2715, allocations: 0.719 MB / 0.6404 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2715, allocations: 4 kB / 0.6404 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001665/0.2731, allocations: 471.7 kB / 0.6408 GB, free: 13.59 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.000372/0.2735, allocations: 133.2 kB / 0.6409 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007059/0.2806, allocations: 2.436 MB / 0.6433 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2806, allocations: 0 / 0.6433 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00494/0.2855, allocations: 1.562 MB / 0.6448 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.2868, allocations: 112 kB / 0.645 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.2916, allocations: 2.162 MB / 0.6471 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.2923, allocations: 0.5237 MB / 0.6476 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004784/0.2927, allocations: 115.9 kB / 0.6477 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.293, allocations: 80.48 kB / 0.6478 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/0.2931, allocations: 4 kB / 0.6478 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.04643/0.3395, allocations: 25.85 MB / 0.673 GB, free: 12.53 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.611366797238588] Failed to read output from testmodel.py, exit status != 0: 0.34965677931904793 0.36479658800000003 0.33221937500000004 Calling exit ...