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.001341/0.001341, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.44/1.44, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.00151/0.00151, allocations: 206.1 kB / 306.7 MB, free: 4.262 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.04118/0.04118, allocations: 8.918 MB / 371.7 MB, free: 3.387 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_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",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.00256/0.00256, allocations: 79.88 kB / 496.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2868, allocations: 55.57 MB / 0.5391 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01977/0.3066, allocations: 25.57 MB / 0.5641 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.323, allocations: 8.137 MB / 0.572 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005391/0.3284, allocations: 206 kB / 0.5722 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01562/0.344, allocations: 6.174 MB / 0.5783 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.3549, allocations: 2.787 MB / 0.581 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.3605, allocations: 1.649 MB / 0.5826 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01105/0.3716, allocations: 7.348 MB / 0.5898 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01874/0.3903, allocations: 10.13 MB / 0.5997 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007264/0.3976, allocations: 3.818 MB / 0.6034 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008052/0.4056, allocations: 4.302 MB / 0.6076 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00323/0.4089, allocations: 1.074 MB / 0.6086 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005195/0.4141, allocations: 1.449 MB / 0.61 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003416/0.4175, allocations: 2.151 MB / 0.6121 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007307/0.4248, allocations: 4.117 MB / 0.6162 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01859/0.4434, allocations: 14.5 MB / 0.6303 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.4434, allocations: 0 / 0.6303 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4434, allocations: 0 / 0.6303 GB, free: 396 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003491/0.4437, allocations: 7.938 kB / 0.6303 GB, free: 388 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.02635/0.4701, allocations: 8.973 MB / 0.6391 GB, free: 7.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4701, allocations: 12.03 kB / 0.6391 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002098/0.4704, allocations: 197 kB / 0.6393 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.4728, allocations: 1.048 MB / 0.6403 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02635/0.4992, allocations: 4.413 MB / 0.6446 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.5096, allocations: 4.65 MB / 0.6492 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.5101, allocations: 485.1 kB / 0.6496 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.5124, allocations: 0.6365 MB / 0.6503 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.5353, allocations: 10.39 MB / 0.6604 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002037/0.5356, allocations: 19.94 kB / 0.6604 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.5369, allocations: 268 kB / 0.6607 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000524/0.5374, allocations: 421.7 kB / 0.6611 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.5581, allocations: 9.919 MB / 0.6708 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2858/0.844, allocations: 37.19 MB / 0.7071 GB, free: 93.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.8593, allocations: 20.52 MB / 0.7271 GB, free: 76.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.8626, allocations: 2.122 MB / 0.7292 GB, free: 76.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.8629, allocations: 332.2 kB / 0.7295 GB, free: 75.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.8629, allocations: 66.14 kB / 0.7296 GB, free: 75.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 5.27e-06/0.8629, allocations: 2.047 kB / 0.7296 GB, free: 75.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.03674/0.8997, allocations: 16.52 MB / 0.7457 GB, free: 69.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01781/0.9175, allocations: 12.44 MB / 0.7579 GB, free: 62.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.9212, allocations: 3.035 MB / 0.7608 GB, free: 60.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000451/0.9217, allocations: 81.02 kB / 0.7609 GB, free: 60.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.9229, allocations: 2.966 MB / 0.7638 GB, free: 58.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009133/0.9239, allocations: 1.288 MB / 0.7651 GB, free: 57.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.9251, allocations: 1.002 MB / 0.766 GB, free: 56.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.9251, allocations: 308.2 kB / 0.7663 GB, free: 56.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/0.9279, allocations: 2.363 MB / 0.7686 GB, free: 55.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.9313, allocations: 4.083 MB / 0.7726 GB, free: 51.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/0.9383, allocations: 6.807 MB / 0.7793 GB, free: 46.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.985e-05/0.9383, allocations: 16.22 kB / 0.7793 GB, free: 46.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.0118/0.9501, allocations: 7.922 MB / 0.787 GB, free: 40.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.9501, allocations: 30.34 kB / 0.7871 GB, free: 40.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-05/0.9502, allocations: 56 kB / 0.7871 GB, free: 40.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.9534, allocations: 1.309 MB / 0.7884 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.9572, allocations: 1.131 MB / 0.7895 GB, free: 37.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.9715, allocations: 12.87 MB / 0.8021 GB, free: 24.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.9753, allocations: 299.5 kB / 0.8023 GB, free: 24.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/0.9759, allocations: 255.9 kB / 0.8026 GB, free: 24.13 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.003216/0.9791, allocations: 2.379 MB / 0.8049 GB, free: 21.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007954/0.9799, allocations: 353.8 kB / 0.8053 GB, free: 21.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00913/0.989, allocations: 6.135 MB / 0.8112 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.989, allocations: 36 kB / 0.8113 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.989, allocations: 8 kB / 0.8113 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.112e-05/0.9891, allocations: 19.92 kB / 0.8113 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.015, allocations: 17.58 MB / 0.8285 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.015, allocations: 4 kB / 0.8285 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.018, allocations: 0.5539 MB / 0.829 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.021, allocations: 1.33 MB / 0.8303 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/1.022, allocations: 79.97 kB / 0.8304 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/1.042, allocations: 13.19 MB / 0.8433 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02046/1.063, allocations: 12.18 MB / 0.8552 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.078, allocations: 8.529 MB / 0.8635 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.08, allocations: 0.8188 MB / 0.8643 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008374/1.081, allocations: 68 kB / 0.8644 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.083, allocations: 171.9 kB / 0.8645 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/1.084, allocations: 266.7 kB / 0.8648 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.084, allocations: 112 kB / 0.8649 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003205/1.087, allocations: 2.024 MB / 0.8669 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.087, allocations: 0 / 0.8669 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00494/1.092, allocations: 1.359 MB / 0.8682 GB, free: 3.957 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.01461/1.107, allocations: 9.236 MB / 0.8772 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.118, allocations: 6.055 MB / 0.8831 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.118, allocations: 4.062 kB / 0.8831 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006338/1.124, allocations: 3.014 MB / 0.8861 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.128, allocations: 0.6678 MB / 0.8867 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2619/1.39, allocations: 43.61 MB / 0.9293 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004539/1.394, allocations: 4.292 MB / 0.9335 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003702/1.398, allocations: 1.365 MB / 0.9348 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002621/1.401, allocations: 2.308 MB / 0.9371 GB, free: 166 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/1.401, allocations: 0 / 0.9371 GB, free: 166 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.564, allocations: 105.5 MB / 1.04 GB, free: 74.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.18, allocations: 8 kB / 1.04 GB, free: 74.36 MB / 0.5606 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.747550128027797] Failed to read output from testmodel.py, exit status != 0: 22.390810113050975 22.407563616 21.960783156 Calling exit ...