Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.0009098/0.0009098, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.01/1.01, allocations: 177.2 MB / 200.3 MB, free: 5.652 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.00155/0.00155, allocations: 164.2 kB / 257 MB, free: 12.94 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02894/0.02894, allocations: 6.661 MB / 266.9 MB, free: 3.195 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 285.7 MB, free: 384 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.814e-05, allocations: 2.312 kB / 285.7 MB, free: 380 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1309/0.1309, allocations: 24.04 MB / 309.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1445, allocations: 8.351 MB / 318.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004084/0.1486, allocations: 203 kB / 318.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007997/0.1566, allocations: 6.457 MB / 324.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.1631, allocations: 2.83 MB / 327.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.1659, allocations: 1.639 MB / 329.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006833/0.1727, allocations: 7.637 MB / 336.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009427/0.1821, allocations: 9.287 MB / 346.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.188, allocations: 5.78 MB / 352 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.1918, allocations: 4.093 MB / 356.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.1928, allocations: 1.062 MB / 357.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.1947, allocations: 1.464 MB / 358.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.1961, allocations: 2.213 MB / 360.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.198, allocations: 2.784 MB / 363.6 MB, free: 276 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005887/0.2039, allocations: 6.992 MB / 370.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2039, allocations: 0 / 370.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2039, allocations: 0 / 370.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.983e-05/0.204, allocations: 0 / 370.6 MB, free: 9.254 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.0106/0.2146, allocations: 8.414 MB / 379 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2146, allocations: 8.031 kB / 379 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.2285, allocations: 4.543 MB / 383.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.2325, allocations: 2.533 MB / 386.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.2327, allocations: 485.1 kB / 386.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009343/0.2336, allocations: 0.6304 MB / 387.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/0.2395, allocations: 5.273 MB / 392.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.2396, allocations: 11.89 kB / 392.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/0.24, allocations: 260 kB / 392.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/0.2403, allocations: 421.6 kB / 393.1 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.2445, allocations: 2.74 MB / 395.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.2655, allocations: 21.01 MB / 416.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/0.2706, allocations: 4.06 MB / 420.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.2715, allocations: 0.7933 MB / 421.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.2717, allocations: 98.25 kB / 421.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.2717, allocations: 64.89 kB / 421.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.19e-06/0.2717, allocations: 0 / 421.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.007854/0.2796, allocations: 4.631 MB / 426.5 MB, free: 132 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2796, allocations: 85.72 kB / 426.6 MB, free: 32 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1275/0.4071, allocations: 1.951 MB / 428.6 MB, free: 79.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004379/0.4075, allocations: 74.2 kB / 428.6 MB, free: 79.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4087, allocations: 2.731 MB / 431.4 MB, free: 78.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/0.4096, allocations: 1.078 MB / 432.4 MB, free: 78.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009284/0.4105, allocations: 0.8401 MB / 433.3 MB, free: 77.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.918e-05/0.4105, allocations: 304.6 kB / 433.6 MB, free: 77.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/0.4114, allocations: 0.5795 MB / 434.2 MB, free: 77.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.4128, allocations: 2.184 MB / 436.3 MB, free: 75.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.4155, allocations: 3.198 MB / 439.5 MB, free: 73.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-05/0.4155, allocations: 15.5 kB / 439.5 MB, free: 73.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004131/0.4196, allocations: 2.986 MB / 442.5 MB, free: 73.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4197, allocations: 28.22 kB / 442.6 MB, free: 73.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-05/0.4197, allocations: 57.12 kB / 442.6 MB, free: 73.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4209, allocations: 0.5632 MB / 443.2 MB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.4229, allocations: 1.042 MB / 444.2 MB, free: 73.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.4262, allocations: 3.236 MB / 447.5 MB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.4285, allocations: 177.6 kB / 447.6 MB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/0.429, allocations: 183.2 kB / 447.8 MB, free: 71.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001464/0.4304, allocations: 420.1 kB / 448.2 MB, free: 71.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000585/0.431, allocations: 275.7 kB / 448.5 MB, free: 71.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.4337, allocations: 2.097 MB / 450.6 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.4337, allocations: 30.91 kB / 450.6 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4337, allocations: 5.844 kB / 450.6 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.4337, allocations: 14.86 kB / 450.6 MB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/0.4408, allocations: 5.061 MB / 455.7 MB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4408, allocations: 9.891 kB / 455.7 MB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.4419, allocations: 0.4987 MB / 456.2 MB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009387/0.4428, allocations: 482.5 kB / 456.7 MB, free: 70.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.443, allocations: 60.83 kB / 456.7 MB, free: 70.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.4457, allocations: 2.904 MB / 459.6 MB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4457, allocations: 7.781 kB / 459.6 MB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.4488, allocations: 2.481 MB / 462.1 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/0.4497, allocations: 387.4 kB / 462.5 MB, free: 67.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.45, allocations: 57.12 kB / 462.6 MB, free: 67.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.4508, allocations: 76.09 kB / 462.6 MB, free: 67.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.451, allocations: 220.1 kB / 462.9 MB, free: 67.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.4511, allocations: 64.45 kB / 462.9 MB, free: 67.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008952/0.452, allocations: 0.8847 MB / 463.8 MB, free: 67.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.452, allocations: 0 / 463.8 MB, free: 67.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003022/0.4551, allocations: 1.167 MB / 465 MB, free: 66.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004132/0.4555, allocations: 228.6 kB / 465.2 MB, free: 65.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.4587, allocations: 2.374 MB / 467.6 MB, free: 64.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.179e-05/0.4588, allocations: 56.81 kB / 467.6 MB, free: 64.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4602, allocations: 1.188 MB / 468.8 MB, free: 63.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.4623, allocations: 0.5928 MB / 469.4 MB, free: 62.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.4749, allocations: 9.2 MB / 478.6 MB, free: 55.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.4763, allocations: 1.213 MB / 479.8 MB, free: 54.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00161/0.4779, allocations: 0.5312 MB / 480.3 MB, free: 53.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.4791, allocations: 0.6714 MB / 481 MB, free: 52.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4791, allocations: 0 / 481 MB, free: 52.92 MB / 378.7 MB Notification: Performance of Templates: time 0.06092/0.54, allocations: 46.89 MB / 0.5155 GB, free: 6.926 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9899000241421163]