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.001389/0.001389, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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 0.9377/0.9377, allocations: 177.2 MB / 200 MB, free: 5.543 MB / 186.7 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.001268/0.001268, allocations: 172.3 kB / 256.6 MB, free: 13 MB / 250.7 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.2959/0.2959, allocations: 80.24 MB / 393.4 MB, free: 2.172 MB / 314.7 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.423e-06/1.423e-06, allocations: 0 / 489.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.769e-05, allocations: 5.688 kB / 489.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00515/0.005168, allocations: 6.123 MB / 495.9 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.00824, allocations: 1.914 MB / 497.9 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.008675, allocations: 15.94 kB / 497.9 MB, free: 3.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.009076, allocations: 237.9 kB / 498.1 MB, free: 3.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01037, allocations: 0.7827 MB / 498.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.01124, allocations: 0.6249 MB / 499.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.01244, allocations: 1.452 MB / 0.4892 GB, free: 400 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.01275, allocations: 217.3 kB / 0.4894 GB, free: 172 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.01356, allocations: 0.8385 MB / 0.4903 GB, free: 15.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.01409, allocations: 0.5724 MB / 0.4908 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.01421, allocations: 102.4 kB / 0.4909 GB, free: 14.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.0146, allocations: 243.7 kB / 0.4911 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.01478, allocations: 286.7 kB / 0.4914 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.0151, allocations: 410.6 kB / 0.4918 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.01631, allocations: 1.159 MB / 0.4929 GB, free: 12.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01631, allocations: 0 / 0.4929 GB, free: 12.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01631, allocations: 1 kB / 0.4929 GB, free: 12.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.01633, allocations: 0 / 0.4929 GB, free: 12.57 MB / 426.7 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.004276/0.0206, allocations: 2.639 MB / 0.4955 GB, free: 9.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.02064, allocations: 8.031 kB / 0.4955 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.02338, allocations: 0.9587 MB / 0.4965 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.02415, allocations: 0.7195 MB / 0.4972 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.02434, allocations: 315.5 kB / 0.4975 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.02445, allocations: 76 kB / 0.4975 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.02539, allocations: 0.6755 MB / 0.4982 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.02541, allocations: 0 / 0.4982 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.02547, allocations: 28 kB / 0.4982 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.02548, allocations: 23.94 kB / 0.4982 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.02623, allocations: 479.6 kB / 0.4987 GB, free: 6.559 MB / 426.7 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.002993/0.02922, allocations: 2.338 MB / 0.501 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.02992, allocations: 0.4995 MB / 0.5015 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.03035, allocations: 327.1 kB / 0.5018 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.723e-05/0.03043, allocations: 17 kB / 0.5018 GB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.03045, allocations: 54.33 kB / 0.5019 GB, free: 3.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 1.994e-06/0.03046, allocations: 0 / 0.5019 GB, free: 3.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01012/0.04058, allocations: 4.623 MB / 0.5064 GB, free: 14.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.04061, allocations: 60.41 kB / 0.5064 GB, free: 14.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.04133, allocations: 0.871 MB / 0.5073 GB, free: 13.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.0414, allocations: 41.7 kB / 0.5073 GB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.04167, allocations: 0.5549 MB / 0.5079 GB, free: 13.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.04192, allocations: 352.9 kB / 0.5082 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.04216, allocations: 196.5 kB / 0.5084 GB, free: 12.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.04228, allocations: 0.516 MB / 0.5089 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.04277, allocations: 294.5 kB / 0.5092 GB, free: 11.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.04331, allocations: 463 kB / 0.5096 GB, free: 11.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.04479, allocations: 1.183 MB / 0.5108 GB, free: 9.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.04479, allocations: 8 kB / 0.5108 GB, free: 9.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005359/0.05015, allocations: 2.813 MB / 0.5135 GB, free: 7.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.05017, allocations: 8 kB / 0.5135 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.05018, allocations: 0 / 0.5135 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/0.05582, allocations: 1.947 MB / 0.5154 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.05642, allocations: 191.7 kB / 0.5156 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.06391, allocations: 4.64 MB / 0.5201 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.06472, allocations: 147.3 kB / 0.5203 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.06479, allocations: 35.98 kB / 0.5203 GB, free: 56 kB / 442.7 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.0003261/0.06511, allocations: 223 kB / 0.5205 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.0653, allocations: 151.2 kB / 0.5207 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.07016, allocations: 2.616 MB / 0.5232 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.07017, allocations: 16 kB / 0.5232 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.07018, allocations: 0 / 0.5232 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.07019, allocations: 15.91 kB / 0.5233 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.07609, allocations: 3.496 MB / 0.5267 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.07609, allocations: 3.938 kB / 0.5267 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.07642, allocations: 119.8 kB / 0.5268 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/0.08117, allocations: 1.829 MB / 0.5286 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.08126, allocations: 16 kB / 0.5286 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/0.08781, allocations: 4.308 MB / 0.5328 GB, free: 3.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08781, allocations: 0 / 0.5328 GB, free: 3.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.09338, allocations: 3.013 MB / 0.5357 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.09363, allocations: 131.2 kB / 0.5359 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.09373, allocations: 19.75 kB / 0.5359 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.09417, allocations: 83.91 kB / 0.536 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/0.09459, allocations: 216.6 kB / 0.5362 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.09464, allocations: 20 kB / 0.5362 GB, free: 15.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004528/0.09509, allocations: 0.5535 MB / 0.5367 GB, free: 15.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09509, allocations: 0 / 0.5367 GB, free: 15.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009319/0.09602, allocations: 439.5 kB / 0.5372 GB, free: 14.58 MB / 474.7 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.0002616/0.09628, allocations: 131.1 kB / 0.5373 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.09899, allocations: 1.601 MB / 0.5388 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.09899, allocations: 0 / 0.5388 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.1008, allocations: 1.179 MB / 0.54 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.1012, allocations: 100.4 kB / 0.5401 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1041, allocations: 1.844 MB / 0.5419 GB, free: 9.633 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1042, allocations: 216.9 kB / 0.5421 GB, free: 9.402 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1045, allocations: 94.67 kB / 0.5422 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1046, allocations: 72.48 kB / 0.5423 GB, free: 9.234 MB / 474.7 MB Notification: Performance of SimCode: time 1.864e-06/0.1046, allocations: 0 / 0.5423 GB, free: 9.234 MB / 474.7 MB Notification: Performance of Templates: time 0.02844/0.1331, allocations: 26.43 MB / 0.5681 GB, free: 14.83 MB / 0.4948 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.823417463339865]