Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001451/0.001451, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.31/1.31, allocations: 230.6 MB / 253.5 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 179] 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.001439/0.001439, allocations: 213.9 kB / 310 MB, free: 3.07 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4273/0.4273, allocations: 79.75 MB / 446.2 MB, free: 40.38 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 90.36 kB / 0.5942 GB, free: 38.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.09114, allocations: 73.29 MB / 0.6657 GB, free: 8 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006751/0.09789, allocations: 5.807 MB / 0.6714 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.1014, allocations: 1.912 MB / 0.6733 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.1018, allocations: 12 kB / 0.6733 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.1024, allocations: 245.9 kB / 0.6735 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.1041, allocations: 0.8513 MB / 0.6744 GB, free: 8.359 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1052, allocations: 0.6354 MB / 0.675 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1069, allocations: 1.608 MB / 0.6765 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.1072, allocations: 222.8 kB / 0.6768 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.108, allocations: 0.6769 MB / 0.6774 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008818/0.1089, allocations: 0.7737 MB / 0.6782 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.109, allocations: 120 kB / 0.6783 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1095, allocations: 271.8 kB / 0.6785 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.1098, allocations: 330.6 kB / 0.6789 GB, free: 3.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.1103, allocations: 0.5438 MB / 0.6794 GB, free: 3.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.112, allocations: 1.708 MB / 0.6811 GB, free: 1.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.112, allocations: 0 / 0.6811 GB, free: 1.457 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.112, allocations: 4 kB / 0.6811 GB, free: 1.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.112, allocations: 0 / 0.6811 GB, free: 1.453 MB / 462.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.008146/0.1201, allocations: 2.812 MB / 0.6838 GB, free: 14.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1202, allocations: 16.03 kB / 0.6838 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.1249, allocations: 0.7952 MB / 0.6846 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.1263, allocations: 0.8268 MB / 0.6854 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.1267, allocations: 341.2 kB / 0.6857 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.1268, allocations: 83.98 kB / 0.6858 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.1289, allocations: 1.115 MB / 0.6869 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1289, allocations: 0 / 0.6869 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.129, allocations: 32 kB / 0.6869 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.129, allocations: 20 kB / 0.687 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.131, allocations: 1.009 MB / 0.6879 GB, free: 10.23 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 preOpt removeSimpleEquations (simulation): time 0.005678/0.1367, allocations: 2.843 MB / 0.6907 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.1437, allocations: 2.024 MB / 0.6927 GB, free: 5.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.145, allocations: 0.648 MB / 0.6933 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.932e-05/0.1451, allocations: 17 kB / 0.6933 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.1467, allocations: 0.8404 MB / 0.6942 GB, free: 3.742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.1467, allocations: 0 / 0.6942 GB, free: 3.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02656/0.1733, allocations: 6.955 MB / 0.701 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.1733, allocations: 111.8 kB / 0.7011 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.1749, allocations: 1.066 MB / 0.7021 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.175, allocations: 41.7 kB / 0.7021 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.1754, allocations: 0.5052 MB / 0.7026 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.1758, allocations: 368.9 kB / 0.703 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004733/0.1762, allocations: 275.5 kB / 0.7032 GB, free: 10.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1764, allocations: 305.1 kB / 0.7035 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.178, allocations: 0.8076 MB / 0.7043 GB, free: 9.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.1797, allocations: 0.9805 MB / 0.7053 GB, free: 8.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/0.2019, allocations: 5.758 MB / 0.7109 GB, free: 2.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.2019, allocations: 8 kB / 0.7109 GB, free: 2.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0128/0.2147, allocations: 4.34 MB / 0.7152 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.2148, allocations: 59.41 kB / 0.7152 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2148, allocations: 0 / 0.7152 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/0.22, allocations: 1.507 MB / 0.7167 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2213, allocations: 291.6 kB / 0.717 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.2401, allocations: 7.972 MB / 0.7247 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.2417, allocations: 191.1 kB / 0.7249 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.2418, allocations: 59.97 kB / 0.725 GB, free: 3.754 MB / 0.4981 GB 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.0005302/0.2424, allocations: 308.6 kB / 0.7253 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.2426, allocations: 123.2 kB / 0.7254 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.2548, allocations: 3.874 MB / 0.7292 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2549, allocations: 12 kB / 0.7292 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.2549, allocations: 11.94 kB / 0.7292 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.2549, allocations: 3.984 kB / 0.7292 GB, free: 15.38 MB / 0.5137 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.01361/0.2685, allocations: 4.884 MB / 0.734 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2685, allocations: 3.984 kB / 0.734 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.269, allocations: 99.91 kB / 0.7341 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005328/0.2744, allocations: 1.605 MB / 0.7356 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.2745, allocations: 23.98 kB / 0.7357 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.2941, allocations: 9.169 MB / 0.7446 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2941, allocations: 12.06 kB / 0.7446 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.3077, allocations: 4.762 MB / 0.7493 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.308, allocations: 154.8 kB / 0.7494 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.3082, allocations: 24 kB / 0.7495 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.3092, allocations: 107.9 kB / 0.7496 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/0.3098, allocations: 200.6 kB / 0.7497 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.3099, allocations: 31.94 kB / 0.7498 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001034/0.3109, allocations: 0.711 MB / 0.7505 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3109, allocations: 4 kB / 0.7505 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001229/0.3121, allocations: 475.7 kB / 0.7509 GB, free: 8.793 MB / 0.5294 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.3124, allocations: 135.1 kB / 0.7511 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00591/0.3183, allocations: 2.428 MB / 0.7534 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3183, allocations: 0 / 0.7534 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004171/0.3224, allocations: 1.577 MB / 0.755 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.3232, allocations: 119.2 kB / 0.7551 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.3271, allocations: 2.359 MB / 0.7574 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3276, allocations: 0.5276 MB / 0.7579 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.328, allocations: 87.41 kB / 0.758 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.328, allocations: 0 / 0.758 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.02952/0.3575, allocations: 24.19 MB / 0.7816 GB, free: 9.172 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.819447834976017] Failed to read output from testmodel.py, exit status != 0: 0.36489742691628635 0.378710643 0.263941364 Calling exit ...