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.001644/0.001644, allocations: 88.72 kB / 19.44 MB, free: 356 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.73/1.73, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.001888/0.001888, allocations: 160.7 kB / 256.3 MB, free: 13.16 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.03807/0.03807, allocations: 6.661 MB / 319.4 MB, free: 26.57 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.775e-06/2.775e-06, allocations: 0 / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.424e-05/4.702e-05, allocations: 9.766 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.2703/0.2703, allocations: 42.91 MB / 437.8 MB, free: 60.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03859/0.3089, allocations: 12.88 MB / 450.7 MB, free: 48.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01644/0.3254, allocations: 465.5 kB / 451.2 MB, free: 47.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03231/0.3577, allocations: 13.68 MB / 464.8 MB, free: 34.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02688/0.3845, allocations: 5.694 MB / 470.5 MB, free: 28.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01461/0.3992, allocations: 3.347 MB / 473.9 MB, free: 25.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03461/0.4338, allocations: 25.36 MB / 499.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09506/0.5288, allocations: 30.07 MB / 0.5169 GB, free: 1.379 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05861/0.5874, allocations: 19.09 MB / 0.5356 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03388/0.6213, allocations: 12.16 MB / 0.5474 GB, free: 2.133 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.4623/1.084, allocations: 3.623 MB / 0.551 GB, free: 52.49 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01902/1.103, allocations: 4.126 MB / 0.555 GB, free: 52.49 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01467/1.117, allocations: 7.461 MB / 0.5623 GB, free: 52.49 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03262/1.15, allocations: 9.303 MB / 0.5714 GB, free: 52.49 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.07575/1.226, allocations: 49.48 MB / 0.6197 GB, free: 30.18 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.226, allocations: 3.344 kB / 0.6197 GB, free: 30.18 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.723e-06/1.226, allocations: 1.844 kB / 0.6197 GB, free: 30.18 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001968/1.228, allocations: 0 / 0.6197 GB, free: 30.18 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.1166/1.344, allocations: 27.87 MB / 0.6469 GB, free: 5.395 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.344, allocations: 8.031 kB / 0.6469 GB, free: 5.387 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09262/1.437, allocations: 17.2 MB / 0.6637 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05226/1.489, allocations: 15.9 MB / 0.6793 GB, free: 5.082 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003058/1.492, allocations: 1.57 MB / 0.6808 GB, free: 3.531 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01313/1.505, allocations: 2.09 MB / 0.6828 GB, free: 1.465 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3511/1.856, allocations: 35.38 MB / 0.7174 GB, free: 125.8 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001886/1.858, allocations: 29.31 kB / 0.7174 GB, free: 125.8 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01198/1.87, allocations: 0.8573 MB / 0.7182 GB, free: 125.8 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002696/1.873, allocations: 1.153 MB / 0.7194 GB, free: 125.7 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09444/1.967, allocations: 32.28 MB / 0.7509 GB, free: 117.1 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2419/2.209, allocations: 95.69 MB / 0.8443 GB, free: 37.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03931/2.249, allocations: 22.75 MB / 0.8666 GB, free: 18 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01793/2.267, allocations: 8.984 MB / 0.8753 GB, free: 8.969 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06593/2.333, allocations: 20.54 MB / 0.8954 GB, free: 4.59 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/2.333, allocations: 129.9 kB / 0.8955 GB, free: 4.453 MB / 474.8 MB Notification: Performance of pre-optimization done (n=894): time 1.495e-05/2.333, allocations: 0 / 0.8955 GB, free: 4.453 MB / 474.8 MB Notification: Performance of matching and sorting (n=906): time 0.3814/2.714, allocations: 39.31 MB / 0.9339 GB, free: 124.3 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/2.714, allocations: 180.6 kB / 0.9341 GB, free: 124.2 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02255/2.737, allocations: 7.773 MB / 0.9417 GB, free: 121.3 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002519/2.739, allocations: 171.8 kB / 0.9418 GB, free: 121.2 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008084/2.747, allocations: 8.992 MB / 0.9506 GB, free: 114.4 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005137/2.753, allocations: 3.17 MB / 0.9537 GB, free: 111.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01302/2.766, allocations: 2.221 MB / 0.9559 GB, free: 110.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/2.766, allocations: 304.9 kB / 0.9562 GB, free: 110.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01349/2.779, allocations: 6.25 MB / 0.9623 GB, free: 108.2 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01743/2.797, allocations: 10.03 MB / 0.9721 GB, free: 101.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02981/2.826, allocations: 17.27 MB / 0.9889 GB, free: 86.96 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002126/2.827, allocations: 32 kB / 0.989 GB, free: 86.93 MB / 474.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.05144/2.878, allocations: 20.69 MB / 1.009 GB, free: 68.92 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/2.878, allocations: 56 kB / 1.009 GB, free: 68.87 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/2.878, allocations: 116.9 kB / 1.009 GB, free: 68.75 MB / 474.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.003696/2.882, allocations: 1.006 MB / 1.01 GB, free: 67.94 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.893, allocations: 2.423 MB / 1.013 GB, free: 65.89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/2.904, allocations: 11.79 MB / 1.024 GB, free: 54.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/2.916, allocations: 0.5942 MB / 1.025 GB, free: 53.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003619/2.92, allocations: 0.5347 MB / 1.025 GB, free: 53.45 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.02079/2.941, allocations: 7.918 MB / 1.033 GB, free: 46.15 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00715/2.948, allocations: 1.174 MB / 1.034 GB, free: 44.97 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04384/2.992, allocations: 16.7 MB / 1.05 GB, free: 28.18 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.501e-05/2.992, allocations: 92 kB / 1.051 GB, free: 28.09 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000154/2.992, allocations: 48.92 kB / 1.051 GB, free: 28.04 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002651/2.992, allocations: 43.83 kB / 1.051 GB, free: 28 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3345/3.327, allocations: 31.26 MB / 1.081 GB, free: 115.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/3.327, allocations: 7.406 kB / 1.081 GB, free: 115.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00758/3.334, allocations: 1.436 MB / 1.083 GB, free: 115.7 MB / 474.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.004353/3.339, allocations: 1.07 MB / 1.084 GB, free: 115.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002471/3.341, allocations: 213.8 kB / 1.084 GB, free: 115.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/3.36, allocations: 16.18 MB / 1.1 GB, free: 106.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/3.36, allocations: 10.91 kB / 1.1 GB, free: 106.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06354/3.423, allocations: 24.85 MB / 1.124 GB, free: 96.99 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009481/3.433, allocations: 2.222 MB / 1.126 GB, free: 96.35 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004728/3.437, allocations: 174 kB / 1.126 GB, free: 96.22 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008805/3.446, allocations: 484.4 kB / 1.127 GB, free: 96.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003722/3.45, allocations: 0.8393 MB / 1.128 GB, free: 96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002437/3.452, allocations: 281.1 kB / 1.128 GB, free: 95.93 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.013/3.465, allocations: 5.118 MB / 1.133 GB, free: 94.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 4.41e-07/3.465, allocations: 0 / 1.133 GB, free: 94.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01942/3.485, allocations: 3.46 MB / 1.136 GB, free: 93.79 MB / 474.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.00332/3.488, allocations: 474.4 kB / 1.137 GB, free: 93.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03453/3.523, allocations: 15.43 MB / 1.152 GB, free: 87.55 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-05/3.523, allocations: 3.812 kB / 1.152 GB, free: 87.55 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01856/3.541, allocations: 8.201 MB / 1.16 GB, free: 81.82 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02268/3.564, allocations: 2.253 MB / 1.162 GB, free: 80.03 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/3.667, allocations: 38.93 MB / 1.2 GB, free: 44.53 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03743/3.705, allocations: 12.89 MB / 1.213 GB, free: 32.12 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01692/3.722, allocations: 3.909 MB / 1.216 GB, free: 28.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005337/3.727, allocations: 0.6722 MB / 1.217 GB, free: 27.53 MB / 474.8 MB Notification: Performance of SimCode: time 2.344e-06/3.727, allocations: 3.938 kB / 1.217 GB, free: 27.52 MB / 474.8 MB Notification: Performance of Templates: time 0.5128/4.24, allocations: 129.6 MB / 1.344 GB, free: 83.07 MB / 490.8 MB " [Timeout remaining time 656] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.37127884896472]