Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.547/1.547, allocations: 230.6 MB / 252.7 MB, free: 14.28 MB / 206.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.001692/0.001692, allocations: 220.1 kB / 309.2 MB, free: 3.145 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.6424/0.6424, allocations: 107.3 MB / 473 MB, free: 29.83 MB / 350.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [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.002615/0.002615, allocations: 91.08 kB / 0.6337 GB, free: 29.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1615, allocations: 80.17 MB / 0.712 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007597/0.1691, allocations: 5.523 MB / 0.7174 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.1733, allocations: 1.826 MB / 0.7192 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.174, allocations: 11.94 kB / 0.7192 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.1746, allocations: 218.1 kB / 0.7194 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.1767, allocations: 0.7934 MB / 0.7202 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1781, allocations: 0.5788 MB / 0.7208 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.1798, allocations: 1.382 MB / 0.7221 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.1803, allocations: 188.3 kB / 0.7223 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.1812, allocations: 0.6107 MB / 0.7229 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008967/0.1821, allocations: 0.6959 MB / 0.7236 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.1822, allocations: 104 kB / 0.7237 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.1828, allocations: 251.8 kB / 0.7239 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.1831, allocations: 294.8 kB / 0.7242 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.1836, allocations: 0.5011 MB / 0.7247 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.1854, allocations: 1.521 MB / 0.7262 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1854, allocations: 4 kB / 0.7262 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1854, allocations: 0 / 0.7262 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.1854, allocations: 0 / 0.7262 GB, free: 8.527 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008688/0.1941, allocations: 2.468 MB / 0.7286 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1942, allocations: 16.02 kB / 0.7286 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.1993, allocations: 0.7641 MB / 0.7293 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.201, allocations: 0.7449 MB / 0.7301 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.2014, allocations: 359 kB / 0.7304 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.2016, allocations: 79.98 kB / 0.7305 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.2043, allocations: 1.178 MB / 0.7316 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2043, allocations: 7.938 kB / 0.7316 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.2044, allocations: 24 kB / 0.7317 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2044, allocations: 20 kB / 0.7317 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.2066, allocations: 0.9459 MB / 0.7326 GB, free: 1.762 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.006384/0.213, allocations: 2.644 MB / 0.7352 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007358/0.2203, allocations: 1.93 MB / 0.7371 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.2219, allocations: 0.5954 MB / 0.7376 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.222, allocations: 12.66 kB / 0.7377 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.2221, allocations: 39.22 kB / 0.7377 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.787e-06/0.2221, allocations: 0 / 0.7377 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.0286/0.2507, allocations: 6.701 MB / 0.7442 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2508, allocations: 93.83 kB / 0.7443 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.2523, allocations: 0.9366 MB / 0.7452 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.2525, allocations: 41.7 kB / 0.7453 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.2529, allocations: 477.2 kB / 0.7457 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.2534, allocations: 325.3 kB / 0.746 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/0.2538, allocations: 247.5 kB / 0.7463 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.2541, allocations: 353.9 kB / 0.7466 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.2556, allocations: 0.6871 MB / 0.7473 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.2574, allocations: 0.9029 MB / 0.7482 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/0.2813, allocations: 5.252 MB / 0.7533 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.2813, allocations: 4 kB / 0.7533 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01407/0.2954, allocations: 4.083 MB / 0.7573 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2954, allocations: 11.98 kB / 0.7573 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2954, allocations: 4 kB / 0.7573 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/0.3013, allocations: 1.527 MB / 0.7588 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.3026, allocations: 247.6 kB / 0.759 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.3238, allocations: 7.953 MB / 0.7668 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.3255, allocations: 167.3 kB / 0.767 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.3257, allocations: 55.97 kB / 0.767 GB, free: 14.05 MB / 0.545 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * 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,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006261/0.3263, allocations: 258.8 kB / 0.7673 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.3274, allocations: 341.4 kB / 0.7676 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.3403, allocations: 3.557 MB / 0.7711 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.3404, allocations: 15.94 kB / 0.7711 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.3404, allocations: 12 kB / 0.7711 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.3404, allocations: 3.984 kB / 0.7711 GB, free: 9.836 MB / 0.545 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.01572/0.3561, allocations: 4.562 MB / 0.7755 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.3562, allocations: 4 kB / 0.7756 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.3568, allocations: 115.8 kB / 0.7757 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.3628, allocations: 1.574 MB / 0.7772 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.363, allocations: 19.98 kB / 0.7772 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.3852, allocations: 10.33 MB / 0.7873 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3852, allocations: 3.938 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/0.4012, allocations: 4.586 MB / 0.7918 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.4017, allocations: 139.1 kB / 0.7919 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.402, allocations: 16 kB / 0.7919 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.403, allocations: 87.84 kB / 0.792 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/0.4036, allocations: 184.7 kB / 0.7922 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.4037, allocations: 20 kB / 0.7922 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000948/0.4046, allocations: 0.6308 MB / 0.7928 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.4046, allocations: 0 / 0.7928 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001467/0.4061, allocations: 435.7 kB / 0.7932 GB, free: 2.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.4064, allocations: 139 kB / 0.7934 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006533/0.4129, allocations: 2.158 MB / 0.7955 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4129, allocations: 64 / 0.7955 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/0.4172, allocations: 1.262 MB / 0.7967 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4187, allocations: 338.9 kB / 0.797 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.4229, allocations: 2.102 MB / 0.7991 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.4235, allocations: 497.8 kB / 0.7996 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003855/0.4239, allocations: 99.25 kB / 0.7997 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4241, allocations: 67.42 kB / 0.7997 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.4241, allocations: 0 / 0.7997 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.3495/0.7736, allocations: 24.72 MB / 0.8239 GB, free: 91.21 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.664282323792577] Failed to read output from testmodel.py, exit status != 0: 0.7823468074202538 0.79324821 0.605410354 Calling exit ...