Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001862/0.001862, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.56/1.56, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.002836/0.002836, allocations: 219.6 kB / 309.2 MB, free: 2.949 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.0551/0.0551, allocations: 8.92 MB / 374.6 MB, free: 1.723 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: translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [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.002912/0.002912, allocations: 83.88 kB / 0.4896 GB, free: 6.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3139, allocations: 55.59 MB / 0.5439 GB, free: 26.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03711/0.351, allocations: 39.37 MB / 0.5824 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03356/0.3846, allocations: 11.78 MB / 0.5939 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01023/0.3948, allocations: 432.4 kB / 0.5943 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03305/0.4279, allocations: 11.64 MB / 0.6057 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01992/0.4478, allocations: 4.94 MB / 0.6105 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.4585, allocations: 3.024 MB / 0.6134 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03249/0.491, allocations: 21.26 MB / 0.6342 GB, free: 260 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06532/0.5564, allocations: 26.48 MB / 0.6601 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02533/0.5817, allocations: 11.26 MB / 0.6711 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02315/0.6048, allocations: 11.82 MB / 0.6826 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009853/0.6147, allocations: 3.125 MB / 0.6857 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01379/0.6285, allocations: 3.539 MB / 0.6891 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01331/0.6418, allocations: 6.25 MB / 0.6952 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5184/1.16, allocations: 9.259 MB / 0.7043 GB, free: 46.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04772/1.208, allocations: 41.71 MB / 0.745 GB, free: 35.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.208, allocations: 0 / 0.745 GB, free: 35.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/1.208, allocations: 0.75 kB / 0.745 GB, free: 35.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001155/1.209, allocations: 3.406 kB / 0.745 GB, free: 35.62 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07555/1.285, allocations: 24.28 MB / 0.7687 GB, free: 20.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.285, allocations: 7.719 kB / 0.7687 GB, free: 20.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05967/1.344, allocations: 11.32 MB / 0.7798 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.372, allocations: 13.29 MB / 0.7927 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/1.373, allocations: 1.363 MB / 0.7941 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008803/1.382, allocations: 1.784 MB / 0.7958 GB, free: 15.45 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08873/1.471, allocations: 30.13 MB / 0.8252 GB, free: 1.141 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001131/1.472, allocations: 23.89 kB / 0.8253 GB, free: 1.117 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01057/1.482, allocations: 0.7445 MB / 0.826 GB, free: 400 kB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/1.484, allocations: 0.9868 MB / 0.8269 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07419/1.558, allocations: 27.32 MB / 0.8536 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4983/2.056, allocations: 81.85 MB / 0.9336 GB, free: 169.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03317/2.089, allocations: 18.83 MB / 0.9519 GB, free: 168.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/2.1, allocations: 6.706 MB / 0.9585 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03483/2.135, allocations: 18 MB / 0.9761 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.569e-05/2.135, allocations: 113.1 kB / 0.9762 GB, free: 167.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=677): time 1.162e-05/2.135, allocations: 0 / 0.9762 GB, free: 167.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=685): time 0.08343/2.219, allocations: 37.47 MB / 1.013 GB, free: 148.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/2.219, allocations: 151.1 kB / 1.013 GB, free: 148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/2.229, allocations: 6.847 MB / 1.02 GB, free: 141.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/2.231, allocations: 137.7 kB / 1.02 GB, free: 141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003428/2.234, allocations: 8.057 MB / 1.028 GB, free: 132.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002779/2.237, allocations: 2.437 MB / 1.03 GB, free: 130.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002859/2.24, allocations: 1.867 MB / 1.032 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.117e-05/2.24, allocations: 305.1 kB / 1.032 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006862/2.247, allocations: 4.883 MB / 1.037 GB, free: 123.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009457/2.256, allocations: 8.3 MB / 1.045 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/2.272, allocations: 13.91 MB / 1.059 GB, free: 98.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/2.272, allocations: 32 kB / 1.059 GB, free: 98.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02676/2.299, allocations: 15.85 MB / 1.074 GB, free: 82.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.299, allocations: 55.98 kB / 1.074 GB, free: 82.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/2.3, allocations: 108 kB / 1.074 GB, free: 81.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006033/2.306, allocations: 2.532 MB / 1.077 GB, free: 79.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007803/2.313, allocations: 2.082 MB / 1.079 GB, free: 77.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/2.343, allocations: 29.46 MB / 1.107 GB, free: 47.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00857/2.352, allocations: 0.5113 MB / 1.108 GB, free: 46.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/2.354, allocations: 459.9 kB / 1.108 GB, free: 46.09 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01384/2.368, allocations: 6.757 MB / 1.115 GB, free: 39.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002976/2.371, allocations: 0.7608 MB / 1.116 GB, free: 38.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02526/2.396, allocations: 12.7 MB / 1.128 GB, free: 25.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01443/2.41, allocations: 8.204 MB / 1.136 GB, free: 17.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.823e-05/2.411, allocations: 27.98 kB / 1.136 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001396/2.411, allocations: 34.69 kB / 1.136 GB, free: 17.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3497/2.76, allocations: 24.1 MB / 1.16 GB, free: 178 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/2.76, allocations: 6.484 kB / 1.16 GB, free: 178 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005439/2.766, allocations: 1.127 MB / 1.161 GB, free: 178 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006976/2.773, allocations: 2.636 MB / 1.163 GB, free: 177.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/2.774, allocations: 157.9 kB / 1.164 GB, free: 177.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03476/2.809, allocations: 34.16 MB / 1.197 GB, free: 160.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.809, allocations: 4.375 kB / 1.197 GB, free: 160.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03024/2.839, allocations: 18.5 MB / 1.215 GB, free: 152.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00591/2.845, allocations: 1.737 MB / 1.217 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/2.848, allocations: 131.2 kB / 1.217 GB, free: 152.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005617/2.853, allocations: 384.9 kB / 1.217 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002519/2.856, allocations: 0.5729 MB / 1.218 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001078/2.857, allocations: 205.2 kB / 1.218 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01009/2.867, allocations: 4.473 MB / 1.222 GB, free: 150.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/2.867, allocations: 0 / 1.222 GB, free: 150.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01564/2.883, allocations: 3.053 MB / 1.225 GB, free: 150 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/2.885, allocations: 354.5 kB / 1.226 GB, free: 149.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02397/2.909, allocations: 12.8 MB / 1.238 GB, free: 138.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.909, allocations: 2.719 kB / 1.238 GB, free: 138.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01371/2.922, allocations: 7.148 MB / 1.245 GB, free: 132.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/2.937, allocations: 1.921 MB / 1.247 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07422/3.012, allocations: 32.5 MB / 1.279 GB, free: 101.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02464/3.036, allocations: 11.07 MB / 1.29 GB, free: 90.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01161/3.048, allocations: 3.21 MB / 1.293 GB, free: 87.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003406/3.051, allocations: 0.5696 MB / 1.293 GB, free: 86.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/3.051, allocations: 0 / 1.293 GB, free: 86.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.5117/3.563, allocations: 140.8 MB / 1.431 GB, free: 176.2 MB / 0.6232 GB " [Timeout remaining time 656] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.739471031352878] Failed to read output from testmodel.py, exit status != 0: 3.5735144335776567 3.585956524 2.374950689 Calling exit ...