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.001361/0.001361, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 252.6 MB, free: 8.305 MB / 206.1 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.002203/0.002203, allocations: 209.7 kB / 309.2 MB, free: 3.156 MB / 238.1 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.04287/0.04287, allocations: 8.909 MB / 374.6 MB, free: 1.91 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 95.86 kB / 0.4897 GB, free: 6.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.3, allocations: 55.59 MB / 0.544 GB, free: 27.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02057/0.3205, allocations: 25.64 MB / 0.5691 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3355, allocations: 8.162 MB / 0.577 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005522/0.3411, allocations: 205.3 kB / 0.5772 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01504/0.3561, allocations: 6.195 MB / 0.5833 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.3666, allocations: 2.862 MB / 0.5861 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.3724, allocations: 1.674 MB / 0.5877 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.3856, allocations: 7.405 MB / 0.5949 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01691/0.4025, allocations: 9.126 MB / 0.6039 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008607/0.4111, allocations: 3.834 MB / 0.6076 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008435/0.4195, allocations: 4.314 MB / 0.6118 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002426/0.422, allocations: 1.07 MB / 0.6129 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.426, allocations: 1.464 MB / 0.6143 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002309/0.4283, allocations: 2.151 MB / 0.6164 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007025/0.4353, allocations: 4.113 MB / 0.6204 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.455, allocations: 14.5 MB / 0.6346 GB, free: 36 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.455, allocations: 4 kB / 0.6346 GB, free: 32 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4551, allocations: 0 / 0.6346 GB, free: 32 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003276/0.4554, allocations: 0 / 0.6346 GB, free: 32 kB / 430.1 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.02815/0.4835, allocations: 8.896 MB / 0.6433 GB, free: 7.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4836, allocations: 12.03 kB / 0.6433 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02693/0.5105, allocations: 4.417 MB / 0.6476 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.5239, allocations: 4.625 MB / 0.6521 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007825/0.5246, allocations: 489.1 kB / 0.6526 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/0.5281, allocations: 0.6249 MB / 0.6532 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/0.5552, allocations: 10.38 MB / 0.6633 GB, free: 2.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/0.5554, allocations: 7.953 kB / 0.6633 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/0.557, allocations: 268 kB / 0.6636 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004924/0.5575, allocations: 417.6 kB / 0.664 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/0.5796, allocations: 9.9 MB / 0.6736 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3593/0.939, allocations: 33.51 MB / 0.7064 GB, free: 97.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.9524, allocations: 6.79 MB / 0.713 GB, free: 97.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.9563, allocations: 2.112 MB / 0.7151 GB, free: 97.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.9566, allocations: 92.42 kB / 0.7151 GB, free: 97.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.9566, allocations: 71.02 kB / 0.7152 GB, free: 97.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.57e-06/0.9566, allocations: 0 / 0.7152 GB, free: 97.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02373/0.9804, allocations: 10.8 MB / 0.7258 GB, free: 93.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.9804, allocations: 85.81 kB / 0.7258 GB, free: 93.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/0.9857, allocations: 3.034 MB / 0.7288 GB, free: 92.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.9861, allocations: 80.33 kB / 0.7289 GB, free: 92.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.9879, allocations: 2.967 MB / 0.7318 GB, free: 90.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009727/0.9889, allocations: 1.082 MB / 0.7328 GB, free: 89.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.9902, allocations: 0.9223 MB / 0.7337 GB, free: 89.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.9902, allocations: 306.8 kB / 0.734 GB, free: 88.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.9932, allocations: 2.026 MB / 0.736 GB, free: 87.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.9969, allocations: 3.734 MB / 0.7397 GB, free: 84.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006662/1.004, allocations: 6.057 MB / 0.7456 GB, free: 80.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/1.004, allocations: 20.5 kB / 0.7456 GB, free: 80.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01027/1.014, allocations: 6.643 MB / 0.7521 GB, free: 78.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/1.014, allocations: 32.12 kB / 0.7521 GB, free: 78.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.014, allocations: 55.31 kB / 0.7522 GB, free: 78.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/1.016, allocations: 0.665 MB / 0.7528 GB, free: 77.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/1.019, allocations: 1.079 MB / 0.7539 GB, free: 77.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/1.027, allocations: 6.128 MB / 0.7599 GB, free: 73.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.032, allocations: 280.1 kB / 0.7601 GB, free: 73.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007561/1.032, allocations: 232.7 kB / 0.7603 GB, free: 73.36 MB / 494.1 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.004533/1.037, allocations: 2.323 MB / 0.7626 GB, free: 71.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/1.038, allocations: 339.8 kB / 0.7629 GB, free: 71.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006652/1.045, allocations: 4.607 MB / 0.7674 GB, free: 68.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.045, allocations: 30.38 kB / 0.7675 GB, free: 68.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.045, allocations: 8 kB / 0.7675 GB, free: 68.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.045, allocations: 15.94 kB / 0.7675 GB, free: 68.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.065, allocations: 11.1 MB / 0.7783 GB, free: 56.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.065, allocations: 4 kB / 0.7783 GB, free: 56.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003095/1.068, allocations: 0.5344 MB / 0.7789 GB, free: 56.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/1.07, allocations: 0.571 MB / 0.7794 GB, free: 55.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.07, allocations: 71.97 kB / 0.7795 GB, free: 55.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009696/1.08, allocations: 5.354 MB / 0.7847 GB, free: 50.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.08, allocations: 4 kB / 0.7847 GB, free: 50.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/1.094, allocations: 6.597 MB / 0.7912 GB, free: 43.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.097, allocations: 0.6577 MB / 0.7918 GB, free: 42.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008215/1.098, allocations: 59.98 kB / 0.7919 GB, free: 42.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.1, allocations: 151.7 kB / 0.792 GB, free: 42.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005602/1.101, allocations: 221.9 kB / 0.7922 GB, free: 42.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/1.101, allocations: 91.97 kB / 0.7923 GB, free: 42.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003933/1.105, allocations: 2.024 MB / 0.7943 GB, free: 40.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.105, allocations: 0 / 0.7943 GB, free: 40.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005332/1.11, allocations: 1.172 MB / 0.7954 GB, free: 39.1 MB / 494.1 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.00044/1.111, allocations: 230.4 kB / 0.7956 GB, free: 38.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007329/1.118, allocations: 4.839 MB / 0.8004 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.118, allocations: 4 kB / 0.8004 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/1.121, allocations: 2.114 MB / 0.8024 GB, free: 31.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.124, allocations: 0.6416 MB / 0.8031 GB, free: 31.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.141, allocations: 11.21 MB / 0.814 GB, free: 19.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/1.144, allocations: 4.157 MB / 0.8181 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003214/1.147, allocations: 1.322 MB / 0.8194 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/1.148, allocations: 291.3 kB / 0.8196 GB, free: 14.13 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.148, allocations: 0 / 0.8196 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Templates: time 0.09825/1.246, allocations: 49.81 MB / 0.8683 GB, free: 12.69 MB / 0.5294 GB " [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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.73126666713506] Failed to read output from testmodel.py, exit status != 0: 1.2555294460617006 1.27019376 0.81172123 Calling exit ...