Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001361/0.001361, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 14.3 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.001549/0.001549, allocations: 210.8 kB / 310 MB, free: 3.137 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.0406/0.0406, allocations: 8.93 MB / 375.4 MB, free: 6.625 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_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",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.002423/0.002423, allocations: 75.89 kB / 0.4899 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08932, allocations: 55.62 MB / 0.5443 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2241/0.3134, allocations: 21.94 MB / 0.5657 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.3281, allocations: 7.752 MB / 0.5732 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.333, allocations: 203 kB / 0.5734 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01343/0.3464, allocations: 5.726 MB / 0.579 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.3554, allocations: 2.786 MB / 0.5818 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.3606, allocations: 1.609 MB / 0.5833 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009593/0.3702, allocations: 7.392 MB / 0.5905 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01444/0.3846, allocations: 9.131 MB / 0.5995 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007373/0.392, allocations: 3.85 MB / 0.6032 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00843/0.4004, allocations: 4.306 MB / 0.6074 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002802/0.4032, allocations: 1.073 MB / 0.6085 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004756/0.408, allocations: 1.46 MB / 0.6099 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003365/0.4114, allocations: 2.153 MB / 0.612 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006708/0.4181, allocations: 3.208 MB / 0.6151 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.4369, allocations: 14.57 MB / 0.6294 GB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4369, allocations: 0 / 0.6294 GB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4369, allocations: 0 / 0.6294 GB, free: 6.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003924/0.4373, allocations: 0 / 0.6294 GB, free: 6.527 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.02716/0.4644, allocations: 8.904 MB / 0.6381 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4645, allocations: 11.98 kB / 0.6381 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002522/0.4647, allocations: 200.9 kB / 0.6383 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002955/0.4677, allocations: 1.045 MB / 0.6393 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02578/0.4935, allocations: 4.421 MB / 0.6436 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.5054, allocations: 4.629 MB / 0.6481 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006157/0.5061, allocations: 493.1 kB / 0.6486 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003105/0.5092, allocations: 0.6249 MB / 0.6492 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.5384, allocations: 10.5 MB / 0.6594 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003422/0.5387, allocations: 23.83 kB / 0.6595 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/0.5408, allocations: 268 kB / 0.6597 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005585/0.5413, allocations: 421.7 kB / 0.6601 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/0.5642, allocations: 9.915 MB / 0.6698 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0647/0.6289, allocations: 30.81 MB / 0.6999 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.644, allocations: 6.727 MB / 0.7065 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/0.6481, allocations: 2.125 MB / 0.7085 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.6486, allocations: 74.31 kB / 0.7086 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.766e-05/0.6486, allocations: 68.88 kB / 0.7087 GB, free: 4.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 8.025e-06/0.6486, allocations: 0 / 0.7087 GB, free: 4.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.04192/0.6906, allocations: 16.37 MB / 0.7247 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02112/0.7117, allocations: 12.05 MB / 0.7364 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/0.7173, allocations: 3.03 MB / 0.7394 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000551/0.7179, allocations: 85.7 kB / 0.7395 GB, free: 5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002496/0.7204, allocations: 2.971 MB / 0.7424 GB, free: 2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/0.722, allocations: 1.282 MB / 0.7436 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002817/0.7249, allocations: 0.9973 MB / 0.7446 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.725, allocations: 305.1 kB / 0.7449 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00427/0.7292, allocations: 2.356 MB / 0.7472 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/0.7352, allocations: 4.11 MB / 0.7512 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.7456, allocations: 6.807 MB / 0.7578 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-05/0.7456, allocations: 16 kB / 0.7579 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01652/0.7622, allocations: 7.935 MB / 0.7656 GB, free: 8.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.7622, allocations: 28.94 kB / 0.7656 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.7623, allocations: 56 kB / 0.7657 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/0.7663, allocations: 1.305 MB / 0.767 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.7708, allocations: 1.127 MB / 0.7681 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.23/1.001, allocations: 12.45 MB / 0.7802 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/1.004, allocations: 303.9 kB / 0.7805 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000607/1.005, allocations: 252.7 kB / 0.7808 GB, free: 164.4 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.003703/1.009, allocations: 2.374 MB / 0.7831 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/1.01, allocations: 361 kB / 0.7834 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.021, allocations: 6.134 MB / 0.7894 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.021, allocations: 35.41 kB / 0.7894 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/1.021, allocations: 7.531 kB / 0.7894 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.784e-05/1.021, allocations: 18.25 kB / 0.7895 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/1.048, allocations: 16.63 MB / 0.8057 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/1.048, allocations: 4.688 kB / 0.8057 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.051, allocations: 0.5632 MB / 0.8063 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/1.054, allocations: 1.329 MB / 0.8076 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004167/1.055, allocations: 81.22 kB / 0.8076 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.07, allocations: 12.77 MB / 0.8201 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01486/1.084, allocations: 11.79 MB / 0.8316 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.095, allocations: 8.524 MB / 0.8399 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.097, allocations: 0.7633 MB / 0.8407 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006189/1.098, allocations: 70 kB / 0.8408 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.1, allocations: 163.8 kB / 0.8409 GB, free: 131.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005825/1.1, allocations: 282.5 kB / 0.8412 GB, free: 131.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.1, allocations: 110 kB / 0.8413 GB, free: 131.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002646/1.103, allocations: 2.021 MB / 0.8433 GB, free: 129.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.103, allocations: 0 / 0.8433 GB, free: 129.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005186/1.108, allocations: 1.359 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.01196/1.12, allocations: 9.243 MB / 0.8536 GB, free: 118.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009566/1.13, allocations: 6.061 MB / 0.8595 GB, free: 112.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.025e-05/1.13, allocations: 192 / 0.8595 GB, free: 112.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.135, allocations: 2.999 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.003818/1.139, allocations: 0.6703 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.06224/1.201, allocations: 43.7 MB / 0.9058 GB, free: 62.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.204, allocations: 3.793 MB / 0.9095 GB, free: 59.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003444/1.208, allocations: 1.382 MB / 0.9108 GB, free: 57.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003394/1.211, allocations: 2.303 MB / 0.9131 GB, free: 55.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/1.211, allocations: 0 / 0.9131 GB, free: 55.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/1.576, allocations: 109 MB / 1.02 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.19, allocations: 3.438 kB / 1.02 GB, free: 186.6 MB / 0.5762 GB " [Timeout remaining time 638] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.75163531501312] Failed to read output from testmodel.py, exit status != 0: 22.426061369944364 22.446403652 22.005344921 Calling exit ...