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.0009215/0.0009215, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002156, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.8718/0.8718, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.157/1.029, allocations: 53.64 MB / 241.9 MB, free: 2.734 MB / 234.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.0007603/0.0007603, allocations: 152.4 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001827, allocations: 480.2 kB / 243.2 MB, free: 1.418 MB / 234.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.02397/0.02397, allocations: 6.659 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004515/0.02848, allocations: 2.658 MB / 253.3 MB, free: 7.562 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.883e-06/1.883e-06, allocations: 0 / 254.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.724e-05, allocations: 4.422 kB / 254.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.0182/0.01822, allocations: 24.23 MB / 278.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.0361, allocations: 8.4 MB / 287.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.04038, allocations: 203 kB / 287.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00819/0.04858, allocations: 6.468 MB / 293.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.05595, allocations: 2.827 MB / 296.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.05925, allocations: 1.628 MB / 298.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008706/0.06795, allocations: 7.68 MB / 306 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.07993, allocations: 9.036 MB / 315.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/0.09042, allocations: 6.018 MB / 321.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1621/0.2525, allocations: 4.085 MB / 325.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.2553, allocations: 1.065 MB / 326.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.261, allocations: 1.464 MB / 327.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003945/0.265, allocations: 1.77 MB / 329.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009399/0.2744, allocations: 2.333 MB / 331.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.2862, allocations: 6.603 MB / 338.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.899e-05/0.2862, allocations: 0.9375 kB / 338.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2862, allocations: 0 / 338.4 MB, free: 16.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003911/0.2866, allocations: 0 / 338.4 MB, free: 16.91 MB / 314.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.02071/0.3073, allocations: 9.829 MB / 348.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3073, allocations: 10.5 kB / 348.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.3259, allocations: 4.547 MB / 352.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007569/0.3335, allocations: 2.518 MB / 355.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.3338, allocations: 492.9 kB / 355.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.336, allocations: 0.6333 MB / 356.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009064/0.3451, allocations: 5.265 MB / 361.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.3453, allocations: 11.55 kB / 361.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005915/0.3459, allocations: 265.6 kB / 362 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.3462, allocations: 415.9 kB / 362.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005213/0.3514, allocations: 2.74 MB / 365.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.3851, allocations: 21.12 MB / 386.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/0.3902, allocations: 4.051 MB / 390.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.3912, allocations: 0.799 MB / 391.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.3914, allocations: 102.1 kB / 391.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.3915, allocations: 64.89 kB / 391.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 5.531e-06/0.3915, allocations: 3.75 kB / 391.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.008678/0.4001, allocations: 4.628 MB / 395.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.4002, allocations: 81.78 kB / 395.9 MB, free: 8.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.4022, allocations: 1.963 MB / 397.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.4023, allocations: 77.7 kB / 398 MB, free: 6.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.4036, allocations: 2.732 MB / 400.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/0.4042, allocations: 1.067 MB / 401.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008515/0.4051, allocations: 0.8411 MB / 402.6 MB, free: 2.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.4051, allocations: 301.1 kB / 402.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000882/0.406, allocations: 0.5738 MB / 403.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4075, allocations: 2.193 MB / 405.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.4104, allocations: 3.213 MB / 408.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.4104, allocations: 16 kB / 408.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004049/0.4145, allocations: 2.978 MB / 411.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4145, allocations: 32 kB / 411.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.824e-05/0.4146, allocations: 52 kB / 412 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.4157, allocations: 0.5747 MB / 412.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.4183, allocations: 1.126 MB / 413.7 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.4217, allocations: 3.236 MB / 416.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.424, allocations: 175.8 kB / 417.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004513/0.4244, allocations: 184 kB / 417.3 MB, free: 3.125 MB / 362.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.002006/0.4265, allocations: 417.9 kB / 417.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007875/0.4272, allocations: 287.7 kB / 418 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.4308, allocations: 2.081 MB / 420 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.4308, allocations: 28 kB / 420.1 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.4309, allocations: 8 kB / 420.1 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.4309, allocations: 15.94 kB / 420.1 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009736/0.4406, allocations: 5.054 MB / 425.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4406, allocations: 4 kB / 425.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.4422, allocations: 0.5493 MB / 425.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.4434, allocations: 380.8 kB / 426.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.4447, allocations: 481.5 kB / 426.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.4448, allocations: 67.97 kB / 426.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.4486, allocations: 2.903 MB / 429.5 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.4486, allocations: 19.34 kB / 429.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/0.4526, allocations: 2.474 MB / 432 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006466/0.4533, allocations: 56 kB / 432 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4543, allocations: 75.98 kB / 432.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.4546, allocations: 213.6 kB / 432.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.4548, allocations: 63.97 kB / 432.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001362/0.4561, allocations: 0.8894 MB / 433.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4561, allocations: 4.031 kB / 433.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003585/0.4597, allocations: 1.167 MB / 434.5 MB, free: 2.445 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.0004435/0.4602, allocations: 217.6 kB / 434.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004168/0.4643, allocations: 2.373 MB / 437 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001799/0.4645, allocations: 88.28 kB / 437.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.4662, allocations: 1.178 MB / 438.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.4687, allocations: 0.8711 MB / 439.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04744/0.5161, allocations: 9.444 MB / 448.6 MB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.5181, allocations: 1.216 MB / 449.8 MB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001898/0.52, allocations: 0.5283 MB / 450.4 MB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/0.5216, allocations: 0.6631 MB / 451 MB, free: 2.086 MB / 394.7 MB Notification: Performance of SimCode: time 1.934e-06/0.5216, allocations: 0 / 451 MB, free: 2.086 MB / 394.7 MB Notification: Performance of Templates: time 0.202/0.7236, allocations: 48.27 MB / 499.3 MB, free: 113.9 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: 4.104008669964969]