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.00169/0.00169, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.409/1.409, allocations: 230.6 MB / 252.7 MB, free: 8.32 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.001586/0.001586, allocations: 208.8 kB / 309.2 MB, free: 3.16 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.0409/0.0409, allocations: 8.922 MB / 374.6 MB, free: 1.91 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.002532/0.002532, allocations: 84.16 kB / 0.4893 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2502, allocations: 55.6 MB / 0.5436 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01901/0.2692, allocations: 25.65 MB / 0.5686 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2837, allocations: 8.158 MB / 0.5766 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/0.2884, allocations: 200.8 kB / 0.5768 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01424/0.3027, allocations: 6.196 MB / 0.5828 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3138, allocations: 2.866 MB / 0.5856 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.3192, allocations: 1.661 MB / 0.5872 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.331, allocations: 7.417 MB / 0.5945 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.3463, allocations: 9.119 MB / 0.6034 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007077/0.3533, allocations: 3.834 MB / 0.6071 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007811/0.3612, allocations: 4.318 MB / 0.6113 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002801/0.364, allocations: 1.07 MB / 0.6124 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.3685, allocations: 1.461 MB / 0.6138 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003402/0.3719, allocations: 2.159 MB / 0.6159 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008815/0.3807, allocations: 4.113 MB / 0.6199 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02239/0.4031, allocations: 14.5 MB / 0.6341 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4031, allocations: 0 / 0.6341 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4031, allocations: 4 kB / 0.6341 GB, free: 96 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003572/0.4035, 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.02591/0.4294, allocations: 8.897 MB / 0.6428 GB, free: 7.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4294, allocations: 11.97 kB / 0.6428 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002994/0.4324, allocations: 1.041 MB / 0.6438 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02578/0.4582, allocations: 4.417 MB / 0.6481 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.4687, allocations: 4.629 MB / 0.6527 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/0.4691, allocations: 493.1 kB / 0.6531 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.471, allocations: 0.6249 MB / 0.6537 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.4927, allocations: 10.39 MB / 0.6639 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.4929, allocations: 11.89 kB / 0.6639 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/0.4939, allocations: 272 kB / 0.6642 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004536/0.4944, allocations: 417.7 kB / 0.6645 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/0.515, allocations: 9.907 MB / 0.6742 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3003/0.8152, allocations: 33.51 MB / 0.707 GB, free: 96.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.8279, allocations: 6.781 MB / 0.7136 GB, free: 96.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.8314, allocations: 2.11 MB / 0.7156 GB, free: 96.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.8317, allocations: 90.67 kB / 0.7157 GB, free: 96.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.8318, allocations: 66.42 kB / 0.7158 GB, free: 96.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5e-06/0.8318, allocations: 2.094 kB / 0.7158 GB, free: 96.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02327/0.8551, allocations: 10.81 MB / 0.7263 GB, free: 92.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.8551, allocations: 91.19 kB / 0.7264 GB, free: 92.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.8615, allocations: 3.029 MB / 0.7294 GB, free: 91.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005962/0.8621, allocations: 83.11 kB / 0.7295 GB, free: 91.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.8638, allocations: 2.969 MB / 0.7324 GB, free: 89.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.865, allocations: 1.082 MB / 0.7334 GB, free: 88.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.8664, allocations: 0.925 MB / 0.7343 GB, free: 87.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.8665, allocations: 302.5 kB / 0.7346 GB, free: 87.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.8695, allocations: 2.03 MB / 0.7366 GB, free: 86.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/0.8736, allocations: 3.727 MB / 0.7402 GB, free: 83.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007014/0.8806, allocations: 6.065 MB / 0.7462 GB, free: 79.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-05/0.8807, allocations: 15.34 kB / 0.7462 GB, free: 79.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01136/0.8921, allocations: 6.637 MB / 0.7527 GB, free: 76.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.8921, allocations: 30.38 kB / 0.7527 GB, free: 76.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.39e-05/0.8922, allocations: 57.09 kB / 0.7527 GB, free: 76.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.8939, allocations: 0.6717 MB / 0.7534 GB, free: 76.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.8976, allocations: 1.072 MB / 0.7544 GB, free: 76.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.9049, allocations: 6.143 MB / 0.7604 GB, free: 72.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/0.9088, allocations: 271.1 kB / 0.7607 GB, free: 72.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/0.9095, allocations: 242.3 kB / 0.7609 GB, free: 72.36 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.003574/0.9131, allocations: 2.315 MB / 0.7632 GB, free: 70.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008812/0.914, allocations: 339.7 kB / 0.7635 GB, free: 70.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006854/0.9209, allocations: 4.603 MB / 0.768 GB, free: 67.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.9209, allocations: 28 kB / 0.768 GB, free: 67.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.9209, allocations: 8 kB / 0.768 GB, free: 67.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.9209, allocations: 15.94 kB / 0.7681 GB, free: 67.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.9391, allocations: 11.1 MB / 0.7789 GB, free: 55.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.9391, allocations: 4 kB / 0.7789 GB, free: 55.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.9412, allocations: 0.5388 MB / 0.7794 GB, free: 55.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.9426, allocations: 0.5732 MB / 0.78 GB, free: 54.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/0.943, allocations: 63.98 kB / 0.7801 GB, free: 54.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.9493, allocations: 5.36 MB / 0.7853 GB, free: 49.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.9493, allocations: 7.938 kB / 0.7853 GB, free: 49.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009094/0.9584, allocations: 6.596 MB / 0.7917 GB, free: 42.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/0.9605, allocations: 0.6655 MB / 0.7924 GB, free: 41.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008395/0.9614, allocations: 56 kB / 0.7924 GB, free: 41.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.9632, allocations: 143.8 kB / 0.7926 GB, free: 41.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.9636, allocations: 225.9 kB / 0.7928 GB, free: 41.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.9638, allocations: 87.98 kB / 0.7929 GB, free: 41.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00267/0.9665, allocations: 2.024 MB / 0.7949 GB, free: 39.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9665, allocations: 0 / 0.7949 GB, free: 39.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004597/0.9711, allocations: 1.176 MB / 0.796 GB, free: 38.13 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.009798/0.9809, allocations: 7.28 MB / 0.8031 GB, free: 30.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007678/0.9886, allocations: 4.832 MB / 0.8078 GB, free: 25.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.9886, allocations: 0 / 0.8078 GB, free: 25.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003741/0.9923, allocations: 2.114 MB / 0.8099 GB, free: 23.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/0.9964, allocations: 0.6502 MB / 0.8105 GB, free: 23.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06725/1.064, allocations: 39.08 MB / 0.8487 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006605/1.07, allocations: 4.154 MB / 0.8528 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004201/1.074, allocations: 1.326 MB / 0.854 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004236/1.079, allocations: 2.26 MB / 0.8563 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of SimCode: time 1.163e-06/1.079, allocations: 3.938 kB / 0.8563 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.44/1.519, allocations: 93.56 MB / 0.9476 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.55/23.07, allocations: 12.08 kB / 0.9476 GB, free: 171.1 MB / 0.5606 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.436749227999826] Failed to read output from testmodel.py, exit status != 0: 23.23954618800053 23.262306808 22.854686201 Calling exit ...