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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 109.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 192.8 kB / 299.8 MB, free: 9.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04195/0.04195, allocations: 8.933 MB / 363.6 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 82.45 kB / 486.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09676, allocations: 54.42 MB / 0.5279 GB, free: 1.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02829/0.1251, allocations: 25.52 MB / 0.5528 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.1408, allocations: 8.045 MB / 0.5606 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.1449, allocations: 179.4 kB / 0.5608 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01392/0.1588, allocations: 6.165 MB / 0.5668 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008474/0.1673, allocations: 2.79 MB / 0.5695 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.1723, allocations: 1.634 MB / 0.5711 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.183, allocations: 7.267 MB / 0.5782 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01749/0.2005, allocations: 10.14 MB / 0.5881 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/0.2077, allocations: 3.748 MB / 0.5918 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/0.2154, allocations: 4.275 MB / 0.596 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003118/0.2186, allocations: 1.07 MB / 0.597 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.2233, allocations: 1.433 MB / 0.5984 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003595/0.2269, allocations: 2.147 MB / 0.6005 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.2346, allocations: 4.109 MB / 0.6045 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.256, allocations: 14.48 MB / 0.6187 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.256, allocations: 0 / 0.6187 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.256, allocations: 0 / 0.6187 GB, free: 3.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003717/0.2564, allocations: 0 / 0.6187 GB, free: 3.891 MB / 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.02748/0.2839, allocations: 8.929 MB / 0.6274 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2839, allocations: 8.031 kB / 0.6274 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003464/0.2874, allocations: 1.044 MB / 0.6284 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02645/0.3138, allocations: 4.44 MB / 0.6327 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.3271, allocations: 4.634 MB / 0.6373 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005264/0.3277, allocations: 489.1 kB / 0.6377 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2113/0.539, allocations: 0.6242 MB / 0.6383 GB, free: 86.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.5625, allocations: 10.36 MB / 0.6485 GB, free: 83.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/0.5627, allocations: 11.81 kB / 0.6485 GB, free: 83.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.564, allocations: 266.4 kB / 0.6487 GB, free: 83.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002907/0.5643, allocations: 417.7 kB / 0.6491 GB, free: 83.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.5794, allocations: 9.88 MB / 0.6588 GB, free: 78.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04472/0.6241, allocations: 35.4 MB / 0.6934 GB, free: 43.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.638, allocations: 20.39 MB / 0.7133 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/0.6414, allocations: 2.109 MB / 0.7153 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.6417, allocations: 228 kB / 0.7155 GB, free: 18.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.6418, allocations: 60.89 kB / 0.7156 GB, free: 18.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.481e-06/0.6418, allocations: 0 / 0.7156 GB, free: 18.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02137/0.6632, allocations: 10.93 MB / 0.7263 GB, free: 7.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.6632, allocations: 85.72 kB / 0.7264 GB, free: 7.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.6676, allocations: 3.034 MB / 0.7293 GB, free: 4.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005625/0.6682, allocations: 73.7 kB / 0.7294 GB, free: 4.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.6698, allocations: 2.964 MB / 0.7323 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.6708, allocations: 1.087 MB / 0.7333 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001653/0.6725, allocations: 0.9102 MB / 0.7342 GB, free: 15.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6726, allocations: 301.1 kB / 0.7345 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.6765, allocations: 2.02 MB / 0.7365 GB, free: 13.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006006/0.6825, allocations: 3.728 MB / 0.7401 GB, free: 8.891 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.6928, allocations: 6.047 MB / 0.746 GB, free: 2.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.215e-05/0.6929, allocations: 16 kB / 0.7461 GB, free: 2.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01525/0.7081, allocations: 6.63 MB / 0.7525 GB, free: 11.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.7082, allocations: 34.91 kB / 0.7526 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.7083, allocations: 60.16 kB / 0.7526 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.7102, allocations: 0.6641 MB / 0.7533 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/0.7145, allocations: 1.065 MB / 0.7543 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.7249, allocations: 6.233 MB / 0.7604 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.7289, allocations: 279.7 kB / 0.7607 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/0.7301, allocations: 235.9 kB / 0.7609 GB, free: 2.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006034/0.7361, allocations: 2.307 MB / 0.7631 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.7374, allocations: 341.8 kB / 0.7635 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.7486, allocations: 4.614 MB / 0.768 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/0.7486, allocations: 35.94 kB / 0.768 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.7486, allocations: 4 kB / 0.768 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.7487, allocations: 19.88 kB / 0.768 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/0.7756, allocations: 11.08 MB / 0.7788 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.7756, allocations: 4 kB / 0.7789 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/0.7782, allocations: 0.5343 MB / 0.7794 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.78, allocations: 0.5664 MB / 0.7799 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005977/0.7806, allocations: 71.92 kB / 0.78 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009151/0.7898, allocations: 5.462 MB / 0.7853 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.7898, allocations: 11.94 kB / 0.7853 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.8036, allocations: 6.577 MB / 0.7918 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/0.8062, allocations: 0.7368 MB / 0.7925 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/0.8073, allocations: 63.98 kB / 0.7925 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/0.81, allocations: 147.9 kB / 0.7927 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008835/0.8109, allocations: 210 kB / 0.7929 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004375/0.8113, allocations: 87.98 kB / 0.793 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004668/0.816, allocations: 2.02 MB / 0.7949 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.816, allocations: 0 / 0.7949 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005522/0.8215, allocations: 1.172 MB / 0.7961 GB, free: 14.12 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,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 (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/0.8353, allocations: 7.257 MB / 0.8032 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.8454, allocations: 4.826 MB / 0.8079 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.8454, allocations: 0 / 0.8079 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.8501, allocations: 2.114 MB / 0.81 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.8541, allocations: 0.6437 MB / 0.8106 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08572/0.9399, allocations: 39.02 MB / 0.8487 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009433/0.9493, allocations: 4.146 MB / 0.8527 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005571/0.9549, allocations: 1.33 MB / 0.854 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2415/1.196, allocations: 2.244 MB / 0.8562 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.963e-06/1.196, allocations: 0 / 0.8562 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/1.336, allocations: 89.25 MB / 0.9434 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.85, allocations: 11.98 kB / 0.9434 GB, free: 130.3 MB / 0.5606 GB " [Timeout remaining time 641] (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: 27.11383751500398] Failed to read output from testmodel.py, exit status != 0: 19.192285720724612 19.052339024 18.792823885 Calling exit ...