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.001868/0.001868, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.607/1.607, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.002619/0.002619, allocations: 164.6 kB / 256.3 MB, free: 13.17 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.04023/0.04023, allocations: 6.661 MB / 319.4 MB, free: 26.58 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.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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 390.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.502e-05, allocations: 2.312 kB / 390.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.2514/0.2515, allocations: 44.09 MB / 435 MB, free: 60.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03049/0.282, allocations: 12.05 MB / 447.1 MB, free: 51.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/0.2964, allocations: 432.2 kB / 447.5 MB, free: 50.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0276/0.324, allocations: 13.06 MB / 460.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02009/0.3441, allocations: 5.083 MB / 465.6 MB, free: 32.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00983/0.3539, allocations: 3.046 MB / 468.7 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0253/0.3792, allocations: 22 MB / 490.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05752/0.4367, allocations: 26.6 MB / 0.5052 GB, free: 12.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0424/0.4791, allocations: 16.7 MB / 0.5215 GB, free: 12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02602/0.5051, allocations: 11.66 MB / 0.5329 GB, free: 332 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009211/0.5143, allocations: 3.121 MB / 0.5359 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.527, allocations: 3.569 MB / 0.5394 GB, free: 9.633 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01571/0.5427, allocations: 6.476 MB / 0.5457 GB, free: 3.141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3942/0.937, allocations: 8.099 MB / 0.5536 GB, free: 50.16 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05402/0.991, allocations: 42.3 MB / 0.5949 GB, free: 37.89 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.991, allocations: 6.672 kB / 0.5949 GB, free: 37.89 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.991, allocations: 0 / 0.5949 GB, free: 37.89 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001399/0.9924, allocations: 0.9375 kB / 0.5949 GB, free: 37.89 MB / 394.8 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.09481/1.087, allocations: 27.8 MB / 0.6221 GB, free: 20.75 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.087, allocations: 8.469 kB / 0.6221 GB, free: 20.75 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07057/1.158, allocations: 14.21 MB / 0.636 GB, free: 8.809 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03553/1.193, allocations: 12.71 MB / 0.6484 GB, free: 12.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002204/1.196, allocations: 1.362 MB / 0.6497 GB, free: 11.31 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01225/1.208, allocations: 1.801 MB / 0.6515 GB, free: 9.523 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1039/1.312, allocations: 30.71 MB / 0.6815 GB, free: 10.6 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008965/1.313, allocations: 15.91 kB / 0.6815 GB, free: 10.59 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008401/1.321, allocations: 0.7398 MB / 0.6822 GB, free: 9.863 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/1.322, allocations: 0.9907 MB / 0.6832 GB, free: 8.867 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06754/1.39, allocations: 24.37 MB / 0.707 GB, free: 488 kB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.405/1.795, allocations: 166.2 MB / 0.8693 GB, free: 32.38 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02784/1.823, allocations: 17.76 MB / 0.8866 GB, free: 17.71 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01014/1.833, allocations: 5.904 MB / 0.8924 GB, free: 11.78 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2281/2.061, allocations: 18.34 MB / 0.9103 GB, free: 127.7 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/2.061, allocations: 114.8 kB / 0.9104 GB, free: 127.6 MB / 474.8 MB Notification: Performance of pre-optimization done (n=677): time 1.38e-05/2.061, allocations: 0 / 0.9104 GB, free: 127.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=685): time 0.08427/2.146, allocations: 33.83 MB / 0.9435 GB, free: 122.1 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/2.146, allocations: 147 kB / 0.9436 GB, free: 122 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01536/2.161, allocations: 9.819 MB / 0.9532 GB, free: 121.2 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001344/2.162, allocations: 141.5 kB / 0.9533 GB, free: 121.1 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005238/2.168, allocations: 8.931 MB / 0.9621 GB, free: 116 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003002/2.171, allocations: 2.707 MB / 0.9647 GB, free: 114.1 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004595/2.175, allocations: 2.453 MB / 0.9671 GB, free: 112.7 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/2.175, allocations: 480.6 kB / 0.9675 GB, free: 112.2 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006235/2.181, allocations: 3.936 MB / 0.9714 GB, free: 110.2 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00924/2.191, allocations: 9.419 MB / 0.9806 GB, free: 101.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/2.206, allocations: 14.86 MB / 0.9951 GB, free: 89.49 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000191/2.206, allocations: 30.34 kB / 0.9951 GB, free: 89.49 MB / 474.8 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.02617/2.233, allocations: 14.53 MB / 1.009 GB, free: 76.06 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/2.233, allocations: 48 kB / 1.009 GB, free: 76.01 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/2.233, allocations: 109.7 kB / 1.009 GB, free: 75.91 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007861/2.241, allocations: 2.933 MB / 1.012 GB, free: 72.98 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/2.249, allocations: 2.079 MB / 1.014 GB, free: 70.9 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/2.279, allocations: 33.27 MB / 1.047 GB, free: 36.72 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007833/2.287, allocations: 0.5191 MB / 1.047 GB, free: 36.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/2.289, allocations: 455.9 kB / 1.048 GB, free: 35.76 MB / 474.8 MB 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.01177/2.301, allocations: 6.107 MB / 1.054 GB, free: 29.63 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/2.303, allocations: 0.9716 MB / 1.055 GB, free: 28.66 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01996/2.323, allocations: 10.98 MB / 1.065 GB, free: 17.52 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1751/2.499, allocations: 7.037 MB / 1.072 GB, free: 112.2 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-05/2.499, allocations: 27.94 kB / 1.072 GB, free: 112.2 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000177/2.499, allocations: 36.39 kB / 1.072 GB, free: 112.2 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05972/2.559, allocations: 29.69 MB / 1.101 GB, free: 110.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/2.559, allocations: 3.781 kB / 1.101 GB, free: 110.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005143/2.564, allocations: 1.118 MB / 1.102 GB, free: 110.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00869/2.572, allocations: 3.034 MB / 1.105 GB, free: 110.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001159/2.574, allocations: 161.6 kB / 1.106 GB, free: 110.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03351/2.607, allocations: 39.66 MB / 1.144 GB, free: 84.2 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/2.607, allocations: 3.625 kB / 1.144 GB, free: 84.2 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/2.633, allocations: 15.87 MB / 1.16 GB, free: 77.91 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005676/2.639, allocations: 1.587 MB / 1.161 GB, free: 77.22 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/2.641, allocations: 134.2 kB / 1.161 GB, free: 77.12 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004865/2.646, allocations: 381.7 kB / 1.162 GB, free: 76.93 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/2.647, allocations: 0.5742 MB / 1.162 GB, free: 76.55 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005834/2.648, allocations: 203.7 kB / 1.163 GB, free: 76.48 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.007616/2.656, allocations: 5.004 MB / 1.167 GB, free: 73.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.91e-07/2.656, allocations: 0 / 1.167 GB, free: 73.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01378/2.669, allocations: 3.053 MB / 1.17 GB, free: 71.09 MB / 474.8 MB 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.001841/2.671, allocations: 350.3 kB / 1.171 GB, free: 70.77 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01945/2.691, allocations: 12.64 MB / 1.183 GB, free: 58 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/2.691, allocations: 4 kB / 1.183 GB, free: 58 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01086/2.702, allocations: 7.441 MB / 1.19 GB, free: 50.41 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/2.714, allocations: 1.999 MB / 1.192 GB, free: 48.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05215/2.766, allocations: 30.29 MB / 1.222 GB, free: 18.04 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01648/2.782, allocations: 10.1 MB / 1.232 GB, free: 7.879 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.009415/2.792, allocations: 2.718 MB / 1.234 GB, free: 5.152 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/2.794, allocations: 0.5746 MB / 1.235 GB, free: 4.578 MB / 474.8 MB Notification: Performance of SimCode: time 1.502e-06/2.794, allocations: 1.094 kB / 1.235 GB, free: 4.578 MB / 474.8 MB Notification: Performance of Templates: time 0.3666/3.161, allocations: 122.1 MB / 1.354 GB, free: 44.75 MB / 490.8 MB " [Timeout remaining time 657] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.263425302924588]