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.0008628/0.0008628, allocations: 80.81 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.9361/0.9361, 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.001117/0.001117, allocations: 156.6 kB / 257 MB, free: 12.95 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.02494/0.02494, allocations: 6.663 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_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.072e-06/1.072e-06, allocations: 0 / 285.7 MB, free: 424 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.22e-05, allocations: 5.547 kB / 285.7 MB, free: 420 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1125/0.1125, allocations: 23.99 MB / 309.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.1242, allocations: 8.348 MB / 318 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.1265, allocations: 203 kB / 318.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006529/0.133, allocations: 6.488 MB / 324.7 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.1372, allocations: 2.875 MB / 327.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.1395, allocations: 1.64 MB / 329.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006225/0.1458, allocations: 7.651 MB / 336.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008029/0.1538, allocations: 9.293 MB / 346.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/0.1585, allocations: 5.776 MB / 352 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.1615, allocations: 4.093 MB / 356.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.1625, allocations: 1.062 MB / 357.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.164, allocations: 1.441 MB / 358.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.1651, allocations: 2.221 MB / 360.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.1669, allocations: 2.787 MB / 363.6 MB, free: 436 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005327/0.1723, allocations: 6.98 MB / 370.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1723, allocations: 3.984 kB / 370.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1723, allocations: 0 / 370.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.253e-05/0.1724, allocations: 0 / 370.5 MB, free: 9.418 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.0113/0.1836, allocations: 8.406 MB / 379 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1837, allocations: 8.031 kB / 379 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.1956, allocations: 4.55 MB / 383.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/0.1999, allocations: 2.529 MB / 386 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.2001, allocations: 485.1 kB / 386.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/0.2008, allocations: 0.6249 MB / 387.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.2067, allocations: 5.277 MB / 392.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/0.2068, allocations: 11.94 kB / 392.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/0.2073, allocations: 268 kB / 392.7 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005854/0.2079, allocations: 421.6 kB / 393.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/0.2118, allocations: 2.736 MB / 395.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.2333, allocations: 21 MB / 416.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.2383, allocations: 4.06 MB / 420.9 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.2395, allocations: 0.7933 MB / 421.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.2396, allocations: 98.25 kB / 421.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2397, allocations: 64.89 kB / 421.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.288e-06/0.2397, allocations: 3.938 kB / 421.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.007571/0.2472, allocations: 4.644 MB / 426.5 MB, free: 300 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2473, allocations: 81.78 kB / 426.6 MB, free: 204 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.134/0.3813, allocations: 1.948 MB / 428.5 MB, free: 79.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005331/0.3818, allocations: 73.64 kB / 428.6 MB, free: 79.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.383, allocations: 2.731 MB / 431.3 MB, free: 78.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.3837, allocations: 1.079 MB / 432.4 MB, free: 78.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/0.3846, allocations: 0.8437 MB / 433.3 MB, free: 78.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.728e-05/0.3846, allocations: 304.8 kB / 433.5 MB, free: 77.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/0.3855, allocations: 0.5807 MB / 434.1 MB, free: 77.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3868, allocations: 2.183 MB / 436.3 MB, free: 75.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.3893, allocations: 3.198 MB / 439.5 MB, free: 73.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.3893, allocations: 19.78 kB / 439.5 MB, free: 73.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.003601/0.3929, allocations: 2.982 MB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.3929, allocations: 29.81 kB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.393, allocations: 59.38 kB / 442.6 MB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/0.3939, allocations: 0.5598 MB / 443.2 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.3956, allocations: 0.978 MB / 444.1 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3984, allocations: 3.205 MB / 447.3 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.3998, allocations: 172.4 kB / 447.5 MB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.4, allocations: 186.2 kB / 447.7 MB, free: 72.14 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.0009679/0.4009, allocations: 415.7 kB / 448.1 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.4013, allocations: 281.7 kB / 448.4 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.4037, allocations: 2.091 MB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.4037, allocations: 31.92 kB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4037, allocations: 7.219 kB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4037, allocations: 15.05 kB / 450.5 MB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.4095, allocations: 5.055 MB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4095, allocations: 7.656 kB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.4104, allocations: 473.9 kB / 456 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008646/0.4113, allocations: 483.6 kB / 456.5 MB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4114, allocations: 68.98 kB / 456.6 MB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.4137, allocations: 2.888 MB / 459.5 MB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4137, allocations: 14.75 kB / 459.5 MB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.4162, allocations: 2.476 MB / 462 MB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.4167, allocations: 384.4 kB / 462.3 MB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.4169, allocations: 63.12 kB / 462.4 MB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.4175, allocations: 77.83 kB / 462.5 MB, free: 68.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.4177, allocations: 211.6 kB / 462.7 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/0.4178, allocations: 65.52 kB / 462.7 MB, free: 68.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006008/0.4184, allocations: 0.8907 MB / 463.6 MB, free: 67.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 0 / 463.6 MB, free: 67.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001953/0.4204, allocations: 1.17 MB / 464.8 MB, free: 66.43 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.0002953/0.4207, allocations: 212 kB / 465 MB, free: 66.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.4229, allocations: 2.382 MB / 467.4 MB, free: 64.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.423e-05/0.423, allocations: 60 kB / 467.5 MB, free: 64.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.424, allocations: 1.185 MB / 468.6 MB, free: 63.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4253, allocations: 0.5853 MB / 469.2 MB, free: 63.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/0.4342, allocations: 9.197 MB / 478.4 MB, free: 55.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/0.4351, allocations: 1.213 MB / 479.6 MB, free: 54.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001082/0.4362, allocations: 0.5361 MB / 480.2 MB, free: 54.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.4372, allocations: 0.672 MB / 480.8 MB, free: 53.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4372, allocations: 0 / 480.8 MB, free: 53.41 MB / 378.7 MB Notification: Performance of Templates: time 0.05071/0.4879, allocations: 46.84 MB / 0.5153 GB, free: 7.398 MB / 378.7 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8133242898620665]