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.001431/0.001431, allocations: 81.97 kB / 19.01 MB, free: 2.688 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.432/1.432, allocations: 177.2 MB / 199.3 MB, free: 9.516 MB / 190.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.00172/0.00172, allocations: 157.5 kB / 255.8 MB, free: 0.9531 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.03826/0.03826, allocations: 6.671 MB / 318.9 MB, free: 48.51 MB / 286.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.002989/0.002989, allocations: 79.88 kB / 445.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2831, allocations: 55.58 MB / 0.4895 GB, free: 26.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03727/0.3204, allocations: 39.37 MB / 0.528 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0321/0.3525, allocations: 11.79 MB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01177/0.3643, allocations: 429.6 kB / 0.5399 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03375/0.398, allocations: 12.23 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02273/0.4207, allocations: 4.933 MB / 0.5566 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.4335, allocations: 3.023 MB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03445/0.4679, allocations: 21.24 MB / 0.5803 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06103/0.529, allocations: 26.49 MB / 0.6062 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.6276/1.157, allocations: 17.05 MB / 0.6229 GB, free: 21.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02333/1.18, allocations: 11.82 MB / 0.6344 GB, free: 19.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009665/1.19, allocations: 3.12 MB / 0.6374 GB, free: 19.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/1.201, allocations: 3.543 MB / 0.6409 GB, free: 19.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0112/1.212, allocations: 6.245 MB / 0.647 GB, free: 18.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02086/1.233, allocations: 9.265 MB / 0.656 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05714/1.29, allocations: 41.71 MB / 0.6968 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.29, allocations: 6.562 kB / 0.6968 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/1.29, allocations: 0 / 0.6968 GB, free: 12.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001292/1.292, allocations: 0 / 0.6968 GB, free: 12.48 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.08444/1.376, allocations: 24.28 MB / 0.7205 GB, free: 4.262 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.376, allocations: 8.031 kB / 0.7205 GB, free: 4.254 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06378/1.44, allocations: 11.32 MB / 0.7316 GB, free: 9.039 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03461/1.474, allocations: 13.3 MB / 0.7445 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001894/1.476, allocations: 1.363 MB / 0.7459 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008294/1.485, allocations: 1.786 MB / 0.7476 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08925/1.574, allocations: 30.13 MB / 0.777 GB, free: 10.76 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009713/1.575, allocations: 23.55 kB / 0.7771 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008286/1.583, allocations: 0.7411 MB / 0.7778 GB, free: 10.01 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/1.584, allocations: 0.9838 MB / 0.7787 GB, free: 9.023 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06648/1.651, allocations: 27.33 MB / 0.8054 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6381/2.289, allocations: 81.92 MB / 0.8854 GB, free: 168.3 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02656/2.316, allocations: 18.83 MB / 0.9038 GB, free: 162.1 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/2.326, allocations: 6.71 MB / 0.9104 GB, free: 158.6 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03415/2.36, allocations: 17.99 MB / 0.9279 GB, free: 142.4 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.328e-05/2.36, allocations: 116.5 kB / 0.9281 GB, free: 142.3 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=677): time 1.16e-05/2.36, allocations: 0 / 0.9281 GB, free: 142.3 MB / 0.6077 GB Notification: Performance of matching and sorting (n=685): time 0.104/2.464, allocations: 37.46 MB / 0.9646 GB, free: 105.5 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/2.464, allocations: 155 kB / 0.9648 GB, free: 105.3 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00851/2.473, allocations: 6.843 MB / 0.9715 GB, free: 98.61 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/2.474, allocations: 141.7 kB / 0.9716 GB, free: 98.46 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/2.477, allocations: 8.057 MB / 0.9795 GB, free: 91.21 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/2.479, allocations: 2.438 MB / 0.9818 GB, free: 88.8 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/2.482, allocations: 1.867 MB / 0.9837 GB, free: 86.93 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/2.482, allocations: 317 kB / 0.984 GB, free: 86.61 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006533/2.489, allocations: 4.879 MB / 0.9887 GB, free: 81.73 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/2.497, allocations: 8.303 MB / 0.9968 GB, free: 71.88 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/2.512, allocations: 13.91 MB / 1.01 GB, free: 56.39 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/2.512, allocations: 28 kB / 1.01 GB, free: 56.36 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02927/2.541, allocations: 15.84 MB / 1.026 GB, free: 40.4 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/2.541, allocations: 52 kB / 1.026 GB, free: 40.35 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/2.542, allocations: 108 kB / 1.026 GB, free: 40.24 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/2.547, allocations: 2.54 MB / 1.029 GB, free: 37.68 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007675/2.555, allocations: 2.075 MB / 1.031 GB, free: 35.6 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0294/2.584, allocations: 29.46 MB / 1.059 GB, free: 5.34 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008135/2.593, allocations: 0.5074 MB / 1.06 GB, free: 4.832 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/2.595, allocations: 459.9 kB / 1.06 GB, free: 4.383 MB / 0.6077 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.01269/2.607, allocations: 6.757 MB / 1.067 GB, free: 13.61 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/2.61, allocations: 0.7608 MB / 1.068 GB, free: 12.84 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2654/2.876, allocations: 12.7 MB / 1.08 GB, free: 205.9 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01536/2.891, allocations: 8.2 MB / 1.088 GB, free: 205.6 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-05/2.891, allocations: 30.03 kB / 1.088 GB, free: 205.6 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000151/2.891, allocations: 32.72 kB / 1.088 GB, free: 205.6 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04219/2.933, allocations: 24.11 MB / 1.112 GB, free: 196.2 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/2.933, allocations: 7.531 kB / 1.112 GB, free: 196.2 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004896/2.938, allocations: 1.118 MB / 1.113 GB, free: 196.1 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/2.945, allocations: 2.639 MB / 1.115 GB, free: 195.4 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/2.946, allocations: 167 kB / 1.115 GB, free: 195.3 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0317/2.977, allocations: 34.14 MB / 1.149 GB, free: 168.9 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/2.977, allocations: 4 kB / 1.149 GB, free: 168.9 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/3.004, allocations: 18.5 MB / 1.167 GB, free: 152.5 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005232/3.009, allocations: 1.747 MB / 1.169 GB, free: 151.2 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/3.012, allocations: 132 kB / 1.169 GB, free: 151.1 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004861/3.017, allocations: 390.5 kB / 1.169 GB, free: 150.7 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/3.018, allocations: 0.5606 MB / 1.17 GB, free: 150.1 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000555/3.019, allocations: 203.9 kB / 1.17 GB, free: 149.9 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.007207/3.026, allocations: 4.474 MB / 1.174 GB, free: 145.5 MB / 0.6233 GB Notification: Performance of sort global known variables: time 1.7e-07/3.026, allocations: 0 / 1.174 GB, free: 145.5 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01269/3.039, allocations: 3.055 MB / 1.177 GB, free: 142.4 MB / 0.6233 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.001406/3.04, allocations: 347.9 kB / 1.178 GB, free: 142.1 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.01654/3.057, allocations: 12.81 MB / 1.19 GB, free: 129.3 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/3.057, allocations: 0 / 1.19 GB, free: 129.3 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.009706/3.066, allocations: 7.165 MB / 1.197 GB, free: 122 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/3.077, allocations: 1.913 MB / 1.199 GB, free: 120.2 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/3.131, allocations: 32.48 MB / 1.231 GB, free: 87.66 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01479/3.145, allocations: 11.07 MB / 1.241 GB, free: 76.52 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.008273/3.154, allocations: 3.218 MB / 1.245 GB, free: 73.3 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/3.156, allocations: 0.5707 MB / 1.245 GB, free: 72.72 MB / 0.6233 GB Notification: Performance of SimCode: time 1.102e-06/3.156, allocations: 0 / 1.245 GB, free: 72.72 MB / 0.6233 GB Notification: Performance of Templates: time 0.4623/3.618, allocations: 122.4 MB / 1.365 GB, free: 171.3 MB / 0.6233 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.57386702299118] Failed to read output from testmodel.py, exit status != 0: 3.6285583563148975 3.638680706 2.345666593 Calling exit ...