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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 245.5 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 199.5 kB / 300.5 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04446/0.04446, allocations: 8.938 MB / 364.3 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002597/0.002597, allocations: 88.5 kB / 487.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09424, allocations: 54.41 MB / 0.529 GB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.0327/0.1269, allocations: 25.51 MB / 0.5539 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.1449, allocations: 8.045 MB / 0.5617 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.1493, allocations: 175.5 kB / 0.5619 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01594/0.1653, allocations: 6.165 MB / 0.5679 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.1741, allocations: 2.79 MB / 0.5706 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.179, allocations: 1.634 MB / 0.5722 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01111/0.1902, allocations: 7.273 MB / 0.5793 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01673/0.2069, allocations: 10.12 MB / 0.5892 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.2129, allocations: 3.752 MB / 0.5929 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007465/0.2203, allocations: 4.275 MB / 0.5971 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.2229, allocations: 1.074 MB / 0.5981 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.2269, allocations: 1.429 MB / 0.5995 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.2296, allocations: 2.151 MB / 0.6016 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006048/0.2356, allocations: 4.109 MB / 0.6056 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01759/0.2532, allocations: 14.48 MB / 0.6198 GB, free: 3.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2532, allocations: 0 / 0.6198 GB, free: 3.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2532, allocations: 0 / 0.6198 GB, free: 3.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002757/0.2535, allocations: 0 / 0.6198 GB, free: 3.445 MB / 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.02618/0.2797, allocations: 8.937 MB / 0.6285 GB, free: 10.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2797, allocations: 8.031 kB / 0.6285 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/0.3066, allocations: 4.437 MB / 0.6328 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.3169, allocations: 4.626 MB / 0.6373 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005474/0.3175, allocations: 485.1 kB / 0.6378 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.3198, allocations: 0.6327 MB / 0.6384 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2082/0.528, allocations: 10.35 MB / 0.6485 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.5282, allocations: 12.11 kB / 0.6485 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009355/0.5291, allocations: 269.8 kB / 0.6488 GB, free: 83.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003213/0.5294, allocations: 420 kB / 0.6492 GB, free: 83.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.5463, allocations: 9.865 MB / 0.6588 GB, free: 78.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.5917, allocations: 35.38 MB / 0.6934 GB, free: 44.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.6056, allocations: 20.39 MB / 0.7133 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/0.6088, allocations: 2.11 MB / 0.7154 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.609, allocations: 232.2 kB / 0.7156 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.6091, allocations: 64.83 kB / 0.7157 GB, free: 19.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.67e-06/0.6091, allocations: 0 / 0.7157 GB, free: 19.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01873/0.6278, allocations: 10.93 MB / 0.7263 GB, free: 8.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6278, allocations: 81.78 kB / 0.7264 GB, free: 8.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.6316, allocations: 3.03 MB / 0.7294 GB, free: 5.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.6319, allocations: 77.7 kB / 0.7294 GB, free: 5.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.633, allocations: 2.963 MB / 0.7323 GB, free: 2.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007099/0.6338, allocations: 1.091 MB / 0.7334 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.6349, allocations: 0.9138 MB / 0.7343 GB, free: 492 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.635, allocations: 305.1 kB / 0.7346 GB, free: 184 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.6384, allocations: 2.024 MB / 0.7366 GB, free: 14.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/0.6435, allocations: 3.724 MB / 0.7402 GB, free: 9.633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009368/0.6529, allocations: 6.047 MB / 0.7461 GB, free: 2.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.801e-05/0.653, allocations: 20 kB / 0.7461 GB, free: 2.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01266/0.6656, allocations: 6.624 MB / 0.7526 GB, free: 12.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.6657, allocations: 28 kB / 0.7526 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.584e-05/0.6658, allocations: 56 kB / 0.7527 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.6678, allocations: 0.6641 MB / 0.7533 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.6719, allocations: 1.069 MB / 0.7544 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009972/0.6818, allocations: 6.217 MB / 0.7604 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.6855, allocations: 283.6 kB / 0.7607 GB, free: 3.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005773/0.686, allocations: 228.1 kB / 0.7609 GB, free: 3.422 MB / 478.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.004188/0.6902, allocations: 2.323 MB / 0.7632 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007845/0.691, allocations: 329.9 kB / 0.7635 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008966/0.7, allocations: 4.63 MB / 0.768 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.7, allocations: 28 kB / 0.7681 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.7, allocations: 8 kB / 0.7681 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/0.7001, allocations: 19.88 kB / 0.7681 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/0.7204, allocations: 11.06 MB / 0.7789 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.7204, allocations: 8 kB / 0.7789 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/0.7227, allocations: 0.5305 MB / 0.7794 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.7246, allocations: 0.5745 MB / 0.78 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.7248, allocations: 67.92 kB / 0.78 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008729/0.7335, allocations: 5.475 MB / 0.7854 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.7335, allocations: 8 kB / 0.7854 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.7448, allocations: 6.569 MB / 0.7918 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.7466, allocations: 0.7447 MB / 0.7925 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.7471, allocations: 64.05 kB / 0.7926 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.7488, allocations: 151.8 kB / 0.7927 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.7493, allocations: 206 kB / 0.7929 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.7495, allocations: 91.98 kB / 0.793 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003428/0.7529, allocations: 2.013 MB / 0.795 GB, free: 44 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7529, allocations: 0 / 0.795 GB, free: 44 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004367/0.7573, allocations: 1.176 MB / 0.7961 GB, free: 14.86 MB / 0.5137 GB 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.0005345/0.7578, allocations: 223.4 kB / 0.7963 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009284/0.7671, allocations: 4.828 MB / 0.8011 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7671, allocations: 0 / 0.8011 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/0.7715, allocations: 2.105 MB / 0.8031 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/0.7752, allocations: 0.6387 MB / 0.8037 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.797, allocations: 11.03 MB / 0.8145 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/0.8019, allocations: 4.032 MB / 0.8184 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/0.8034, allocations: 315.3 kB / 0.8187 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of SimCode: time 9.91e-07/0.8034, allocations: 4 kB / 0.8187 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of Templates: time 0.3359/1.139, allocations: 107.1 MB / 0.9233 GB, free: 146.7 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.406943968031555] Failed to read output from testmodel.py, exit status != 0: 1.3008381160907447 1.156776069 0.901148467 Calling exit ...