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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 119.3 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 245.5 MB, free: 14.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 188.9 kB / 300.5 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04294/0.04294, allocations: 8.94 MB / 364.3 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 88.69 kB / 490.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09729, allocations: 54.41 MB / 0.5324 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.0576/0.1549, allocations: 49.69 MB / 0.5809 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02806/0.183, allocations: 12.91 MB / 0.5935 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009012/0.192, allocations: 382.8 kB / 0.5939 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03434/0.2263, allocations: 13.98 MB / 0.6075 GB, free: 216 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01918/0.2455, allocations: 5.554 MB / 0.613 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.2557, allocations: 3.241 MB / 0.6161 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.4459/0.7017, allocations: 24.2 MB / 0.6398 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04958/0.7512, allocations: 35.49 MB / 0.6744 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01992/0.7711, allocations: 12.97 MB / 0.6871 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02301/0.7942, allocations: 14.02 MB / 0.7008 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009435/0.8036, allocations: 3.625 MB / 0.7043 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.8158, allocations: 4.114 MB / 0.7083 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01308/0.8289, allocations: 7.318 MB / 0.7155 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02618/0.8551, allocations: 13.79 MB / 0.7289 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06622/0.9213, allocations: 48.8 MB / 0.7766 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9213, allocations: 8 kB / 0.7766 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9213, allocations: 0 / 0.7766 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001171/0.9225, allocations: 0 / 0.7766 GB, free: 14.94 MB / 0.5294 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.0867/1.009, allocations: 28.12 MB / 0.8041 GB, free: 2.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.009, allocations: 8.031 kB / 0.8041 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08045/1.09, allocations: 14.05 MB / 0.8178 GB, free: 4.945 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03254/1.122, allocations: 15.03 MB / 0.8325 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00166/1.124, allocations: 1.578 MB / 0.834 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009062/1.133, allocations: 2.07 MB / 0.836 GB, free: 2.871 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4673/1.6, allocations: 34.72 MB / 0.8699 GB, free: 177.9 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004289/1.601, allocations: 31.88 kB / 0.87 GB, free: 177.9 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/1.603, allocations: 0.8607 MB / 0.8708 GB, free: 177.3 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009126/1.604, allocations: 1.154 MB / 0.8719 GB, free: 177.1 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05061/1.655, allocations: 32.32 MB / 0.9035 GB, free: 163.4 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1278/1.783, allocations: 106.5 MB / 1.008 GB, free: 66.11 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03164/1.814, allocations: 49.77 MB / 1.056 GB, free: 12.95 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/1.826, allocations: 8.972 MB / 1.065 GB, free: 3.922 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2728/2.098, allocations: 22.56 MB / 1.087 GB, free: 180.8 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.098, allocations: 132.8 kB / 1.087 GB, free: 180.8 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=894): time 1.661e-05/2.099, allocations: 0 / 1.087 GB, free: 180.8 MB / 0.6077 GB Notification: Performance of matching and sorting (n=906): time 0.06019/2.159, allocations: 39.8 MB / 1.126 GB, free: 167.3 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/2.159, allocations: 171.8 kB / 1.126 GB, free: 167.2 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009539/2.168, allocations: 8.349 MB / 1.134 GB, free: 164.3 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.0008681/2.169, allocations: 173.4 kB / 1.134 GB, free: 164.1 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.003719/2.173, allocations: 8.975 MB / 1.143 GB, free: 158.6 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.00232/2.175, allocations: 3.205 MB / 1.146 GB, free: 156.1 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003289/2.179, allocations: 2.222 MB / 1.148 GB, free: 155.1 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/2.179, allocations: 305.6 kB / 1.149 GB, free: 154.8 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007475/2.186, allocations: 6.241 MB / 1.155 GB, free: 152.4 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008883/2.195, allocations: 9.962 MB / 1.165 GB, free: 145.4 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01773/2.213, allocations: 17.23 MB / 1.181 GB, free: 132.2 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.168e-05/2.213, allocations: 32 kB / 1.181 GB, free: 132.2 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02771/2.24, allocations: 20.23 MB / 1.201 GB, free: 114.6 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/2.241, allocations: 52 kB / 1.201 GB, free: 114.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/2.241, allocations: 116 kB / 1.201 GB, free: 114.4 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/2.253, allocations: 4.339 MB / 1.206 GB, free: 111.1 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007742/2.26, allocations: 2.415 MB / 1.208 GB, free: 109.1 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04428/2.305, allocations: 40.88 MB / 1.248 GB, free: 67.48 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007235/2.312, allocations: 0.6126 MB / 1.248 GB, free: 66.87 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009778/2.313, allocations: 0.5156 MB / 1.249 GB, free: 66.36 MB / 0.6077 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): 1 * Torn equation systems: 6 * 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): 6 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (30,174,25.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01042/2.323, allocations: 7.912 MB / 1.257 GB, free: 58.43 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/2.325, allocations: 0.951 MB / 1.258 GB, free: 57.47 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02538/2.35, allocations: 16.9 MB / 1.274 GB, free: 40.45 MB / 0.6077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-05/2.351, allocations: 92 kB / 1.274 GB, free: 40.36 MB / 0.6077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/2.351, allocations: 44 kB / 1.274 GB, free: 40.32 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-05/2.351, allocations: 43.83 kB / 1.274 GB, free: 40.28 MB / 0.6077 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05088/2.402, allocations: 35.7 MB / 1.309 GB, free: 4.504 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/2.402, allocations: 8 kB / 1.309 GB, free: 4.496 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00572/2.407, allocations: 1.425 MB / 1.311 GB, free: 3.07 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2507/2.658, allocations: 4.338 MB / 1.315 GB, free: 165.4 MB / 0.6077 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00169/2.66, allocations: 205.8 kB / 1.315 GB, free: 165.4 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04926/2.709, allocations: 43.05 MB / 1.357 GB, free: 143.5 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.709, allocations: 11.88 kB / 1.357 GB, free: 143.5 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03396/2.743, allocations: 24.71 MB / 1.381 GB, free: 133.4 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004544/2.747, allocations: 2.284 MB / 1.383 GB, free: 132.6 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.749, allocations: 179.8 kB / 1.384 GB, free: 132.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004817/2.754, allocations: 499.5 kB / 1.384 GB, free: 132.4 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/2.756, allocations: 0.7043 MB / 1.385 GB, free: 132.3 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000539/2.756, allocations: 257.5 kB / 1.385 GB, free: 132.2 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.006891/2.763, allocations: 5.683 MB / 1.391 GB, free: 130.1 MB / 0.6077 GB Notification: Performance of sort global known variables: time 9e-08/2.763, allocations: 0 / 1.391 GB, free: 130.1 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.0104/2.774, allocations: 3.806 MB / 1.394 GB, free: 129.8 MB / 0.6077 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): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (30,174,25.9%), (1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,13,100.0%), (1,8,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.001283/2.775, allocations: 470.1 kB / 1.395 GB, free: 129.5 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.02328/2.798, allocations: 16.6 MB / 1.411 GB, free: 120 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/2.798, allocations: 7.344 kB / 1.411 GB, free: 119.9 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/2.812, allocations: 9.308 MB / 1.42 GB, free: 111.9 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/2.823, allocations: 2.561 MB / 1.423 GB, free: 109.8 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05811/2.881, allocations: 38.25 MB / 1.46 GB, free: 74.02 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.892, allocations: 12.82 MB / 1.472 GB, free: 61.16 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00361/2.896, allocations: 0.7493 MB / 1.473 GB, free: 60.41 MB / 0.6077 GB Notification: Performance of SimCode: time 1.222e-06/2.896, allocations: 0 / 1.473 GB, free: 60.41 MB / 0.6077 GB Notification: Performance of Templates: time 2.008/4.904, allocations: 1.132 GB / 2.605 GB, free: 199.3 MB / 0.6858 GB " [Timeout remaining time 655] 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: 34.320013168035075] Failed to read output from testmodel.py, exit status != 0: 4.911985903978348 4.921214561 3.99744097 Calling exit ...