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.002377/0.002377, allocations: 89.48 kB / 19.44 MB, free: 336 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 1.56/1.56, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.002156/0.002156, allocations: 164.3 kB / 256.3 MB, free: 13.17 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.04146/0.04146, allocations: 6.655 MB / 319.4 MB, free: 26.57 MB / 266.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.333e-06/1.333e-06, allocations: 0 / 391 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.704e-05, allocations: 2.312 kB / 391 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1724/0.1724, allocations: 24.56 MB / 415.5 MB, free: 69.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01754/0.19, allocations: 7.997 MB / 423.5 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005765/0.1957, allocations: 200.7 kB / 423.7 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01454/0.2103, allocations: 6.443 MB / 430.2 MB, free: 64.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.2206, allocations: 2.849 MB / 433 MB, free: 62.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.2258, allocations: 1.658 MB / 434.7 MB, free: 60.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008953/0.2347, allocations: 7.622 MB / 442.3 MB, free: 56.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.2466, allocations: 9.03 MB / 451.3 MB, free: 47.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009628/0.2562, allocations: 5.694 MB / 457 MB, free: 41.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006907/0.2631, allocations: 3.98 MB / 461 MB, free: 37.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.2655, allocations: 1.07 MB / 462.1 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.2697, allocations: 1.456 MB / 463.5 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.2719, allocations: 2.225 MB / 465.7 MB, free: 32.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005715/0.2776, allocations: 2.791 MB / 468.5 MB, free: 29.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.291, allocations: 14.79 MB / 483.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.291, allocations: 0 / 483.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.291, allocations: 0 / 483.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000323/0.2913, allocations: 0 / 483.3 MB, free: 14.94 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.02402/0.3154, allocations: 10.14 MB / 493.5 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3154, allocations: 8.031 kB / 493.5 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/0.3399, allocations: 5.487 MB / 499 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.3523, allocations: 4.487 MB / 0.4916 GB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005812/0.3529, allocations: 485 kB / 0.4921 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.3553, allocations: 0.6288 MB / 0.4927 GB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.3821, allocations: 10.59 MB / 0.5031 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/0.3823, allocations: 7.953 kB / 0.5031 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007907/0.3831, allocations: 268 kB / 0.5033 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000525/0.3836, allocations: 417.6 kB / 0.5037 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.404, allocations: 8.736 MB / 0.5123 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2266/0.6306, allocations: 56.73 MB / 0.5677 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/0.6449, allocations: 6.338 MB / 0.5738 GB, free: 99.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.6476, allocations: 1.823 MB / 0.5756 GB, free: 99.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.6479, allocations: 97.19 kB / 0.5757 GB, free: 99.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.6479, allocations: 66.19 kB / 0.5758 GB, free: 99.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 5.601e-06/0.6479, allocations: 1.969 kB / 0.5758 GB, free: 99.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.01789/0.6658, allocations: 9.475 MB / 0.585 GB, free: 95.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.6658, allocations: 84.47 kB / 0.5851 GB, free: 95.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004659/0.6705, allocations: 3.885 MB / 0.5889 GB, free: 93.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004672/0.671, allocations: 72.3 kB / 0.589 GB, free: 93.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.6725, allocations: 3.321 MB / 0.5922 GB, free: 90.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009636/0.6734, allocations: 1.183 MB / 0.5934 GB, free: 89.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.6749, allocations: 1.181 MB / 0.5945 GB, free: 89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.675, allocations: 488.4 kB / 0.595 GB, free: 88.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.6772, allocations: 1.621 MB / 0.5966 GB, free: 87.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/0.6802, allocations: 4.33 MB / 0.6008 GB, free: 82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/0.6862, allocations: 6.504 MB / 0.6072 GB, free: 74.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.519e-05/0.6862, allocations: 16 kB / 0.6072 GB, free: 74.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.00934/0.6956, allocations: 6.087 MB / 0.6131 GB, free: 68.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.6956, allocations: 28 kB / 0.6131 GB, free: 68.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-05/0.6957, allocations: 56.22 kB / 0.6132 GB, free: 68.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.6978, allocations: 0.7733 MB / 0.614 GB, free: 67.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/0.7014, allocations: 1.072 MB / 0.615 GB, free: 66.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.7089, allocations: 6.659 MB / 0.6215 GB, free: 59.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/0.7124, allocations: 271.7 kB / 0.6218 GB, free: 59.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005039/0.7129, allocations: 228 kB / 0.622 GB, free: 59.08 MB / 394.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.00284/0.7157, allocations: 2.142 MB / 0.6241 GB, free: 56.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008181/0.7165, allocations: 409.9 kB / 0.6245 GB, free: 56.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/0.7229, allocations: 4.117 MB / 0.6285 GB, free: 52.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7229, allocations: 28 kB / 0.6285 GB, free: 52.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7229, allocations: 8 kB / 0.6285 GB, free: 52.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.7229, allocations: 15.94 kB / 0.6285 GB, free: 52.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.7411, allocations: 11.69 MB / 0.64 GB, free: 40.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.7411, allocations: 4 kB / 0.64 GB, free: 40.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/0.7431, allocations: 0.5344 MB / 0.6405 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.745, allocations: 0.6673 MB / 0.6411 GB, free: 39.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/0.7453, allocations: 63.98 kB / 0.6412 GB, free: 39.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.7517, allocations: 5.891 MB / 0.6469 GB, free: 33.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7517, allocations: 4 kB / 0.6469 GB, free: 33.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/0.7596, allocations: 5.585 MB / 0.6524 GB, free: 27.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/0.7613, allocations: 0.5876 MB / 0.653 GB, free: 26.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004988/0.7618, allocations: 63.94 kB / 0.653 GB, free: 26.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.7639, allocations: 143.8 kB / 0.6532 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005734/0.7645, allocations: 217.8 kB / 0.6534 GB, free: 26.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/0.7648, allocations: 91.98 kB / 0.6535 GB, free: 26.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003815/0.7686, allocations: 2.046 MB / 0.6555 GB, free: 24.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7686, allocations: 4.031 kB / 0.6555 GB, free: 24.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005975/0.7746, allocations: 1.176 MB / 0.6566 GB, free: 23.07 MB / 394.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.0007013/0.7753, allocations: 225.9 kB / 0.6568 GB, free: 22.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.7866, allocations: 4.677 MB / 0.6614 GB, free: 18.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.7866, allocations: 0 / 0.6614 GB, free: 18.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.7917, allocations: 2.084 MB / 0.6634 GB, free: 16.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/0.7963, allocations: 0.611 MB / 0.664 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/0.8204, allocations: 10.47 MB / 0.6743 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004166/0.8245, allocations: 3.373 MB / 0.6776 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00314/0.8277, allocations: 1.105 MB / 0.6786 GB, free: 280 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007982/0.8285, allocations: 276.4 kB / 0.6789 GB, free: 4 kB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.8285, allocations: 3.938 kB / 0.6789 GB, free: 0 / 394.7 MB Notification: Performance of Templates: time 0.2511/1.08, allocations: 43.01 MB / 0.7209 GB, free: 129.2 MB / 426.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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.161319404025562]