Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.0008907/0.0008907, allocations: 80.88 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 0.9821/0.9821, allocations: 177.2 MB / 200.3 MB, free: 5.688 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.001207/0.001207, allocations: 156.6 kB / 257 MB, free: 12.98 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.02513/0.02513, allocations: 6.657 MB / 266.9 MB, free: 3.23 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.7 MB, free: 420 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.691e-05, allocations: 5.688 kB / 285.7 MB, free: 416 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1239/0.1239, allocations: 24.04 MB / 309.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.1376, allocations: 8.352 MB / 318.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.1407, allocations: 203 kB / 318.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.1473, allocations: 6.454 MB / 324.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.152, allocations: 2.837 MB / 327.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.1543, allocations: 1.638 MB / 329.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006225/0.1605, allocations: 7.649 MB / 336.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009211/0.1697, allocations: 9.283 MB / 346.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.1754, allocations: 5.78 MB / 352 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.179, allocations: 4.097 MB / 356.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008982/0.1799, allocations: 1.062 MB / 357.1 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.1816, allocations: 1.464 MB / 358.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.1827, allocations: 2.217 MB / 360.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.1848, allocations: 2.784 MB / 363.6 MB, free: 436 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.1905, allocations: 6.984 MB / 370.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1905, allocations: 4 kB / 370.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1905, allocations: 0 / 370.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.723e-05/0.1906, allocations: 3.938 kB / 370.6 MB, free: 9.414 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.01097/0.2016, allocations: 8.406 MB / 379 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2016, allocations: 8.031 kB / 379 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.2158, allocations: 4.546 MB / 383.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/0.2209, allocations: 2.529 MB / 386.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/0.2214, allocations: 485.1 kB / 386.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/0.2226, allocations: 0.6288 MB / 387.2 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00987/0.2325, allocations: 5.281 MB / 392.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.2326, allocations: 11.89 kB / 392.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007318/0.2333, allocations: 260 kB / 392.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/0.2336, allocations: 421.6 kB / 393.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/0.2396, allocations: 2.74 MB / 395.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.2713, allocations: 21.01 MB / 416.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.277, allocations: 4.054 MB / 420.9 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.2781, allocations: 0.7855 MB / 421.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.2783, allocations: 102.2 kB / 421.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.2783, allocations: 68.89 kB / 421.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.461e-06/0.2784, allocations: 0 / 421.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008954/0.2873, allocations: 4.627 MB / 426.5 MB, free: 304 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2874, allocations: 85.78 kB / 426.6 MB, free: 204 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1413/0.4287, allocations: 1.95 MB / 428.5 MB, free: 79.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004797/0.4292, allocations: 75.84 kB / 428.6 MB, free: 79.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4305, allocations: 2.731 MB / 431.3 MB, free: 78.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/0.4314, allocations: 1.074 MB / 432.4 MB, free: 78.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.4326, allocations: 0.8395 MB / 433.3 MB, free: 78.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.316e-05/0.4326, allocations: 305.2 kB / 433.6 MB, free: 77.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4338, allocations: 0.5821 MB / 434.1 MB, free: 77.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.4354, allocations: 2.192 MB / 436.3 MB, free: 75.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4383, allocations: 3.191 MB / 439.5 MB, free: 73.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.251e-05/0.4384, allocations: 16.44 kB / 439.5 MB, free: 73.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004364/0.4428, allocations: 2.988 MB / 442.5 MB, free: 73.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.4428, allocations: 29.84 kB / 442.6 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-05/0.4428, allocations: 52.97 kB / 442.6 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.444, allocations: 0.5666 MB / 443.2 MB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.4462, allocations: 1.047 MB / 444.2 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.4495, allocations: 3.234 MB / 447.5 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.4519, allocations: 172.3 kB / 447.6 MB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/0.4524, allocations: 186.7 kB / 447.8 MB, free: 72.05 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.001442/0.4538, allocations: 417.3 kB / 448.2 MB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.4544, allocations: 275.8 kB / 448.5 MB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.457, allocations: 2.09 MB / 450.6 MB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.4571, allocations: 30.91 kB / 450.6 MB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4571, allocations: 6.469 kB / 450.6 MB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.4571, allocations: 13.41 kB / 450.6 MB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/0.4643, allocations: 5.06 MB / 455.7 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.4643, allocations: 8.125 kB / 455.7 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.4654, allocations: 0.5055 MB / 456.2 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.4663, allocations: 481 kB / 456.7 MB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.4665, allocations: 61 kB / 456.7 MB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.4692, allocations: 2.912 MB / 459.6 MB, free: 69.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4692, allocations: 8.938 kB / 459.6 MB, free: 69.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.4725, allocations: 2.48 MB / 462.1 MB, free: 68.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/0.4734, allocations: 382.6 kB / 462.5 MB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.4738, allocations: 58.11 kB / 462.6 MB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.4745, allocations: 76.91 kB / 462.6 MB, free: 67.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.4748, allocations: 218.2 kB / 462.8 MB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.4749, allocations: 68.52 kB / 462.9 MB, free: 67.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009195/0.4758, allocations: 0.8859 MB / 463.8 MB, free: 67.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4758, allocations: 3.469 kB / 463.8 MB, free: 67.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003112/0.4789, allocations: 1.169 MB / 465 MB, free: 66.24 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.0004563/0.4794, allocations: 211.6 kB / 465.2 MB, free: 66.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.4827, allocations: 2.379 MB / 467.6 MB, free: 64.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001048/0.4828, allocations: 59.88 kB / 467.6 MB, free: 64.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.4841, allocations: 1.182 MB / 468.8 MB, free: 63.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.4861, allocations: 0.5985 MB / 469.4 MB, free: 63.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.4977, allocations: 9.197 MB / 478.6 MB, free: 55.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.4988, allocations: 1.211 MB / 479.8 MB, free: 54.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001493/0.5003, allocations: 0.539 MB / 480.3 MB, free: 53.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.5014, allocations: 0.6696 MB / 481 MB, free: 53.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.694e-06/0.5014, allocations: 0 / 481 MB, free: 53.18 MB / 378.7 MB Notification: Performance of Templates: time 0.05533/0.5567, allocations: 46.89 MB / 0.5155 GB, free: 7.141 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.073675652034581]