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.001477/0.001477, allocations: 79.89 kB / 19.76 MB, free: 2.031 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.511/1.511, allocations: 177.2 MB / 200.1 MB, free: 8.336 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.001781/0.001781, allocations: 166.3 kB / 256.6 MB, free: 4.273 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.03774/0.03774, allocations: 6.661 MB / 319.7 MB, free: 5.355 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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld 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: 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.00407/0.00407, allocations: 79.88 kB / 450.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2052, allocations: 55.57 MB / 0.4941 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.4373/0.6425, allocations: 42.86 MB / 0.5359 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03216/0.6746, allocations: 12.79 MB / 0.5484 GB, free: 23.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01832/0.6929, allocations: 464.9 kB / 0.5489 GB, free: 22.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03276/0.7257, allocations: 13.65 MB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02363/0.7493, allocations: 5.566 MB / 0.5676 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01219/0.7615, allocations: 3.336 MB / 0.5709 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03663/0.7981, allocations: 24.51 MB / 0.5948 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06629/0.8644, allocations: 29.99 MB / 0.6241 GB, free: 4.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03859/0.903, allocations: 12.96 MB / 0.6368 GB, free: 7.875 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04271/0.9457, allocations: 13.64 MB / 0.6501 GB, free: 10.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.02365/0.9694, allocations: 3.621 MB / 0.6536 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02617/0.9956, allocations: 4.101 MB / 0.6576 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02149/1.017, allocations: 7.322 MB / 0.6648 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.03758/1.055, allocations: 10.75 MB / 0.6753 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.811/1.866, allocations: 49.05 MB / 0.7232 GB, free: 70.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.866, allocations: 0 / 0.7232 GB, free: 70.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/1.866, allocations: 0 / 0.7232 GB, free: 70.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001918/1.868, allocations: 0 / 0.7232 GB, free: 70.4 MB / 0.545 GB 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.1198/1.987, allocations: 28.07 MB / 0.7506 GB, free: 62.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.987, allocations: 14.02 kB / 0.7506 GB, free: 62.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08375/2.071, allocations: 13.82 MB / 0.7641 GB, free: 61.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04559/2.117, allocations: 15.25 MB / 0.779 GB, free: 58.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002355/2.119, allocations: 1.573 MB / 0.7805 GB, free: 57.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01116/2.13, allocations: 2.076 MB / 0.7826 GB, free: 57.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1002/2.23, allocations: 35.39 MB / 0.8171 GB, free: 29.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001304/2.232, allocations: 34.47 kB / 0.8172 GB, free: 29.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009558/2.241, allocations: 0.8576 MB / 0.818 GB, free: 28.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/2.242, allocations: 1.152 MB / 0.8191 GB, free: 27.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07387/2.316, allocations: 32.29 MB / 0.8507 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.25/2.566, allocations: 93.47 MB / 0.9419 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04655/2.613, allocations: 22.68 MB / 0.9641 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02219/2.635, allocations: 8.964 MB / 0.9728 GB, free: 1.332 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4658/3.101, allocations: 20.4 MB / 0.9928 GB, free: 238.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/3.101, allocations: 133 kB / 0.9929 GB, free: 238.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=894): time 1.436e-05/3.101, allocations: 1.844 kB / 0.9929 GB, free: 238.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=906): time 0.09604/3.197, allocations: 39.03 MB / 1.031 GB, free: 221.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/3.197, allocations: 170.8 kB / 1.031 GB, free: 221.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01926/3.216, allocations: 7.769 MB / 1.039 GB, free: 218.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002395/3.219, allocations: 176.6 kB / 1.039 GB, free: 218.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00645/3.225, allocations: 9.023 MB / 1.048 GB, free: 211.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.005405/3.231, allocations: 3.204 MB / 1.051 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009619/3.24, allocations: 2.237 MB / 1.053 GB, free: 207.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/3.24, allocations: 312.1 kB / 1.053 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01133/3.252, allocations: 6.255 MB / 1.059 GB, free: 205.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/3.265, allocations: 10.01 MB / 1.069 GB, free: 198.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/3.291, allocations: 17.28 MB / 1.086 GB, free: 180.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/3.291, allocations: 39.12 kB / 1.086 GB, free: 180.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04568/3.337, allocations: 20.14 MB / 1.106 GB, free: 163 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/3.337, allocations: 56 kB / 1.106 GB, free: 163 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003139/3.337, allocations: 120 kB / 1.106 GB, free: 162.8 MB / 0.67 GB 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.002973/3.34, allocations: 0.9201 MB / 1.107 GB, free: 161.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/3.35, allocations: 2.426 MB / 1.109 GB, free: 159.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/3.361, allocations: 11.74 MB / 1.121 GB, free: 147.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01324/3.374, allocations: 0.5932 MB / 1.121 GB, free: 146.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00337/3.378, allocations: 0.52 MB / 1.122 GB, free: 146.1 MB / 0.67 GB 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.01922/3.397, allocations: 7.932 MB / 1.13 GB, free: 138.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004141/3.401, allocations: 0.885 MB / 1.13 GB, free: 137.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03638/3.437, allocations: 16.7 MB / 1.147 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.286e-05/3.437, allocations: 92 kB / 1.147 GB, free: 120.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001554/3.438, allocations: 41.97 kB / 1.147 GB, free: 120.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000248/3.438, allocations: 47.81 kB / 1.147 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07789/3.516, allocations: 31.26 MB / 1.177 GB, free: 89.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/3.516, allocations: 8 kB / 1.177 GB, free: 89.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007001/3.523, allocations: 1.432 MB / 1.179 GB, free: 87.63 MB / 0.67 GB 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.003432/3.526, allocations: 0.9763 MB / 1.18 GB, free: 86.64 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/3.529, allocations: 223.8 kB / 1.18 GB, free: 86.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/3.544, allocations: 16.11 MB / 1.196 GB, free: 69.64 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/3.544, allocations: 8.875 kB / 1.196 GB, free: 69.63 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05267/3.596, allocations: 24.56 MB / 1.22 GB, free: 44.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008726/3.605, allocations: 2.199 MB / 1.222 GB, free: 42.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004669/3.61, allocations: 180 kB / 1.222 GB, free: 42.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008995/3.619, allocations: 487.2 kB / 1.222 GB, free: 42.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003344/3.622, allocations: 0.8493 MB / 1.223 GB, free: 41.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002154/3.624, allocations: 267.9 kB / 1.224 GB, free: 40.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01279/3.637, allocations: 5.11 MB / 1.229 GB, free: 35.88 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/3.637, allocations: 0 / 1.229 GB, free: 35.88 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.02098/3.658, allocations: 3.465 MB / 1.232 GB, free: 32.41 MB / 0.67 GB 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.003071/3.661, allocations: 471.1 kB / 1.232 GB, free: 31.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02992/3.691, allocations: 15.37 MB / 1.247 GB, free: 16.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/3.691, allocations: 5 kB / 1.247 GB, free: 16.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01728/3.708, allocations: 8.146 MB / 1.255 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02142/3.73, allocations: 2.166 MB / 1.257 GB, free: 6.164 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3954/4.125, allocations: 38.66 MB / 1.295 GB, free: 217.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03418/4.159, allocations: 12.89 MB / 1.308 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0168/4.176, allocations: 3.901 MB / 1.312 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005367/4.181, allocations: 0.6759 MB / 1.312 GB, free: 215 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/4.181, allocations: 0 / 1.312 GB, free: 215 MB / 0.67 GB Notification: Performance of Templates: time 0.2242/4.406, allocations: 130.3 MB / 1.44 GB, free: 108.8 MB / 0.67 GB " [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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.601215225993656] Failed to read output from testmodel.py, exit status != 0: 4.4195458149770275 4.425806546 2.557243563 Calling exit ...