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.001092/0.001092, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9299/0.9299, allocations: 177.2 MB / 200 MB, free: 5.488 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.001419/0.001419, allocations: 160.6 kB / 256.6 MB, free: 12.97 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.02932/0.02932, allocations: 6.663 MB / 319.8 MB, free: 26.52 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_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: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 391.7 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.52e-05, allocations: 2.312 kB / 391.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.155/0.155, allocations: 24.75 MB / 416.4 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1696, allocations: 8.01 MB / 424.4 MB, free: 67.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.1736, allocations: 203.9 kB / 424.6 MB, free: 67.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008859/0.1825, allocations: 6.46 MB / 431.1 MB, free: 63.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.1896, allocations: 2.856 MB / 434 MB, free: 61.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.1929, allocations: 1.649 MB / 435.6 MB, free: 60.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007727/0.2006, allocations: 7.636 MB / 443.3 MB, free: 55.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009633/0.2102, allocations: 9.025 MB / 452.3 MB, free: 46.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007823/0.2181, allocations: 5.76 MB / 458 MB, free: 40.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.2235, allocations: 4.043 MB / 462.1 MB, free: 36.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002382/0.2259, allocations: 1.066 MB / 463.1 MB, free: 35.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.2298, allocations: 1.444 MB / 464.6 MB, free: 34.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.2317, allocations: 2.221 MB / 466.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005037/0.2367, allocations: 2.784 MB / 469.6 MB, free: 29.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.2438, allocations: 6.988 MB / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2438, allocations: 0 / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2438, allocations: 0 / 476.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002753/0.2441, allocations: 0 / 476.6 MB, free: 22.18 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.01403/0.2581, allocations: 9.374 MB / 486 MB, free: 12.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2582, allocations: 8.031 kB / 486 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.2706, allocations: 5.491 MB / 491.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/0.2758, allocations: 4.441 MB / 495.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.276, allocations: 485.1 kB / 496.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000941/0.2769, allocations: 0.6288 MB / 497 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.2877, allocations: 5.645 MB / 0.4909 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.2878, allocations: 11.94 kB / 0.4909 GB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005104/0.2883, allocations: 268 kB / 0.4911 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/0.2886, allocations: 417.7 kB / 0.4915 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007754/0.2964, allocations: 3.316 MB / 0.4948 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0381/0.3345, allocations: 27.39 MB / 0.5215 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.3445, allocations: 6.159 MB / 0.5275 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.3466, allocations: 1.026 MB / 0.5285 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.3469, allocations: 102.2 kB / 0.5286 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.3469, allocations: 67.72 kB / 0.5287 GB, free: 4.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 6.843e-06/0.3469, allocations: 3.984 kB / 0.5287 GB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01416/0.3611, allocations: 6.407 MB / 0.535 GB, free: 14.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3612, allocations: 81.78 kB / 0.535 GB, free: 14.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/0.3648, allocations: 2.562 MB / 0.5375 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.365, allocations: 73.7 kB / 0.5376 GB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.367, allocations: 3.118 MB / 0.5406 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008863/0.3679, allocations: 1.1 MB / 0.5417 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.3691, allocations: 0.9777 MB / 0.5427 GB, free: 6.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3693, allocations: 484.7 kB / 0.5431 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.3708, allocations: 0.6844 MB / 0.5438 GB, free: 5.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.3736, allocations: 3.22 MB / 0.547 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1625/0.5362, allocations: 4.248 MB / 0.5511 GB, free: 89.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.311e-05/0.5362, allocations: 16 kB / 0.5511 GB, free: 89.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007422/0.5437, allocations: 4.068 MB / 0.5551 GB, free: 89.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.5437, allocations: 31.48 kB / 0.5551 GB, free: 89.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.259e-05/0.5438, allocations: 54.22 kB / 0.5552 GB, free: 89.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.5452, allocations: 0.6147 MB / 0.5558 GB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.5473, allocations: 1.068 MB / 0.5568 GB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.552, allocations: 4.377 MB / 0.5611 GB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.5541, allocations: 276.6 kB / 0.5614 GB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003719/0.5545, allocations: 228.3 kB / 0.5616 GB, free: 87.44 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.001458/0.556, allocations: 463.3 kB / 0.562 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006115/0.5566, allocations: 418 kB / 0.5624 GB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.5604, allocations: 2.736 MB / 0.5651 GB, free: 87.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.5604, allocations: 30.28 kB / 0.5651 GB, free: 87.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5604, allocations: 7.156 kB / 0.5651 GB, free: 87.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.5604, allocations: 14.81 kB / 0.5651 GB, free: 87.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.5709, allocations: 7.692 MB / 0.5726 GB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5709, allocations: 3.469 kB / 0.5726 GB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.572, allocations: 0.5341 MB / 0.5732 GB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.5731, allocations: 0.5184 MB / 0.5737 GB, free: 86.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5732, allocations: 72.34 kB / 0.5737 GB, free: 86.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.5765, allocations: 3.978 MB / 0.5776 GB, free: 84.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5765, allocations: 9.219 kB / 0.5776 GB, free: 84.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.5806, allocations: 3.358 MB / 0.5809 GB, free: 83.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/0.5815, allocations: 0.5917 MB / 0.5815 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/0.5818, allocations: 64.22 kB / 0.5816 GB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.5825, allocations: 140.5 kB / 0.5817 GB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.5828, allocations: 222.3 kB / 0.5819 GB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.5829, allocations: 94.64 kB / 0.582 GB, free: 83.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.5843, allocations: 1.239 MB / 0.5832 GB, free: 83.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5843, allocations: 0.875 kB / 0.5832 GB, free: 83.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002699/0.587, allocations: 1.163 MB / 0.5843 GB, free: 82.2 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.000369/0.5873, allocations: 234 kB / 0.5846 GB, free: 82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.5913, allocations: 3.002 MB / 0.5875 GB, free: 79.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.5913, allocations: 4 kB / 0.5875 GB, free: 79.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.593, allocations: 1.482 MB / 0.5889 GB, free: 78.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5948, allocations: 0.6063 MB / 0.5895 GB, free: 77.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6061, allocations: 9.435 MB / 0.5988 GB, free: 69.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.6072, allocations: 1.635 MB / 0.6003 GB, free: 67.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001899/0.6091, allocations: 1.111 MB / 0.6014 GB, free: 67.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.6096, allocations: 279.4 kB / 0.6017 GB, free: 66.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6096, allocations: 0 / 0.6017 GB, free: 66.82 MB / 394.7 MB Notification: Performance of Templates: time 0.05173/0.6613, allocations: 45.03 MB / 0.6457 GB, free: 22.5 MB / 394.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.576522137969732]