Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001369/0.001369, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.456/1.456, allocations: 230.6 MB / 253.4 MB, free: 8.281 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.00161/0.00161, allocations: 204.9 kB / 310 MB, free: 3.129 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.04152/0.04152, allocations: 8.911 MB / 375.3 MB, free: 1.871 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [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.002585/0.002585, allocations: 91.88 kB / 0.4905 GB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3451, allocations: 55.6 MB / 0.5448 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02213/0.3672, allocations: 25.65 MB / 0.5698 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.385, allocations: 8.155 MB / 0.5778 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007185/0.3922, allocations: 205.1 kB / 0.578 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01583/0.408, allocations: 6.193 MB / 0.584 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.42, allocations: 2.874 MB / 0.5868 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006521/0.4265, allocations: 1.66 MB / 0.5885 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.4405, allocations: 7.41 MB / 0.5957 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02242/0.4629, allocations: 9.121 MB / 0.6046 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009815/0.4728, allocations: 3.838 MB / 0.6083 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009423/0.4822, allocations: 4.31 MB / 0.6126 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004117/0.4863, allocations: 1.07 MB / 0.6136 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006264/0.4926, allocations: 1.464 MB / 0.615 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004478/0.497, allocations: 2.159 MB / 0.6171 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.5071, allocations: 4.113 MB / 0.6212 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02413/0.5312, allocations: 14.51 MB / 0.6353 GB, free: 8 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5312, allocations: 0 / 0.6353 GB, free: 8 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5312, allocations: 3.938 kB / 0.6353 GB, free: 4 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004545/0.5317, allocations: 4 kB / 0.6353 GB, free: 0 / 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.03133/0.563, allocations: 8.896 MB / 0.644 GB, free: 7.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.563, allocations: 12.03 kB / 0.644 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02621/0.5893, allocations: 4.409 MB / 0.6483 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.6021, allocations: 4.633 MB / 0.6529 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006611/0.6028, allocations: 485.1 kB / 0.6533 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/0.606, allocations: 0.6288 MB / 0.6539 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/0.636, allocations: 10.38 MB / 0.6641 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003469/0.6363, allocations: 15.94 kB / 0.6641 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.6388, allocations: 260 kB / 0.6643 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000573/0.6394, allocations: 417.7 kB / 0.6647 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02492/0.6643, allocations: 9.896 MB / 0.6744 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3678/1.032, allocations: 33.51 MB / 0.7071 GB, free: 97.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.045, allocations: 6.782 MB / 0.7137 GB, free: 97.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/1.049, allocations: 2.11 MB / 0.7158 GB, free: 97.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.049, allocations: 93.88 kB / 0.7159 GB, free: 97.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/1.05, allocations: 70.61 kB / 0.716 GB, free: 97.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.693e-06/1.05, allocations: 0 / 0.716 GB, free: 97.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02434/1.074, allocations: 10.81 MB / 0.7265 GB, free: 93.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.074, allocations: 82.38 kB / 0.7266 GB, free: 93.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/1.079, allocations: 3.03 MB / 0.7296 GB, free: 92.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.08, allocations: 75.39 kB / 0.7296 GB, free: 92.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002083/1.082, allocations: 2.977 MB / 0.7325 GB, free: 90.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.084, allocations: 1.08 MB / 0.7336 GB, free: 89.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/1.085, allocations: 0.9196 MB / 0.7345 GB, free: 88.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/1.085, allocations: 308.7 kB / 0.7348 GB, free: 88.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.089, allocations: 2.035 MB / 0.7368 GB, free: 87.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/1.093, allocations: 3.729 MB / 0.7404 GB, free: 84.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006462/1.099, allocations: 6.057 MB / 0.7463 GB, free: 80.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/1.099, allocations: 16.38 kB / 0.7463 GB, free: 80.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009995/1.109, allocations: 6.641 MB / 0.7528 GB, free: 77.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/1.109, allocations: 26.56 kB / 0.7529 GB, free: 77.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.992e-05/1.109, allocations: 56.56 kB / 0.7529 GB, free: 77.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/1.111, allocations: 0.6678 MB / 0.7536 GB, free: 77.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/1.114, allocations: 1.076 MB / 0.7546 GB, free: 77.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007171/1.122, allocations: 6.132 MB / 0.7606 GB, free: 73.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.126, allocations: 286.6 kB / 0.7609 GB, free: 73.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007272/1.127, allocations: 228.3 kB / 0.7611 GB, free: 73.29 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.004364/1.131, allocations: 2.324 MB / 0.7634 GB, free: 71.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.132, allocations: 339.1 kB / 0.7637 GB, free: 71.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/1.139, allocations: 4.611 MB / 0.7682 GB, free: 68.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.139, allocations: 32 kB / 0.7682 GB, free: 68.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.139, allocations: 4 kB / 0.7682 GB, free: 68.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.139, allocations: 15.94 kB / 0.7682 GB, free: 68.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/1.156, allocations: 11.1 MB / 0.7791 GB, free: 56.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.156, allocations: 4 kB / 0.7791 GB, free: 56.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.158, allocations: 0.5305 MB / 0.7796 GB, free: 56.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/1.159, allocations: 0.5697 MB / 0.7802 GB, free: 55.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/1.16, allocations: 71.97 kB / 0.7802 GB, free: 55.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/1.166, allocations: 5.359 MB / 0.7855 GB, free: 50.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.166, allocations: 4 kB / 0.7855 GB, free: 50.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008584/1.174, allocations: 6.589 MB / 0.7919 GB, free: 43.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.176, allocations: 0.6655 MB / 0.7925 GB, free: 42.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006484/1.177, allocations: 68.05 kB / 0.7926 GB, free: 42.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.179, allocations: 143.8 kB / 0.7927 GB, free: 42.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/1.179, allocations: 217.8 kB / 0.793 GB, free: 42.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.179, allocations: 99.97 kB / 0.7931 GB, free: 42.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002619/1.182, allocations: 2.021 MB / 0.795 GB, free: 40.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/1.182, allocations: 0 / 0.795 GB, free: 40.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005183/1.187, allocations: 1.176 MB / 0.7962 GB, free: 39.09 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.0006244/1.187, allocations: 226.6 kB / 0.7964 GB, free: 38.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007403/1.195, allocations: 4.836 MB / 0.8011 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.195, allocations: 4.125 kB / 0.8011 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.198, allocations: 2.114 MB / 0.8032 GB, free: 31.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.202, allocations: 0.6474 MB / 0.8038 GB, free: 31.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.223, allocations: 11.08 MB / 0.8146 GB, free: 20.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005432/1.228, allocations: 4.04 MB / 0.8186 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.23, allocations: 335.3 kB / 0.8189 GB, free: 15.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/1.23, allocations: 0 / 0.8189 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Templates: time 0.4676/1.698, allocations: 108.5 MB / 0.9248 GB, free: 171.8 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.137469249079004] Failed to read output from testmodel.py, exit status != 0: 1.7079054499045014 1.719988053 1.185338933 Calling exit ...