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.001724/0.001724, allocations: 110.4 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.47/1.47, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.001798/0.001798, allocations: 209.9 kB / 309.2 MB, free: 3.148 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.06221/0.06221, allocations: 8.917 MB / 374.6 MB, free: 1.895 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) [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.00392/0.00392, allocations: 91.86 kB / 0.4893 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2963, allocations: 55.59 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02092/0.3173, allocations: 25.65 MB / 0.5686 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3323, allocations: 8.159 MB / 0.5766 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004932/0.3372, allocations: 200.7 kB / 0.5768 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.3523, allocations: 6.191 MB / 0.5828 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00986/0.3622, allocations: 2.867 MB / 0.5856 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005765/0.3679, allocations: 1.671 MB / 0.5872 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3817, allocations: 7.409 MB / 0.5945 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.019/0.4007, allocations: 9.121 MB / 0.6034 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008865/0.4096, allocations: 3.841 MB / 0.6071 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008936/0.4185, allocations: 4.31 MB / 0.6113 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.4222, allocations: 1.074 MB / 0.6124 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.4277, allocations: 1.461 MB / 0.6138 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003941/0.4316, allocations: 2.155 MB / 0.6159 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008363/0.44, allocations: 4.117 MB / 0.6199 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02175/0.4617, allocations: 14.5 MB / 0.6341 GB, free: 96 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4618, allocations: 0 / 0.6341 GB, free: 96 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4618, allocations: 0 / 0.6341 GB, free: 96 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004608/0.4622, allocations: 0 / 0.6341 GB, free: 96 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.02929/0.4915, allocations: 8.9 MB / 0.6428 GB, free: 7.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.4916, allocations: 12.03 kB / 0.6428 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00385/0.4954, allocations: 1.037 MB / 0.6438 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/0.5215, allocations: 4.417 MB / 0.6481 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.5353, allocations: 4.629 MB / 0.6527 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008321/0.5362, allocations: 489.1 kB / 0.6531 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.5393, allocations: 0.6327 MB / 0.6537 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03011/0.5694, allocations: 10.38 MB / 0.6639 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003349/0.5697, allocations: 15.88 kB / 0.6639 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/0.572, allocations: 264 kB / 0.6641 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005665/0.5726, allocations: 425.7 kB / 0.6645 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02333/0.5959, allocations: 9.9 MB / 0.6742 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2841/0.88, allocations: 33.52 MB / 0.7069 GB, free: 96.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.8925, allocations: 6.781 MB / 0.7136 GB, free: 96.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.8959, allocations: 2.106 MB / 0.7156 GB, free: 96.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.8962, allocations: 97.97 kB / 0.7157 GB, free: 96.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.8963, allocations: 63.09 kB / 0.7158 GB, free: 96.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.01e-06/0.8963, allocations: 0 / 0.7158 GB, free: 96.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02241/0.9187, allocations: 10.82 MB / 0.7263 GB, free: 92.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.9188, allocations: 85.97 kB / 0.7264 GB, free: 92.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/0.9255, allocations: 3.035 MB / 0.7294 GB, free: 91.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004916/0.926, allocations: 71.89 kB / 0.7295 GB, free: 90.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.9277, allocations: 2.975 MB / 0.7324 GB, free: 89.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.9288, allocations: 1.083 MB / 0.7334 GB, free: 88.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/0.9302, allocations: 0.9204 MB / 0.7343 GB, free: 87.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.9302, allocations: 305.1 kB / 0.7346 GB, free: 87.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/0.9332, allocations: 2.025 MB / 0.7366 GB, free: 86.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.9371, allocations: 3.729 MB / 0.7402 GB, free: 83.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/0.944, allocations: 6.058 MB / 0.7461 GB, free: 79.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.951e-05/0.944, allocations: 17.25 kB / 0.7462 GB, free: 79.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.011/0.955, allocations: 6.649 MB / 0.7527 GB, free: 76.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.9551, allocations: 29.91 kB / 0.7527 GB, free: 76.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.299e-05/0.9552, allocations: 56.03 kB / 0.7527 GB, free: 76.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.9568, allocations: 0.6702 MB / 0.7534 GB, free: 76.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.9606, allocations: 1.075 MB / 0.7544 GB, free: 76.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/0.968, allocations: 6.133 MB / 0.7604 GB, free: 72.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.9718, allocations: 285.4 kB / 0.7607 GB, free: 72.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00072/0.9725, allocations: 232.2 kB / 0.7609 GB, free: 72.27 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.004044/0.9766, allocations: 2.32 MB / 0.7632 GB, free: 70.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/0.9775, allocations: 339.2 kB / 0.7635 GB, free: 70.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007356/0.9849, allocations: 4.605 MB / 0.768 GB, free: 67.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.9849, allocations: 28 kB / 0.768 GB, free: 67.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.9849, allocations: 11.88 kB / 0.768 GB, free: 67.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/0.9849, allocations: 15.94 kB / 0.7681 GB, free: 67.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/1.002, allocations: 11.11 MB / 0.7789 GB, free: 55.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.002, allocations: 4 kB / 0.7789 GB, free: 55.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.004, allocations: 0.5305 MB / 0.7794 GB, free: 55.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/1.005, allocations: 0.5698 MB / 0.78 GB, free: 54.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/1.006, allocations: 71.97 kB / 0.7801 GB, free: 54.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/1.012, allocations: 5.35 MB / 0.7853 GB, free: 49.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.012, allocations: 7.938 kB / 0.7853 GB, free: 49.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/1.02, allocations: 6.596 MB / 0.7917 GB, free: 42.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.022, allocations: 0.6691 MB / 0.7924 GB, free: 41.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006123/1.023, allocations: 63.92 kB / 0.7924 GB, free: 41.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.024, allocations: 145.4 kB / 0.7926 GB, free: 41.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/1.025, allocations: 221.9 kB / 0.7928 GB, free: 41.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.025, allocations: 91.97 kB / 0.7929 GB, free: 41.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002891/1.028, allocations: 2.021 MB / 0.7949 GB, free: 39.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.028, allocations: 0 / 0.7949 GB, free: 39.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003994/1.032, allocations: 1.176 MB / 0.796 GB, free: 38.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.008603/1.04, allocations: 7.272 MB / 0.8031 GB, free: 30.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007622/1.048, allocations: 4.832 MB / 0.8078 GB, free: 25.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.048, allocations: 4 kB / 0.8078 GB, free: 25.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/1.052, allocations: 2.118 MB / 0.8099 GB, free: 23.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/1.056, allocations: 0.6486 MB / 0.8105 GB, free: 23.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07955/1.136, allocations: 39.09 MB / 0.8487 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008334/1.144, allocations: 4.15 MB / 0.8528 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004979/1.149, allocations: 1.326 MB / 0.854 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005169/1.154, allocations: 2.26 MB / 0.8563 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/1.154, allocations: 0 / 0.8563 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4183/1.572, allocations: 93.58 MB / 0.9476 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/21.27, allocations: 0.8594 kB / 0.9476 GB, free: 170.8 MB / 0.5606 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.592825160128996] Failed to read output from testmodel.py, exit status != 0: 21.434776311041787 21.446296865 20.981589901 Calling exit ...