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.08279/0.08279, allocations: 12.36 MB / 31.21 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.001338/0.001338, allocations: 113 kB / 37.25 MB, free: 1.113 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.485/1.485, allocations: 207.7 MB / 250.9 MB, free: 7.539 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.00165/0.00165, allocations: 216.3 kB / 306.1 MB, free: 440 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.3409/0.3409, allocations: 79.72 MB / 440.9 MB, free: 12.31 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.004378/0.004378, allocations: 147.8 kB / 0.588 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1489, allocations: 71.96 MB / 0.6583 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.282/0.431, allocations: 5.694 MB / 0.6638 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.4353, allocations: 1.755 MB / 0.6655 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.4366, allocations: 15.38 kB / 0.6656 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.4373, allocations: 222.4 kB / 0.6658 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.4397, allocations: 0.7577 MB / 0.6665 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.4415, allocations: 0.604 MB / 0.6671 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.4437, allocations: 1.418 MB / 0.6685 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.4441, allocations: 215.1 kB / 0.6687 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009493/0.4451, allocations: 0.6105 MB / 0.6693 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.4459, allocations: 0.6705 MB / 0.6699 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.4461, allocations: 102.5 kB / 0.67 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.4467, allocations: 240 kB / 0.6703 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.4469, allocations: 279.2 kB / 0.6705 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.4472, allocations: 0.5089 MB / 0.671 GB, free: 4.473 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.4489, allocations: 1.54 MB / 0.6725 GB, free: 3.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4489, allocations: 2.875 kB / 0.6725 GB, free: 3.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4489, allocations: 0 / 0.6725 GB, free: 3.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.449, allocations: 0 / 0.6725 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.008649/0.4576, allocations: 2.529 MB / 0.675 GB, free: 2.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4577, allocations: 8.938 kB / 0.675 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/0.4629, allocations: 0.7872 MB / 0.6758 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.4646, allocations: 0.7104 MB / 0.6765 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.4649, allocations: 315.3 kB / 0.6768 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.4651, allocations: 84.02 kB / 0.6769 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.4676, allocations: 1.079 MB / 0.6779 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4676, allocations: 3.938 kB / 0.6779 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.4677, allocations: 32.09 kB / 0.678 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4677, allocations: 18.61 kB / 0.678 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.4703, allocations: 1.117 MB / 0.6791 GB, free: 0.8828 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.006245/0.4765, allocations: 2.501 MB / 0.6815 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.4787, allocations: 0.901 MB / 0.6824 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.4806, allocations: 0.7002 MB / 0.6831 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4807, allocations: 13.16 kB / 0.6831 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.4808, allocations: 45.69 kB / 0.6831 GB, free: 15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.696e-06/0.4808, allocations: 4.688 kB / 0.6831 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02775/0.5085, allocations: 6.499 MB / 0.6895 GB, free: 12.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.5086, allocations: 61.91 kB / 0.6895 GB, free: 12.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.5101, allocations: 0.8931 MB / 0.6904 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003078/0.5104, allocations: 41.73 kB / 0.6904 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.5109, allocations: 0.5 MB / 0.6909 GB, free: 11.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.5113, allocations: 355.8 kB / 0.6913 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.5118, allocations: 194 kB / 0.6915 GB, free: 11.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5119, allocations: 351.1 kB / 0.6918 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5137, allocations: 0.716 MB / 0.6925 GB, free: 10.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.5157, allocations: 0.8438 MB / 0.6933 GB, free: 9.895 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/0.536, allocations: 4.8 MB / 0.698 GB, free: 7.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.536, allocations: 1.156 kB / 0.698 GB, free: 7.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01531/0.5513, allocations: 4.269 MB / 0.7022 GB, free: 5.449 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.5514, allocations: 5.969 kB / 0.7022 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5514, allocations: 2.625 kB / 0.7022 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/0.5585, allocations: 1.791 MB / 0.7039 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.5599, allocations: 215.7 kB / 0.7041 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.5844, allocations: 8.982 MB / 0.7129 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5863, allocations: 179.2 kB / 0.7131 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5864, allocations: 39.98 kB / 0.7131 GB, free: 10.74 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.0006025/0.587, allocations: 249.5 kB / 0.7134 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.5873, allocations: 131.1 kB / 0.7135 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.602, allocations: 3.971 MB / 0.7174 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.602, allocations: 8 kB / 0.7174 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.602, allocations: 7.875 kB / 0.7174 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.602, allocations: 7.984 kB / 0.7174 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.6186, allocations: 4.871 MB / 0.7221 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.6186, allocations: 0 / 0.7221 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/0.6194, allocations: 131.8 kB / 0.7223 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006618/0.626, allocations: 1.748 MB / 0.724 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002935/0.6263, allocations: 16 kB / 0.724 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/0.6474, allocations: 7.747 MB / 0.7316 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6474, allocations: 1.562 kB / 0.7316 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/0.6648, allocations: 4.933 MB / 0.7364 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.6652, allocations: 135 kB / 0.7365 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.6655, allocations: 17.12 kB / 0.7365 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6666, allocations: 107.9 kB / 0.7366 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007661/0.6674, allocations: 228.6 kB / 0.7368 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.6675, allocations: 25.2 kB / 0.7369 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008819/0.6683, allocations: 0.5927 MB / 0.7374 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6683, allocations: 0 / 0.7374 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001363/0.6697, allocations: 443.6 kB / 0.7379 GB, free: 1.195 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.0003149/0.67, allocations: 135.1 kB / 0.738 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007675/0.6777, allocations: 2.375 MB / 0.7403 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6777, allocations: 4 kB / 0.7403 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005335/0.683, allocations: 1.527 MB / 0.7418 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.6839, allocations: 85.03 kB / 0.7419 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.6882, allocations: 2.052 MB / 0.7439 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.6887, allocations: 0.5056 MB / 0.7444 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004003/0.6892, allocations: 85.61 kB / 0.7445 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.6894, allocations: 75.41 kB / 0.7445 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.6894, allocations: 3.938 kB / 0.7445 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.04509/0.7345, allocations: 26.08 MB / 0.77 GB, free: 136 kB / 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: 6.738292884081602] Failed to read output from testmodel.py, exit status != 0: 0.7440474014729261 0.760552525 0.30805462 Calling exit ...