Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.001674/0.001674, allocations: 79.28 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.432/1.432, allocations: 177.1 MB / 199.4 MB, free: 8.453 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.00162/0.00162, allocations: 154.2 kB / 256 MB, free: 4.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6406/0.6406, allocations: 80.25 MB / 392.6 MB, free: 29.73 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5553 GB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.771e-05, allocations: 2.281 kB / 0.5553 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005861/0.005889, allocations: 5.679 MB / 0.5608 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.01018, allocations: 1.872 MB / 0.5627 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.01144, allocations: 14.94 kB / 0.5627 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.01213, allocations: 221.3 kB / 0.5629 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.01456, allocations: 0.7693 MB / 0.5636 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.01616, allocations: 0.6355 MB / 0.5643 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.01811, allocations: 1.455 MB / 0.5657 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.01853, allocations: 215.8 kB / 0.5659 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.01967, allocations: 0.8363 MB / 0.5667 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.02039, allocations: 0.5638 MB / 0.5673 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.02056, allocations: 99.75 kB / 0.5674 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.02121, allocations: 252 kB / 0.5676 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.02144, allocations: 284.2 kB / 0.5679 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.02184, allocations: 412.8 kB / 0.5683 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.02345, allocations: 1.566 MB / 0.5698 GB, free: 4.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.02345, allocations: 4 kB / 0.5698 GB, free: 4.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02346, allocations: 0 / 0.5698 GB, free: 4.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.02348, allocations: 0 / 0.5698 GB, free: 4.414 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008295/0.03178, allocations: 2.513 MB / 0.5722 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.03184, allocations: 9.812 kB / 0.5723 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.03722, allocations: 0.8193 MB / 0.5731 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.03865, allocations: 0.7186 MB / 0.5738 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.03896, allocations: 307.2 kB / 0.5741 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.03912, allocations: 79.5 kB / 0.5741 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.04183, allocations: 1.07 MB / 0.5752 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.04185, allocations: 1.625 kB / 0.5752 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.04195, allocations: 29.75 kB / 0.5752 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.04197, allocations: 22.84 kB / 0.5752 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.04462, allocations: 1.115 MB / 0.5763 GB, free: 480 kB / 430.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.006334/0.05095, allocations: 2.498 MB / 0.5788 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.05317, allocations: 0.8653 MB / 0.5796 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.05492, allocations: 0.6953 MB / 0.5803 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.924e-05/0.05501, allocations: 17 kB / 0.5803 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.05507, allocations: 47.5 kB / 0.5803 GB, free: 12.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.05507, allocations: 0 / 0.5803 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.02989/0.08496, allocations: 6.642 MB / 0.5868 GB, free: 5.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.08502, allocations: 64.34 kB / 0.5869 GB, free: 5.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.08641, allocations: 0.88 MB / 0.5877 GB, free: 4.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.08665, allocations: 41.7 kB / 0.5878 GB, free: 4.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.08711, allocations: 0.5013 MB / 0.5883 GB, free: 4.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.08754, allocations: 349 kB / 0.5886 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/0.08796, allocations: 194.8 kB / 0.5888 GB, free: 3.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.08814, allocations: 349.9 kB / 0.5891 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.08999, allocations: 0.7092 MB / 0.5898 GB, free: 2.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.09193, allocations: 0.8267 MB / 0.5906 GB, free: 1.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02128/0.1132, allocations: 4.876 MB / 0.5954 GB, free: 12.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1132, allocations: 0 / 0.5954 GB, free: 12.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01544/0.1287, allocations: 4.18 MB / 0.5995 GB, free: 8.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1287, allocations: 4 kB / 0.5995 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1287, allocations: 4 kB / 0.5995 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006977/0.1357, allocations: 1.866 MB / 0.6013 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.1368, allocations: 195.8 kB / 0.6015 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/0.1604, allocations: 8.772 MB / 0.6101 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.1621, allocations: 179.2 kB / 0.6102 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.1623, allocations: 39.98 kB / 0.6103 GB, free: 13.56 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (104): * Single equations (assignments): 103 * 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 prepare postOptimizeDAE: time 0.0005335/0.1628, allocations: 248.3 kB / 0.6105 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.163, allocations: 123.2 kB / 0.6106 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.1777, allocations: 3.963 MB / 0.6145 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.1777, allocations: 15.98 kB / 0.6145 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1777, allocations: 4 kB / 0.6145 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.1777, allocations: 11.91 kB / 0.6145 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.194, allocations: 4.879 MB / 0.6193 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.1941, allocations: 3.938 kB / 0.6193 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.1949, allocations: 135.8 kB / 0.6194 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006532/0.2014, allocations: 1.738 MB / 0.6211 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.2016, allocations: 16 kB / 0.6211 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/0.2223, allocations: 7.748 MB / 0.6287 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2223, allocations: 0 / 0.6287 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.2394, allocations: 4.933 MB / 0.6335 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.2399, allocations: 131 kB / 0.6336 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.2401, allocations: 19.94 kB / 0.6337 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.2413, allocations: 111.9 kB / 0.6338 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008201/0.2421, allocations: 228.6 kB / 0.634 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.2422, allocations: 23.94 kB / 0.634 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009012/0.2431, allocations: 0.5927 MB / 0.6346 GB, free: 4.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2431, allocations: 4 kB / 0.6346 GB, free: 4.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001478/0.2446, allocations: 443.5 kB / 0.635 GB, free: 4.008 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0003462/0.2449, allocations: 123.1 kB / 0.6351 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007452/0.2524, allocations: 2.355 MB / 0.6374 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2524, allocations: 0.5625 kB / 0.6374 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005223/0.2576, allocations: 1.502 MB / 0.6389 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.2586, allocations: 88.42 kB / 0.639 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.2626, allocations: 1.944 MB / 0.6409 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.2632, allocations: 0.4945 MB / 0.6414 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003749/0.2636, allocations: 86.69 kB / 0.6414 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.2638, allocations: 72.47 kB / 0.6415 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/0.2638, allocations: 0 / 0.6415 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.04112/0.305, allocations: 24.5 MB / 0.6654 GB, free: 4.777 MB / 0.5138 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.590162578970194] Failed to read output from testmodel.py, exit status != 0: 0.3137845806777477 0.32927651499999994 0.302779196 Calling exit ...