Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09079/0.09079, allocations: 12.36 MB / 31.96 MB, free: 6.43 MB / 26.18 MB " [Timeout remaining time 180] 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.001443/0.001443, allocations: 113 kB / 38 MB, free: 1.109 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 207.7 MB / 251.6 MB, free: 7.289 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.002219/0.002219, allocations: 204.4 kB / 306.9 MB, free: 324 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3364/0.3364, allocations: 79.73 MB / 441.7 MB, free: 12.29 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004358/0.004358, allocations: 149 kB / 0.5887 GB, free: 8.859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1689, allocations: 71.97 MB / 0.659 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.377/0.5459, allocations: 5.702 MB / 0.6646 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.5505, allocations: 1.756 MB / 0.6663 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.5512, allocations: 14.94 kB / 0.6663 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.5517, allocations: 228.1 kB / 0.6665 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.5535, allocations: 0.7474 MB / 0.6673 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.555, allocations: 0.6101 MB / 0.6679 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.5565, allocations: 1.415 MB / 0.6692 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.5569, allocations: 214.9 kB / 0.6694 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007398/0.5577, allocations: 0.6109 MB / 0.67 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.5584, allocations: 0.6724 MB / 0.6707 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.5586, allocations: 106.2 kB / 0.6708 GB, free: 5.012 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.5592, allocations: 235.6 kB / 0.671 GB, free: 4.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.5594, allocations: 280 kB / 0.6713 GB, free: 4.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.5598, allocations: 0.5083 MB / 0.6718 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.5615, allocations: 1.546 MB / 0.6733 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5615, allocations: 0 / 0.6733 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5615, allocations: 0 / 0.6733 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.5616, allocations: 3.938 kB / 0.6733 GB, free: 3.766 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007705/0.5693, allocations: 2.521 MB / 0.6758 GB, free: 2.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5693, allocations: 10.56 kB / 0.6758 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.5741, allocations: 0.7852 MB / 0.6765 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.5755, allocations: 0.7237 MB / 0.6772 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.5757, allocations: 310.6 kB / 0.6775 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.5759, allocations: 85.55 kB / 0.6776 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5781, allocations: 1.07 MB / 0.6787 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.5782, allocations: 3.938 kB / 0.6787 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.5782, allocations: 34.05 kB / 0.6787 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.5783, allocations: 18.75 kB / 0.6787 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.5808, allocations: 1.118 MB / 0.6798 GB, free: 0.8867 MB / 462.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.005602/0.5864, allocations: 2.505 MB / 0.6823 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.5884, allocations: 0.8851 MB / 0.6831 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.5901, allocations: 0.7013 MB / 0.6838 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5902, allocations: 11.56 kB / 0.6838 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.5902, allocations: 45.2 kB / 0.6839 GB, free: 15.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.316e-06/0.5903, allocations: 0 / 0.6839 GB, free: 15.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02741/0.6177, allocations: 6.501 MB / 0.6902 GB, free: 12.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.6178, allocations: 62.16 kB / 0.6903 GB, free: 12.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.6194, allocations: 0.8927 MB / 0.6911 GB, free: 12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.6197, allocations: 41.11 kB / 0.6912 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.6202, allocations: 0.5016 MB / 0.6917 GB, free: 11.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.6206, allocations: 358.8 kB / 0.692 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.6211, allocations: 197.4 kB / 0.6922 GB, free: 11.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.6213, allocations: 344.2 kB / 0.6925 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.6234, allocations: 0.719 MB / 0.6932 GB, free: 10.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.6255, allocations: 0.8438 MB / 0.6941 GB, free: 9.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/0.6453, allocations: 4.808 MB / 0.6987 GB, free: 7.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.6453, allocations: 1.312 kB / 0.6987 GB, free: 7.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01595/0.6613, allocations: 4.265 MB / 0.7029 GB, free: 5.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.6613, allocations: 6.344 kB / 0.7029 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.6614, allocations: 2.625 kB / 0.7029 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/0.6686, allocations: 1.791 MB / 0.7047 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.67, allocations: 203.7 kB / 0.7049 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.6931, allocations: 8.996 MB / 0.7137 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6949, allocations: 179.2 kB / 0.7138 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.695, allocations: 35.98 kB / 0.7139 GB, free: 10.76 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006005/0.6956, allocations: 252.4 kB / 0.7141 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.6958, allocations: 123.2 kB / 0.7142 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.7115, allocations: 3.975 MB / 0.7181 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.7115, allocations: 9.172 kB / 0.7181 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7115, allocations: 7.875 kB / 0.7181 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/0.7116, allocations: 3.984 kB / 0.7181 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.7276, allocations: 4.879 MB / 0.7229 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.7276, allocations: 0 / 0.7229 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.7286, allocations: 131.8 kB / 0.723 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006449/0.735, allocations: 1.741 MB / 0.7247 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003102/0.7353, allocations: 23.92 kB / 0.7247 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.7562, allocations: 7.756 MB / 0.7323 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7562, allocations: 0 / 0.7323 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.7729, allocations: 4.933 MB / 0.7371 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.7735, allocations: 132.6 kB / 0.7372 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/0.7741, allocations: 16 kB / 0.7373 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.7755, allocations: 111.9 kB / 0.7374 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009119/0.7764, allocations: 228.6 kB / 0.7376 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.7766, allocations: 24 kB / 0.7376 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001156/0.7777, allocations: 0.5887 MB / 0.7382 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7777, allocations: 0 / 0.7382 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002026/0.7798, allocations: 443.6 kB / 0.7386 GB, free: 1.215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004431/0.7802, allocations: 127.1 kB / 0.7387 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007641/0.7878, allocations: 2.376 MB / 0.741 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7879, allocations: 0 / 0.741 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/0.7931, allocations: 1.534 MB / 0.7425 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7945, allocations: 88.42 kB / 0.7426 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.7998, allocations: 2.082 MB / 0.7447 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/0.8005, allocations: 0.5017 MB / 0.7452 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.8009, allocations: 79.41 kB / 0.7452 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.8009, allocations: 0 / 0.7452 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.03646/0.8374, allocations: 20.78 MB / 0.7655 GB, free: 5.551 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.475585861131549] Failed to read output from testmodel.py, exit status != 0: 0.8478966755792499 0.861917862 0.29730719199999994 Calling exit ...