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.001785/0.001785, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.503/1.503, allocations: 230.6 MB / 250.5 MB, free: 9.375 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.00159/0.00159, allocations: 215.6 kB / 306.7 MB, free: 4.316 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.04217/0.04217, allocations: 8.915 MB / 371.7 MB, free: 3.453 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="cs",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.002435/0.002435, allocations: 79.89 kB / 496.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2885, allocations: 55.57 MB / 0.5391 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.019/0.3075, allocations: 25.57 MB / 0.5641 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3222, allocations: 8.137 MB / 0.572 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004853/0.3271, allocations: 205.6 kB / 0.5722 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.3418, allocations: 6.165 MB / 0.5783 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009714/0.3515, allocations: 2.796 MB / 0.581 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.3571, allocations: 1.637 MB / 0.5826 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.3687, allocations: 7.353 MB / 0.5898 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01759/0.3863, allocations: 10.14 MB / 0.5997 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.3935, allocations: 3.814 MB / 0.6034 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007606/0.4011, allocations: 4.302 MB / 0.6076 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002896/0.404, allocations: 1.074 MB / 0.6086 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.4088, allocations: 1.449 MB / 0.6101 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003542/0.4124, allocations: 2.151 MB / 0.6122 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00815/0.4205, allocations: 4.12 MB / 0.6162 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.4411, allocations: 14.5 MB / 0.6303 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.4411, allocations: 4 kB / 0.6303 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4411, allocations: 0 / 0.6303 GB, free: 436 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003933/0.4415, allocations: 4 kB / 0.6303 GB, free: 432 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.02949/0.471, allocations: 8.972 MB / 0.6391 GB, free: 7.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.471, allocations: 12.03 kB / 0.6391 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002601/0.4713, allocations: 193 kB / 0.6393 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003926/0.4752, allocations: 1.048 MB / 0.6403 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/0.5025, allocations: 4.413 MB / 0.6446 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.5136, allocations: 4.654 MB / 0.6492 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/0.5142, allocations: 489.1 kB / 0.6496 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/0.5167, allocations: 0.6327 MB / 0.6503 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/0.5441, allocations: 10.4 MB / 0.6604 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/0.5444, allocations: 15.94 kB / 0.6604 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/0.5464, allocations: 260 kB / 0.6607 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005728/0.547, allocations: 417.7 kB / 0.6611 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.5703, allocations: 9.915 MB / 0.6708 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2833/0.8536, allocations: 37.2 MB / 0.7071 GB, free: 93.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/0.8691, allocations: 20.52 MB / 0.7271 GB, free: 76.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/0.8732, allocations: 2.126 MB / 0.7292 GB, free: 76.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.8737, allocations: 330.1 kB / 0.7295 GB, free: 75.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.8737, allocations: 65.75 kB / 0.7296 GB, free: 75.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 7.655e-06/0.8737, allocations: 2.844 kB / 0.7296 GB, free: 75.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.04041/0.9141, allocations: 16.52 MB / 0.7457 GB, free: 69.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01898/0.9331, allocations: 12.45 MB / 0.7579 GB, free: 62.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.9383, allocations: 3.033 MB / 0.7608 GB, free: 60.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000625/0.9389, allocations: 84.27 kB / 0.7609 GB, free: 60.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.9406, allocations: 2.961 MB / 0.7638 GB, free: 58.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.9419, allocations: 1.287 MB / 0.7651 GB, free: 57.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/0.944, allocations: 1 MB / 0.766 GB, free: 56.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.944, allocations: 305.1 kB / 0.7663 GB, free: 56.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/0.9474, allocations: 2.364 MB / 0.7686 GB, free: 55.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/0.9517, allocations: 4.084 MB / 0.7726 GB, free: 51.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/0.96, allocations: 6.808 MB / 0.7793 GB, free: 46.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.823e-05/0.9601, allocations: 16.97 kB / 0.7793 GB, free: 46.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01475/0.9748, allocations: 7.921 MB / 0.787 GB, free: 40.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.9749, allocations: 28 kB / 0.7871 GB, free: 40.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.975, allocations: 56 kB / 0.7871 GB, free: 40.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.9785, allocations: 1.313 MB / 0.7884 GB, free: 39.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/0.9827, allocations: 1.123 MB / 0.7895 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.9983, allocations: 12.87 MB / 0.8021 GB, free: 24.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/1.003, allocations: 315.5 kB / 0.8024 GB, free: 24.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008967/1.004, allocations: 251.9 kB / 0.8026 GB, free: 24.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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 (584): * Single equations (assignments): 582 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,28,65.6%), (8,28,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004368/1.008, allocations: 2.375 MB / 0.8049 GB, free: 21.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.009, allocations: 353.8 kB / 0.8053 GB, free: 21.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.02, allocations: 6.132 MB / 0.8112 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.02, allocations: 39.94 kB / 0.8113 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.02, allocations: 8 kB / 0.8113 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/1.02, allocations: 23.77 kB / 0.8113 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/1.05, allocations: 17.58 MB / 0.8285 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/1.05, allocations: 7.938 kB / 0.8285 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.052, allocations: 0.5545 MB / 0.829 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004365/1.057, allocations: 1.329 MB / 0.8303 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005484/1.057, allocations: 79.97 kB / 0.8304 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/1.08, allocations: 13.18 MB / 0.8433 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02162/1.101, allocations: 12.18 MB / 0.8552 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.118, allocations: 8.536 MB / 0.8635 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.12, allocations: 0.8227 MB / 0.8643 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009466/1.121, allocations: 64 kB / 0.8644 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.123, allocations: 167.8 kB / 0.8645 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007861/1.124, allocations: 270.8 kB / 0.8648 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/1.125, allocations: 111.9 kB / 0.8649 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004102/1.129, allocations: 2.021 MB / 0.8669 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.129, allocations: 3.938 kB / 0.8669 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00639/1.135, allocations: 1.359 MB / 0.8682 GB, free: 4.078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,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 (305): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,20,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01825/1.153, allocations: 9.233 MB / 0.8772 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.014/1.167, allocations: 6.058 MB / 0.8831 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.167, allocations: 4 kB / 0.8831 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00719/1.174, allocations: 3.003 MB / 0.8861 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.18, allocations: 0.6739 MB / 0.8867 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.298/1.477, allocations: 43.61 MB / 0.9293 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005863/1.483, allocations: 4.295 MB / 0.9335 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004293/1.488, allocations: 1.363 MB / 0.9348 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003374/1.491, allocations: 2.307 MB / 0.9371 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/1.491, allocations: 1.344 kB / 0.9371 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.644, allocations: 105.5 MB / 1.04 GB, free: 75.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.46/22.11, allocations: 11.94 kB / 1.04 GB, free: 75 MB / 0.5606 GB " [Timeout remaining time 638] (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 os._exit(0), Time elapsed: 33.857454726006836] Failed to read output from testmodel.py, exit status != 0: 22.31092737900326 22.320309111 21.8768299 Calling exit ...