Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.00154/0.00154, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9528/0.9528, allocations: 177.2 MB / 200.3 MB, free: 5.344 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.001106/0.001106, allocations: 164.3 kB / 257 MB, free: 12.8 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.0245/0.0245, allocations: 6.663 MB / 266.9 MB, free: 3.047 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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.486e-05, allocations: 9.344 kB / 285.7 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1144/0.1144, allocations: 23.98 MB / 309.7 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1266, allocations: 8.346 MB / 318 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.1294, allocations: 207 kB / 318.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006581/0.1359, allocations: 6.496 MB / 324.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.1407, allocations: 2.854 MB / 327.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.143, allocations: 1.659 MB / 329.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005785/0.1488, allocations: 7.647 MB / 336.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.1594, allocations: 9.285 MB / 346.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.1654, allocations: 5.784 MB / 351.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/0.1697, allocations: 4.086 MB / 356 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.1708, allocations: 1.07 MB / 357.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.1728, allocations: 1.437 MB / 358.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.1743, allocations: 2.221 MB / 360.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.177, allocations: 2.784 MB / 363.5 MB, free: 400 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006759/0.1837, allocations: 6.98 MB / 370.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1837, allocations: 0 / 370.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1837, allocations: 3.938 kB / 370.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.172e-05/0.1838, allocations: 0 / 370.5 MB, free: 9.383 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.01368/0.1975, allocations: 8.41 MB / 378.9 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1975, allocations: 12.03 kB / 378.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/0.215, allocations: 4.543 MB / 383.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.2186, allocations: 2.533 MB / 386 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.2188, allocations: 485.1 kB / 386.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006778/0.2195, allocations: 0.6288 MB / 387.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/0.2252, allocations: 5.273 MB / 392.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.2253, allocations: 11.94 kB / 392.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.2258, allocations: 260 kB / 392.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.2261, allocations: 421.6 kB / 393.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.23, allocations: 2.74 MB / 395.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.2495, allocations: 21 MB / 416.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/0.2545, allocations: 4.062 MB / 420.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.2553, allocations: 0.7894 MB / 421.6 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.2555, allocations: 98.25 kB / 421.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2555, allocations: 64.89 kB / 421.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.078e-06/0.2555, allocations: 0 / 421.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.00687/0.2624, allocations: 4.651 MB / 426.5 MB, free: 256 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2624, allocations: 81.78 kB / 426.5 MB, free: 160 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1136/0.376, allocations: 1.954 MB / 428.5 MB, free: 79.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004439/0.3765, allocations: 74.08 kB / 428.6 MB, free: 79.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3775, allocations: 2.726 MB / 431.3 MB, free: 78.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.3781, allocations: 1.076 MB / 432.4 MB, free: 78.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/0.3789, allocations: 0.8397 MB / 433.2 MB, free: 78.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.467e-05/0.379, allocations: 304.2 kB / 433.5 MB, free: 77.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008702/0.3798, allocations: 0.5805 MB / 434.1 MB, free: 77.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3811, allocations: 2.188 MB / 436.3 MB, free: 75.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.3835, allocations: 3.199 MB / 439.5 MB, free: 73.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/0.3836, allocations: 15.72 kB / 439.5 MB, free: 73.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.003629/0.3872, allocations: 2.988 MB / 442.5 MB, free: 73.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.3872, allocations: 28.81 kB / 442.5 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/0.3873, allocations: 56.28 kB / 442.6 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009897/0.3883, allocations: 0.5608 MB / 443.1 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.39, allocations: 0.9802 MB / 444.1 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.3927, allocations: 3.197 MB / 447.3 MB, free: 72.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.3942, allocations: 174.1 kB / 447.5 MB, free: 72.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.3944, allocations: 186 kB / 447.6 MB, free: 72.08 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.0009785/0.3954, allocations: 417.6 kB / 448.1 MB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.3957, allocations: 289.1 kB / 448.3 MB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.398, allocations: 2.095 MB / 450.4 MB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.398, allocations: 28.69 kB / 450.5 MB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.398, allocations: 8.938 kB / 450.5 MB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.398, allocations: 14.91 kB / 450.5 MB, free: 71.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.4038, allocations: 5.051 MB / 455.5 MB, free: 71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4038, allocations: 8.844 kB / 455.5 MB, free: 71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.4048, allocations: 476.4 kB / 456 MB, free: 71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/0.4056, allocations: 477.8 kB / 456.5 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.4057, allocations: 68.7 kB / 456.5 MB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.4081, allocations: 2.889 MB / 459.4 MB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4081, allocations: 12.47 kB / 459.4 MB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4106, allocations: 2.469 MB / 461.9 MB, free: 68.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/0.4112, allocations: 387.1 kB / 462.3 MB, free: 68.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.4114, allocations: 60.81 kB / 462.3 MB, free: 68.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.412, allocations: 73.38 kB / 462.4 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.4122, allocations: 214.7 kB / 462.6 MB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.4123, allocations: 62.02 kB / 462.7 MB, free: 67.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006605/0.413, allocations: 0.8898 MB / 463.6 MB, free: 67.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.413, allocations: 2.734 kB / 463.6 MB, free: 67.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002247/0.4153, allocations: 1.162 MB / 464.7 MB, free: 66.36 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.0002999/0.4156, allocations: 226.9 kB / 465 MB, free: 66.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.4179, allocations: 2.388 MB / 467.4 MB, free: 64.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.254e-05/0.418, allocations: 55.94 kB / 467.4 MB, free: 64.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.419, allocations: 1.176 MB / 468.6 MB, free: 63.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4203, allocations: 0.5936 MB / 469.2 MB, free: 63.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008508/0.4288, allocations: 9.198 MB / 478.4 MB, free: 55.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.4297, allocations: 1.217 MB / 479.6 MB, free: 54.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001054/0.4307, allocations: 0.5361 MB / 480.1 MB, free: 53.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009932/0.4317, allocations: 0.6641 MB / 480.8 MB, free: 53.33 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4317, allocations: 0 / 480.8 MB, free: 53.33 MB / 378.7 MB Notification: Performance of Templates: time 0.05081/0.4825, allocations: 46.84 MB / 0.5153 GB, free: 7.367 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8855294319801033]