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.001308/0.001308, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.00146/0.00146, allocations: 210.2 kB / 310 MB, free: 3.047 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.04034/0.04034, allocations: 8.916 MB / 375.4 MB, free: 6.574 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.002371/0.002371, allocations: 85.75 kB / 0.4899 GB, free: 44.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09303, allocations: 55.61 MB / 0.5442 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2406/0.3336, allocations: 21.96 MB / 0.5657 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3468, allocations: 7.745 MB / 0.5733 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/0.352, allocations: 202.6 kB / 0.5734 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01427/0.3662, allocations: 5.72 MB / 0.579 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.3765, allocations: 2.79 MB / 0.5818 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.3819, allocations: 1.607 MB / 0.5833 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3923, allocations: 7.399 MB / 0.5906 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01527/0.4076, allocations: 9.129 MB / 0.5995 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007357/0.415, allocations: 3.85 MB / 0.6032 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008624/0.4236, allocations: 4.308 MB / 0.6074 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003/0.4266, allocations: 1.072 MB / 0.6085 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.4316, allocations: 1.456 MB / 0.6099 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003655/0.4352, allocations: 2.154 MB / 0.612 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007666/0.4429, allocations: 3.211 MB / 0.6151 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02169/0.4646, allocations: 14.57 MB / 0.6294 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.4646, allocations: 4 kB / 0.6294 GB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4646, allocations: 0 / 0.6294 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.465, allocations: 0 / 0.6294 GB, free: 6.504 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.0281/0.4931, allocations: 8.9 MB / 0.6381 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.4932, allocations: 11.98 kB / 0.6381 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002684/0.4934, allocations: 197.5 kB / 0.6383 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003312/0.4967, allocations: 1.045 MB / 0.6393 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/0.5227, allocations: 4.421 MB / 0.6436 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.5333, allocations: 4.633 MB / 0.6481 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005169/0.5338, allocations: 497.1 kB / 0.6486 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/0.5365, allocations: 0.6249 MB / 0.6492 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.561, allocations: 10.5 MB / 0.6595 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.5612, allocations: 15.91 kB / 0.6595 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.5624, allocations: 264 kB / 0.6597 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/0.5629, allocations: 421.7 kB / 0.6601 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.5832, allocations: 9.919 MB / 0.6698 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06009/0.6433, allocations: 30.81 MB / 0.6999 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.6569, allocations: 6.723 MB / 0.7065 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.6603, allocations: 2.129 MB / 0.7085 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.6605, allocations: 78.31 kB / 0.7086 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.6606, allocations: 64.94 kB / 0.7087 GB, free: 4.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 5.501e-06/0.6606, allocations: 0 / 0.7087 GB, free: 4.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.03715/0.6978, allocations: 16.37 MB / 0.7247 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01979/0.7175, allocations: 12.03 MB / 0.7364 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/0.7225, allocations: 3.033 MB / 0.7394 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008096/0.7233, allocations: 81.7 kB / 0.7395 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/0.7257, allocations: 2.972 MB / 0.7424 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/0.7272, allocations: 1.282 MB / 0.7436 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.7287, allocations: 1.005 MB / 0.7446 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7289, allocations: 301.1 kB / 0.7449 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/0.7324, allocations: 2.36 MB / 0.7472 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/0.7374, allocations: 4.11 MB / 0.7512 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009418/0.7468, allocations: 6.803 MB / 0.7578 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-05/0.7469, allocations: 20 kB / 0.7579 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01454/0.7614, allocations: 7.932 MB / 0.7656 GB, free: 8.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.7615, allocations: 28 kB / 0.7656 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.7616, allocations: 52 kB / 0.7657 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003599/0.7652, allocations: 1.309 MB / 0.767 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.7694, allocations: 1.123 MB / 0.7681 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2462/1.016, allocations: 12.45 MB / 0.7802 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/1.019, allocations: 305 kB / 0.7805 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007055/1.02, allocations: 254.4 kB / 0.7808 GB, free: 164.5 MB / 0.545 GB 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.003841/1.024, allocations: 2.373 MB / 0.7831 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.025, allocations: 361.1 kB / 0.7834 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.036, allocations: 6.133 MB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/1.036, allocations: 43.44 kB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.036, allocations: 10.94 kB / 0.7895 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/1.036, allocations: 17.86 kB / 0.7895 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.062, allocations: 16.63 MB / 0.8057 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.062, allocations: 8.5 kB / 0.8057 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.065, allocations: 0.5543 MB / 0.8063 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003411/1.068, allocations: 1.33 MB / 0.8076 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/1.068, allocations: 81.12 kB / 0.8076 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.083, allocations: 12.77 MB / 0.8201 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01442/1.097, allocations: 11.79 MB / 0.8316 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.108, allocations: 8.54 MB / 0.84 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.109, allocations: 0.7534 MB / 0.8407 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/1.11, allocations: 74.55 kB / 0.8408 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.112, allocations: 163.8 kB / 0.8409 GB, free: 131.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.112, allocations: 282.5 kB / 0.8412 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.112, allocations: 104 kB / 0.8413 GB, free: 131 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00227/1.115, allocations: 2.024 MB / 0.8433 GB, free: 129 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.115, allocations: 0 / 0.8433 GB, free: 129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004209/1.119, allocations: 1.367 MB / 0.8446 GB, free: 127.7 MB / 0.545 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.01043/1.129, allocations: 9.231 MB / 0.8536 GB, free: 118.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008238/1.138, allocations: 6.06 MB / 0.8595 GB, free: 112.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.138, allocations: 4 kB / 0.8595 GB, free: 112.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/1.142, allocations: 3.003 MB / 0.8625 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.145, allocations: 0.6698 MB / 0.8631 GB, free: 108.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05517/1.2, allocations: 43.7 MB / 0.9058 GB, free: 62.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/1.203, allocations: 3.797 MB / 0.9095 GB, free: 59.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003181/1.206, allocations: 1.363 MB / 0.9108 GB, free: 57.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/1.209, allocations: 2.307 MB / 0.9131 GB, free: 55.39 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/1.209, allocations: 0 / 0.9131 GB, free: 55.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/1.583, allocations: 109 MB / 1.02 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/22.39, allocations: 6.547 kB / 1.02 GB, free: 186.7 MB / 0.5762 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 & /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: 34.018673302954994] Failed to read output from testmodel.py, exit status != 0: 22.621467798016965 22.640491835 22.172144897 Calling exit ...