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.001293/0.001293, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.474/1.474, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001546/0.001546, allocations: 212.3 kB / 310 MB, free: 3.141 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.04282/0.04282, allocations: 8.915 MB / 375.4 MB, free: 6.777 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.002587/0.002587, allocations: 83.81 kB / 0.49 GB, free: 44.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.0861, allocations: 55.6 MB / 0.5443 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2272/0.3133, allocations: 25.64 MB / 0.5694 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3292, allocations: 8.165 MB / 0.5773 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0055/0.3347, allocations: 200 kB / 0.5775 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0141/0.3488, allocations: 6.201 MB / 0.5836 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009875/0.3586, allocations: 2.856 MB / 0.5864 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004808/0.3634, allocations: 1.675 MB / 0.588 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3742, allocations: 7.407 MB / 0.5952 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01545/0.3896, allocations: 9.125 MB / 0.6041 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007139/0.3968, allocations: 3.843 MB / 0.6079 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008456/0.4052, allocations: 4.308 MB / 0.6121 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002766/0.408, allocations: 1.071 MB / 0.6132 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004968/0.413, allocations: 1.46 MB / 0.6146 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003744/0.4167, allocations: 2.157 MB / 0.6167 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008176/0.4249, allocations: 4.113 MB / 0.6207 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.4464, allocations: 14.51 MB / 0.6349 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.475e-06/0.4464, allocations: 3.938 kB / 0.6349 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4464, allocations: 0 / 0.6349 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004281/0.4468, allocations: 0 / 0.6349 GB, free: 2.188 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.02889/0.4757, allocations: 8.896 MB / 0.6436 GB, free: 9.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4757, allocations: 15.98 kB / 0.6436 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002431/0.476, allocations: 193 kB / 0.6438 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003423/0.4794, allocations: 1.045 MB / 0.6448 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02689/0.5063, allocations: 4.421 MB / 0.6491 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.5176, allocations: 4.633 MB / 0.6536 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006004/0.5182, allocations: 485.1 kB / 0.6541 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.5208, allocations: 0.6334 MB / 0.6547 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.5466, allocations: 10.4 MB / 0.6649 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/0.5468, allocations: 19.84 kB / 0.6649 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.5482, allocations: 264 kB / 0.6651 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004895/0.5487, allocations: 421.7 kB / 0.6655 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.5708, allocations: 9.912 MB / 0.6752 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0623/0.6331, allocations: 33.55 MB / 0.708 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.6482, allocations: 6.816 MB / 0.7146 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/0.6521, allocations: 2.129 MB / 0.7167 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.6525, allocations: 94.23 kB / 0.7168 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.6525, allocations: 64.88 kB / 0.7169 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=301): time 6.392e-06/0.6525, allocations: 3.984 kB / 0.7169 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=359): time 0.04087/0.6934, allocations: 16.38 MB / 0.7329 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02211/0.7155, allocations: 12.23 MB / 0.7448 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/0.7213, allocations: 3.033 MB / 0.7478 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/0.7218, allocations: 85.7 kB / 0.7478 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/0.7242, allocations: 2.964 MB / 0.7507 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/0.7258, allocations: 1.278 MB / 0.752 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.728, allocations: 1.001 MB / 0.753 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7281, allocations: 309.1 kB / 0.7533 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/0.7323, allocations: 2.356 MB / 0.7556 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005658/0.7379, allocations: 4.089 MB / 0.7596 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.7485, allocations: 6.803 MB / 0.7662 GB, free: 9.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.503e-05/0.7485, allocations: 16.12 kB / 0.7662 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01689/0.7654, allocations: 7.935 MB / 0.774 GB, free: 1.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.7655, allocations: 28 kB / 0.774 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.7656, allocations: 56 kB / 0.774 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2181/0.9837, allocations: 1.309 MB / 0.7753 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.988, allocations: 1.125 MB / 0.7764 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/1.006, allocations: 12.66 MB / 0.7888 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.01, allocations: 298.4 kB / 0.7891 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.011, allocations: 255.6 kB / 0.7893 GB, free: 161.7 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.00501/1.016, allocations: 2.375 MB / 0.7916 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.017, allocations: 354.3 kB / 0.792 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.032, allocations: 6.136 MB / 0.798 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/1.032, allocations: 37.22 kB / 0.798 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.064e-05/1.032, allocations: 6.344 kB / 0.798 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.587e-05/1.032, allocations: 17.81 kB / 0.798 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/1.065, allocations: 17.28 MB / 0.8149 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/1.065, allocations: 5.406 kB / 0.8149 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.067, allocations: 0.5525 MB / 0.8154 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/1.071, allocations: 1.337 MB / 0.8167 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004932/1.071, allocations: 83.36 kB / 0.8168 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/1.088, allocations: 12.99 MB / 0.8295 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01669/1.104, allocations: 11.97 MB / 0.8412 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/1.118, allocations: 8.537 MB / 0.8495 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.12, allocations: 0.7606 MB / 0.8503 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.121, allocations: 64 kB / 0.8503 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.123, allocations: 167.8 kB / 0.8505 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/1.124, allocations: 282.7 kB / 0.8508 GB, free: 124 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000381/1.125, allocations: 107.9 kB / 0.8509 GB, free: 123.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003679/1.128, allocations: 2.021 MB / 0.8528 GB, free: 121.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.128, allocations: 0 / 0.8528 GB, free: 121.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007114/1.135, allocations: 1.367 MB / 0.8542 GB, free: 120.5 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.0141/1.149, allocations: 9.231 MB / 0.8632 GB, free: 111.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.16, allocations: 6.061 MB / 0.8691 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.16, allocations: 0 / 0.8691 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00583/1.166, allocations: 3.006 MB / 0.872 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/1.171, allocations: 0.6716 MB / 0.8727 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06877/1.239, allocations: 43.7 MB / 0.9154 GB, free: 55.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004155/1.244, allocations: 4.289 MB / 0.9196 GB, free: 51.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003581/1.247, allocations: 1.37 MB / 0.9209 GB, free: 50.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/1.251, allocations: 2.303 MB / 0.9232 GB, free: 47.75 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.251, allocations: 0 / 0.9232 GB, free: 47.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4029/1.654, allocations: 110.1 MB / 1.031 GB, free: 164 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.42/23.07, allocations: 9.562 kB / 1.031 GB, free: 164 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 & /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: 35.04626803996507] Failed to read output from testmodel.py, exit status != 0: 23.304210681002587 23.315080103 22.865934067 Calling exit ...