Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001672/0.001672, 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.475/1.475, allocations: 230.6 MB / 253.4 MB, free: 14.62 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.001646/0.001646, allocations: 204.5 kB / 310 MB, free: 3.031 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.04064/0.04064, allocations: 8.915 MB / 375.3 MB, free: 6.781 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [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.002419/0.002419, allocations: 83.88 kB / 0.4905 GB, free: 44.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09897, allocations: 55.61 MB / 0.5448 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.261/0.36, allocations: 25.64 MB / 0.5698 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.377, allocations: 8.151 MB / 0.5778 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006949/0.3839, allocations: 208.4 kB / 0.578 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01502/0.3989, allocations: 6.192 MB / 0.584 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.41, allocations: 2.862 MB / 0.5868 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006039/0.416, allocations: 1.674 MB / 0.5885 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.4288, allocations: 7.401 MB / 0.5957 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02214/0.451, allocations: 9.122 MB / 0.6046 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009288/0.4602, allocations: 3.847 MB / 0.6084 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009916/0.4702, allocations: 4.306 MB / 0.6126 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00386/0.474, allocations: 1.077 MB / 0.6136 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006509/0.4805, allocations: 1.464 MB / 0.615 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004964/0.4855, allocations: 2.147 MB / 0.6171 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009959/0.4955, allocations: 4.12 MB / 0.6212 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02352/0.519, allocations: 14.5 MB / 0.6353 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.519, allocations: 0 / 0.6353 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.519, allocations: 0 / 0.6353 GB, free: 1.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004938/0.5195, allocations: 0 / 0.6353 GB, free: 1.895 MB / 414.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.03004/0.5495, allocations: 8.904 MB / 0.644 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5496, allocations: 15.98 kB / 0.644 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.5755, allocations: 4.406 MB / 0.6483 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.5878, allocations: 4.629 MB / 0.6528 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006005/0.5884, allocations: 485.1 kB / 0.6533 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002839/0.5913, allocations: 0.6327 MB / 0.6539 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02952/0.6208, allocations: 10.38 MB / 0.6641 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/0.621, allocations: 11.89 kB / 0.6641 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/0.623, allocations: 276 kB / 0.6643 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005547/0.6236, allocations: 421.6 kB / 0.6647 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/0.6478, allocations: 9.892 MB / 0.6744 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06701/0.7148, allocations: 33.52 MB / 0.7071 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.7296, allocations: 6.781 MB / 0.7138 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.7336, allocations: 2.102 MB / 0.7158 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.7339, allocations: 98.2 kB / 0.7159 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.734, allocations: 64.89 kB / 0.716 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 7.975e-06/0.734, allocations: 3.984 kB / 0.716 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02317/0.7571, allocations: 10.81 MB / 0.7265 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.7572, allocations: 81.78 kB / 0.7266 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/0.7624, allocations: 3.034 MB / 0.7296 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005201/0.7629, allocations: 73.7 kB / 0.7296 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/0.7655, allocations: 2.967 MB / 0.7325 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.7669, allocations: 1.085 MB / 0.7336 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.7685, allocations: 0.9255 MB / 0.7345 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7686, allocations: 305.1 kB / 0.7348 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.772, allocations: 2.031 MB / 0.7368 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.7771, allocations: 3.728 MB / 0.7404 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009259/0.7864, allocations: 6.055 MB / 0.7463 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.454e-05/0.7864, allocations: 16 kB / 0.7463 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01346/0.7999, allocations: 6.643 MB / 0.7528 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.8, allocations: 31.94 kB / 0.7529 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.8001, allocations: 55.94 kB / 0.7529 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.802, allocations: 0.676 MB / 0.7536 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/0.8063, allocations: 1.072 MB / 0.7546 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/0.8162, allocations: 6.123 MB / 0.7606 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/0.8201, allocations: 279.6 kB / 0.7609 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009339/0.821, allocations: 232.1 kB / 0.7611 GB, free: 14.77 MB / 0.545 GB 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.004979/0.826, allocations: 2.315 MB / 0.7633 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009757/0.827, allocations: 333.9 kB / 0.7637 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008828/0.8358, allocations: 4.626 MB / 0.7682 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.8359, allocations: 36 kB / 0.7682 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8359, allocations: 7.984 kB / 0.7682 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/0.8359, allocations: 11.95 kB / 0.7682 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2962/1.132, allocations: 11.1 MB / 0.7791 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.132, allocations: 3.938 kB / 0.7791 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.134, allocations: 0.5301 MB / 0.7796 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/1.136, allocations: 0.5722 MB / 0.7802 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/1.136, allocations: 67.31 kB / 0.7802 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007503/1.144, allocations: 5.341 MB / 0.7854 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.144, allocations: 10.5 kB / 0.7855 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.155, allocations: 6.595 MB / 0.7919 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/1.158, allocations: 0.6647 MB / 0.7925 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007056/1.158, allocations: 61.94 kB / 0.7926 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/1.16, allocations: 143.2 kB / 0.7927 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/1.161, allocations: 222.6 kB / 0.7929 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.161, allocations: 93.45 kB / 0.793 GB, free: 160.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003719/1.164, allocations: 2.021 MB / 0.795 GB, free: 160 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.164, allocations: 0.9062 kB / 0.795 GB, free: 160 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005365/1.17, allocations: 1.172 MB / 0.7962 GB, free: 159.9 MB / 0.545 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.0006199/1.17, allocations: 232 kB / 0.7964 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008991/1.179, allocations: 4.831 MB / 0.8011 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.179, allocations: 2 kB / 0.8011 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/1.183, allocations: 2.121 MB / 0.8032 GB, free: 157.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.187, allocations: 0.6632 MB / 0.8038 GB, free: 156.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/1.206, allocations: 11.07 MB / 0.8146 GB, free: 151.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003354/1.21, allocations: 4.038 MB / 0.8186 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.211, allocations: 338.1 kB / 0.8189 GB, free: 150.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/1.211, allocations: 0 / 0.8189 GB, free: 150.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1192/1.33, allocations: 108.5 MB / 0.9248 GB, free: 48.65 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.918205810012296] Failed to read output from testmodel.py, exit status != 0: 1.3391711539588869 1.349359657 0.827612947 Calling exit ...