Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001557/0.001557, allocations: 80.3 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.376/1.376, allocations: 177.2 MB / 199.5 MB, free: 8.422 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.00161/0.00161, allocations: 163.4 kB / 256 MB, free: 4.312 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.5878/0.5878, allocations: 80.35 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.705e-05, allocations: 10.22 kB / 0.5555 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006408/0.006435, allocations: 5.892 MB / 0.5612 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.01122, allocations: 1.97 MB / 0.5631 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/0.01218, allocations: 13.62 kB / 0.5632 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.01296, allocations: 240.2 kB / 0.5634 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.01516, allocations: 0.8693 MB / 0.5642 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.01653, allocations: 0.6463 MB / 0.5649 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.01818, allocations: 1.642 MB / 0.5665 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.01856, allocations: 216.7 kB / 0.5667 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.01976, allocations: 0.9267 MB / 0.5676 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009546/0.02072, allocations: 0.6948 MB / 0.5683 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.02095, allocations: 129.9 kB / 0.5684 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006903/0.02164, allocations: 287.1 kB / 0.5687 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.02199, allocations: 349 kB / 0.569 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.02251, allocations: 474.6 kB / 0.5694 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.02439, allocations: 1.787 MB / 0.5712 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.0244, allocations: 1.219 kB / 0.5712 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.0244, allocations: 0 / 0.5712 GB, free: 3.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.02442, allocations: 3.938 kB / 0.5712 GB, free: 3.418 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009732/0.03415, allocations: 2.866 MB / 0.574 GB, free: 1.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.03421, allocations: 10.16 kB / 0.574 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/0.03945, allocations: 0.8003 MB / 0.5748 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.04105, allocations: 0.8491 MB / 0.5756 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.04133, allocations: 338.8 kB / 0.5759 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.04149, allocations: 90.77 kB / 0.576 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.04377, allocations: 1.123 MB / 0.5771 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.0438, allocations: 3.984 kB / 0.5771 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.0439, allocations: 31.28 kB / 0.5771 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.04392, allocations: 22.28 kB / 0.5772 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.04613, allocations: 1.021 MB / 0.5782 GB, free: 14.74 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.006661/0.05279, allocations: 2.898 MB / 0.581 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007741/0.06053, allocations: 2.032 MB / 0.583 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.06208, allocations: 0.6505 MB / 0.5836 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.06218, allocations: 12.98 kB / 0.5836 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/0.06394, allocations: 0.8507 MB / 0.5845 GB, free: 8.172 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.317e-06/0.06395, allocations: 0 / 0.5845 GB, free: 8.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.03073/0.09467, allocations: 7.099 MB / 0.5914 GB, free: 1.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.09477, allocations: 111.8 kB / 0.5915 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.09675, allocations: 1.106 MB / 0.5926 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.09699, allocations: 45.7 kB / 0.5926 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.09744, allocations: 0.5053 MB / 0.5931 GB, free: 15.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.0979, allocations: 376.7 kB / 0.5935 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/0.09842, allocations: 279.5 kB / 0.5937 GB, free: 14.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.09855, allocations: 309.1 kB / 0.594 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.1003, allocations: 0.8193 MB / 0.5948 GB, free: 13.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.1022, allocations: 0.9961 MB / 0.5958 GB, free: 12.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02753/0.1297, allocations: 5.985 MB / 0.6017 GB, free: 6.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.1297, allocations: 0 / 0.6017 GB, free: 6.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01519/0.1449, allocations: 4.446 MB / 0.606 GB, free: 1.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.145, allocations: 65.91 kB / 0.6061 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.145, allocations: 8 kB / 0.6061 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/0.1516, allocations: 1.623 MB / 0.6077 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.1535, allocations: 283.6 kB / 0.6079 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/0.1758, allocations: 8.308 MB / 0.616 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.1782, allocations: 203.2 kB / 0.6162 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.1784, allocations: 59.91 kB / 0.6163 GB, free: 7.164 MB / 478.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007705/0.1791, allocations: 308.5 kB / 0.6166 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.1794, allocations: 135.1 kB / 0.6167 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.1936, allocations: 3.894 MB / 0.6205 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.1936, allocations: 12 kB / 0.6205 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.1937, allocations: 8 kB / 0.6205 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.1937, allocations: 3.984 kB / 0.6205 GB, free: 2.762 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.01649/0.2102, allocations: 4.935 MB / 0.6254 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.2102, allocations: 0 / 0.6254 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.211, allocations: 103.8 kB / 0.6255 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006082/0.2171, allocations: 1.582 MB / 0.627 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/0.2173, allocations: 23.98 kB / 0.627 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/0.2399, allocations: 9.205 MB / 0.636 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2399, allocations: 0 / 0.636 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.2562, allocations: 4.813 MB / 0.6407 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/0.2568, allocations: 150.9 kB / 0.6409 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.2571, allocations: 24 kB / 0.6409 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.2584, allocations: 107.9 kB / 0.641 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/0.2591, allocations: 200.6 kB / 0.6412 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.869e-05/0.2592, allocations: 32.09 kB / 0.6412 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001312/0.2605, allocations: 0.7428 MB / 0.6419 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2605, allocations: 0 / 0.6419 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001937/0.2624, allocations: 495.6 kB / 0.6424 GB, free: 12.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000406/0.2628, allocations: 143 kB / 0.6425 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007435/0.2702, allocations: 2.514 MB / 0.645 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2703, allocations: 0 / 0.645 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/0.275, allocations: 1.549 MB / 0.6465 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.2767, allocations: 111.4 kB / 0.6466 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.2815, allocations: 2.272 MB / 0.6488 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.2821, allocations: 0.5359 MB / 0.6494 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.2826, allocations: 120 kB / 0.6495 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2829, allocations: 80.48 kB / 0.6495 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.2829, allocations: 0 / 0.6495 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.04505/0.328, allocations: 26.46 MB / 0.6754 GB, free: 10.15 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.463584259152412] Failed to read output from testmodel.py, exit status != 0: 0.3368443511426449 0.35189517000000003 0.324467465 Calling exit ...