Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.0008339/0.0008339, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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 0.8346/0.8346, allocations: 177.2 MB / 200.2 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.000986/0.000986, allocations: 152.6 kB / 256.7 MB, free: 13.34 MB / 250.7 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.02175/0.02175, allocations: 6.656 MB / 319.8 MB, free: 26.77 MB / 266.7 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: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.648e-05, allocations: 5.094 kB / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.0113/0.01132, allocations: 21.99 MB / 468.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.02016, allocations: 7.772 MB / 476.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.02178, allocations: 207 kB / 476.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.02636, allocations: 6.032 MB / 482.7 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.02976, allocations: 2.835 MB / 485.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.03154, allocations: 1.612 MB / 487.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004629/0.03617, allocations: 7.632 MB / 494.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007144/0.04331, allocations: 9.019 MB / 0.492 GB, free: 11.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.04748, allocations: 5.655 MB / 0.4975 GB, free: 6.039 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.05033, allocations: 3.617 MB / 0.501 GB, free: 2.414 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007343/0.05106, allocations: 1.07 MB / 0.5021 GB, free: 1.344 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.05249, allocations: 1.448 MB / 0.5035 GB, free: 15.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.05356, allocations: 2.189 MB / 0.5056 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.05532, allocations: 2.764 MB / 0.5083 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008577/0.06389, allocations: 14.7 MB / 0.5227 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.0639, allocations: 3.938 kB / 0.5227 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0639, allocations: 3.938 kB / 0.5227 GB, free: 12.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.06401, allocations: 0 / 0.5227 GB, free: 12.18 MB / 394.7 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.0115/0.07551, allocations: 8.818 MB / 0.5313 GB, free: 3.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.07554, allocations: 8.031 kB / 0.5313 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.08733, allocations: 4.417 MB / 0.5356 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.09249, allocations: 4.629 MB / 0.5401 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.0927, allocations: 485.1 kB / 0.5406 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006705/0.09337, allocations: 0.6288 MB / 0.5412 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.1045, allocations: 10.48 MB / 0.5514 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.874e-05/0.1046, allocations: 15.89 kB / 0.5515 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004589/0.1051, allocations: 260 kB / 0.5517 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.1053, allocations: 425.6 kB / 0.5521 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.1158, allocations: 9.849 MB / 0.5617 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1598/0.2756, allocations: 29.67 MB / 0.5907 GB, free: 95.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006592/0.2822, allocations: 6.705 MB / 0.5973 GB, free: 90.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.2839, allocations: 2.108 MB / 0.5993 GB, free: 88.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.284, allocations: 74.27 kB / 0.5994 GB, free: 87.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.284, allocations: 65.44 kB / 0.5995 GB, free: 87.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.11e-06/0.284, allocations: 0 / 0.5995 GB, free: 87.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01126/0.2953, allocations: 10.8 MB / 0.61 GB, free: 77.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2953, allocations: 81.78 kB / 0.6101 GB, free: 77.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.2975, allocations: 2.891 MB / 0.6129 GB, free: 74.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.2976, allocations: 75.11 kB / 0.613 GB, free: 74.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/0.2983, allocations: 2.968 MB / 0.6159 GB, free: 71.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.2987, allocations: 1.068 MB / 0.6169 GB, free: 70.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/0.2994, allocations: 0.9138 MB / 0.6178 GB, free: 69.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.466e-05/0.2994, allocations: 301.1 kB / 0.6181 GB, free: 69.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.3011, allocations: 2.031 MB / 0.6201 GB, free: 67.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.3031, allocations: 3.757 MB / 0.6237 GB, free: 62.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.3071, allocations: 6.059 MB / 0.6297 GB, free: 55.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.3071, allocations: 16 kB / 0.6297 GB, free: 55.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005895/0.313, allocations: 6.624 MB / 0.6361 GB, free: 49.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.3131, allocations: 30.81 kB / 0.6362 GB, free: 49.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/0.3131, allocations: 56 kB / 0.6362 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000979/0.3141, allocations: 0.6703 MB / 0.6369 GB, free: 48.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.3158, allocations: 1.076 MB / 0.6379 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.3205, allocations: 5.997 MB / 0.6438 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.3223, allocations: 271.7 kB / 0.6441 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.3225, allocations: 236 kB / 0.6443 GB, free: 40.83 MB / 426.7 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.002584/0.3251, allocations: 2.316 MB / 0.6465 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.3254, allocations: 314 kB / 0.6468 GB, free: 38.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.3296, allocations: 4.608 MB / 0.6513 GB, free: 33.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3296, allocations: 31.94 kB / 0.6514 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3296, allocations: 8 kB / 0.6514 GB, free: 33.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3296, allocations: 15.94 kB / 0.6514 GB, free: 33.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008854/0.3385, allocations: 9.545 MB / 0.6607 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.3385, allocations: 4 kB / 0.6607 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3395, allocations: 0.5344 MB / 0.6612 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007941/0.3403, allocations: 0.566 MB / 0.6618 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.3404, allocations: 67.97 kB / 0.6619 GB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.3441, allocations: 5.24 MB / 0.667 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3441, allocations: 4 kB / 0.667 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/0.3493, allocations: 6.558 MB / 0.6734 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.3501, allocations: 0.6383 MB / 0.674 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.3503, allocations: 63.94 kB / 0.6741 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.3511, allocations: 139.8 kB / 0.6742 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3513, allocations: 221.8 kB / 0.6744 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.3514, allocations: 91.98 kB / 0.6745 GB, free: 9.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.3529, allocations: 1.843 MB / 0.6763 GB, free: 7.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3529, allocations: 8.062 kB / 0.6763 GB, free: 7.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002577/0.3555, allocations: 1.168 MB / 0.6774 GB, free: 6.453 MB / 426.7 MB 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.0003249/0.3558, allocations: 230.2 kB / 0.6777 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.3599, allocations: 4.835 MB / 0.6824 GB, free: 1.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3599, allocations: 0 / 0.6824 GB, free: 1.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.3619, allocations: 2.11 MB / 0.6844 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.3634, allocations: 0.5658 MB / 0.685 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.3759, allocations: 10.97 MB / 0.6957 GB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.3785, allocations: 3.533 MB / 0.6992 GB, free: 12 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.3793, allocations: 332.4 kB / 0.6995 GB, free: 15.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3793, allocations: 3.938 kB / 0.6995 GB, free: 15.68 MB / 458.7 MB Notification: Performance of Templates: time 0.2158/0.5951, allocations: 109.1 MB / 0.806 GB, free: 112.3 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.836915581487119] Failed to read output from testmodel.py, exit status != 0: 0.5998068721964955 0.605676174 0.54049743 Calling exit ...