Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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.001393/0.001393, allocations: 81.17 kB / 19.87 MB, free: 4.621 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 1.103/1.103, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001287/0.001287, allocations: 163.3 kB / 256.9 MB, free: 12.8 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.02466/0.02466, allocations: 6.654 MB / 320.1 MB, free: 26.34 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) Ignoring simflag -noemit -jacobian= since the simulation runtime does not accept it Running command: translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 396.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.08e-05, allocations: 6.25 kB / 396.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.1856/0.1856, allocations: 47 MB / 443.2 MB, free: 56.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02804/0.2137, allocations: 13.04 MB / 456.2 MB, free: 43.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.2243, allocations: 457.6 kB / 456.7 MB, free: 43.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01756/0.2418, allocations: 14.34 MB / 471 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01896/0.2608, allocations: 5.706 MB / 476.7 MB, free: 23.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007991/0.2688, allocations: 3.356 MB / 480.1 MB, free: 19.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0249/0.2937, allocations: 25.37 MB / 0.4936 GB, free: 10.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04227/0.3359, allocations: 30.11 MB / 0.523 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03388/0.3698, allocations: 19.29 MB / 0.5419 GB, free: 8.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3304/0.7002, allocations: 13.72 MB / 0.5553 GB, free: 43.11 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009008/0.7092, allocations: 3.618 MB / 0.5588 GB, free: 43.11 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009661/0.7189, allocations: 4.126 MB / 0.5628 GB, free: 43.11 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005471/0.7243, allocations: 7.581 MB / 0.5702 GB, free: 43.11 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02305/0.7474, allocations: 9.412 MB / 0.5794 GB, free: 43.11 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03408/0.7815, allocations: 22.97 MB / 0.6019 GB, free: 35.11 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7815, allocations: 0 / 0.6019 GB, free: 35.11 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7815, allocations: 2.844 kB / 0.6019 GB, free: 35.11 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001286/0.7828, allocations: 0 / 0.6019 GB, free: 35.11 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: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.05512/0.8379, allocations: 28.35 MB / 0.6295 GB, free: 18.46 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.8379, allocations: 16.02 kB / 0.6296 GB, free: 18.45 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0621/0.9, allocations: 12.97 MB / 0.6422 GB, free: 5.633 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/0.9235, allocations: 13.45 MB / 0.6554 GB, free: 8.836 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001898/0.9254, allocations: 1.576 MB / 0.6569 GB, free: 7.281 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007506/0.9329, allocations: 2.086 MB / 0.6589 GB, free: 5.219 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04625/0.9791, allocations: 17.07 MB / 0.6756 GB, free: 4.809 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005362/0.9797, allocations: 26.42 kB / 0.6756 GB, free: 4.789 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/0.9832, allocations: 0.8624 MB / 0.6765 GB, free: 3.949 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009278/0.9841, allocations: 1.149 MB / 0.6776 GB, free: 2.797 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/1.005, allocations: 7.747 MB / 0.6852 GB, free: 11.04 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3319/1.337, allocations: 82.84 MB / 0.7661 GB, free: 75.95 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/1.351, allocations: 15.9 MB / 0.7816 GB, free: 73.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004577/1.355, allocations: 3.784 MB / 0.7853 GB, free: 72.98 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01986/1.375, allocations: 13.27 MB / 0.7982 GB, free: 66.22 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.972e-05/1.375, allocations: 146.3 kB / 0.7984 GB, free: 66.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=894): time 9.778e-06/1.375, allocations: 0 / 0.7984 GB, free: 66.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=906): time 0.02589/1.401, allocations: 15.4 MB / 0.8134 GB, free: 54.08 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/1.401, allocations: 168.5 kB / 0.8136 GB, free: 53.89 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006699/1.408, allocations: 6.772 MB / 0.8202 GB, free: 48.16 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006035/1.408, allocations: 173.7 kB / 0.8203 GB, free: 47.98 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003431/1.412, allocations: 9.473 MB / 0.8296 GB, free: 38.77 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.414, allocations: 3.327 MB / 0.8328 GB, free: 35.62 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/1.416, allocations: 2.513 MB / 0.8353 GB, free: 33.33 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/1.416, allocations: 476.8 kB / 0.8358 GB, free: 32.86 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.418, allocations: 1.439 MB / 0.8372 GB, free: 31.42 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/1.422, allocations: 7.086 MB / 0.8441 GB, free: 22.41 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/1.429, allocations: 9.699 MB / 0.8536 GB, free: 11.17 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/1.429, allocations: 32 kB / 0.8536 GB, free: 11.14 MB / 458.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.01229/1.441, allocations: 10.08 MB / 0.8634 GB, free: 1.883 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/1.441, allocations: 56 kB / 0.8635 GB, free: 1.828 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.994e-05/1.441, allocations: 116 kB / 0.8636 GB, free: 1.715 MB / 458.8 MB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/1.443, allocations: 0.7801 MB / 0.8644 GB, free: 0.9258 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/1.447, allocations: 2.204 MB / 0.8665 GB, free: 14.88 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/1.454, allocations: 11.68 MB / 0.8779 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/1.459, allocations: 387.8 kB / 0.8783 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006304/1.459, allocations: 447.8 kB / 0.8787 GB, free: 2.02 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00562/1.465, allocations: 0.8819 MB / 0.8796 GB, free: 1.289 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002788/1.468, allocations: 1.17 MB / 0.8807 GB, free: 116 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.479, allocations: 8.087 MB / 0.8886 GB, free: 8.113 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/1.48, allocations: 92 kB / 0.8887 GB, free: 8.023 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.74e-05/1.48, allocations: 40 kB / 0.8887 GB, free: 7.984 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/1.48, allocations: 47.81 kB / 0.8888 GB, free: 7.938 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2164/1.696, allocations: 22.94 MB / 0.9112 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.696, allocations: 9.031 kB / 0.9112 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/1.699, allocations: 1.226 MB / 0.9124 GB, free: 113 MB / 490.8 MB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/1.701, allocations: 0.8055 MB / 0.9132 GB, free: 112.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005229/1.702, allocations: 211.3 kB / 0.9134 GB, free: 112.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/1.708, allocations: 16.3 MB / 0.9293 GB, free: 99.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.708, allocations: 11 kB / 0.9293 GB, free: 99.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.723, allocations: 9.871 MB / 0.939 GB, free: 98.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003058/1.726, allocations: 1.805 MB / 0.9407 GB, free: 98.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007744/1.727, allocations: 178.8 kB / 0.9409 GB, free: 98.27 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.729, allocations: 275 kB / 0.9411 GB, free: 98.27 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.73, allocations: 0.8089 MB / 0.9419 GB, free: 98.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/1.73, allocations: 211.7 kB / 0.9421 GB, free: 98.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003249/1.733, allocations: 3.011 MB / 0.9451 GB, free: 98 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.733, allocations: 0 / 0.9451 GB, free: 98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007466/1.741, allocations: 3.467 MB / 0.9485 GB, free: 98 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * 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): 7 systems {(1,1,100.0%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008753/1.742, allocations: 488.1 kB / 0.9489 GB, free: 97.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008265/1.75, allocations: 8.055 MB / 0.9568 GB, free: 96.63 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.75, allocations: 5.109 kB / 0.9568 GB, free: 96.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004527/1.755, allocations: 5.153 MB / 0.9618 GB, free: 95.17 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/1.76, allocations: 2.249 MB / 0.964 GB, free: 94.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/1.8, allocations: 31.65 MB / 0.9949 GB, free: 68.72 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.805, allocations: 5.778 MB / 1.001 GB, free: 65.96 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.004817/1.81, allocations: 1.339 MB / 1.002 GB, free: 64.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003495/1.813, allocations: 2.192 MB / 1.004 GB, free: 62.64 MB / 490.8 MB Notification: Performance of SimCode: time 2.425e-06/1.813, allocations: 0 / 1.004 GB, free: 62.64 MB / 490.8 MB Notification: Performance of Templates: time 0.3089/2.122, allocations: 140.6 MB / 1.141 GB, free: 115.7 MB / 0.4949 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.8461399897933]