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.001403/0.001403, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.389/1.389, allocations: 177.1 MB / 199.4 MB, free: 8.441 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.001537/0.001537, allocations: 166.1 kB / 256 MB, free: 4.367 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.03947/0.03947, allocations: 6.662 MB / 319 MB, free: 5.43 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: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 449.9 MB, free: 21.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.157e-05, allocations: 6.219 kB / 449.9 MB, free: 21.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.2427/0.2428, allocations: 42.91 MB / 492.8 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02881/0.2716, allocations: 12.79 MB / 0.4937 GB, free: 18.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01428/0.2859, allocations: 461.3 kB / 0.4942 GB, free: 18.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03125/0.3171, allocations: 13.7 MB / 0.5075 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02019/0.3373, allocations: 5.706 MB / 0.5131 GB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.3487, allocations: 3.351 MB / 0.5164 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03467/0.3834, allocations: 25.38 MB / 0.5412 GB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07049/0.4539, allocations: 30.05 MB / 0.5705 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04303/0.4969, allocations: 19.04 MB / 0.5891 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02555/0.5224, allocations: 12.15 MB / 0.601 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01005/0.5325, allocations: 3.625 MB / 0.6045 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.5472, allocations: 4.131 MB / 0.6085 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01508/0.5623, allocations: 7.453 MB / 0.6158 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02689/0.5892, allocations: 9.306 MB / 0.6249 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5596/1.149, allocations: 49.45 MB / 0.6732 GB, free: 73.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.149, allocations: 0 / 0.6732 GB, free: 73.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/1.149, allocations: 0.5 kB / 0.6732 GB, free: 73.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001554/1.15, allocations: 3.062 kB / 0.6732 GB, free: 73.63 MB / 478.1 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.104/1.254, allocations: 27.86 MB / 0.7004 GB, free: 61.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.254, allocations: 15.52 kB / 0.7004 GB, free: 61.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07727/1.332, allocations: 13.82 MB / 0.7139 GB, free: 55.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04458/1.376, allocations: 15.25 MB / 0.7288 GB, free: 41.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001986/1.378, allocations: 1.578 MB / 0.7304 GB, free: 40.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01497/1.393, allocations: 2.062 MB / 0.7324 GB, free: 38.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1014/1.495, allocations: 35.39 MB / 0.7669 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/1.496, allocations: 31.22 kB / 0.767 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01159/1.507, allocations: 0.8568 MB / 0.7678 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/1.509, allocations: 1.16 MB / 0.7689 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08607/1.595, allocations: 32.28 MB / 0.8005 GB, free: 196 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4754/2.07, allocations: 93.45 MB / 0.8917 GB, free: 153.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/2.102, allocations: 22.67 MB / 0.9139 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/2.115, allocations: 8.977 MB / 0.9226 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0421/2.157, allocations: 20.41 MB / 0.9426 GB, free: 144.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/2.157, allocations: 137 kB / 0.9427 GB, free: 144.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=894): time 1.601e-05/2.157, allocations: 0 / 0.9427 GB, free: 144.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=906): time 0.07604/2.233, allocations: 39.02 MB / 0.9808 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.233, allocations: 168.5 kB / 0.981 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/2.246, allocations: 7.772 MB / 0.9886 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.002257/2.248, allocations: 173.7 kB / 0.9887 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004506/2.252, allocations: 8.988 MB / 0.9975 GB, free: 98.51 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004305/2.257, allocations: 3.168 MB / 1.001 GB, free: 95.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004738/2.261, allocations: 2.225 MB / 1.003 GB, free: 93.15 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/2.262, allocations: 309.1 kB / 1.003 GB, free: 92.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008759/2.27, allocations: 6.253 MB / 1.009 GB, free: 86.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/2.281, allocations: 10.02 MB / 1.019 GB, free: 74.92 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/2.301, allocations: 17.27 MB / 1.036 GB, free: 55.96 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/2.301, allocations: 32 kB / 1.036 GB, free: 55.93 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.03808/2.339, allocations: 20.14 MB / 1.056 GB, free: 35.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/2.34, allocations: 63.92 kB / 1.056 GB, free: 35.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/2.34, allocations: 116 kB / 1.056 GB, free: 35.53 MB / 0.5607 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.003001/2.343, allocations: 0.924 MB / 1.057 GB, free: 34.59 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.353, allocations: 2.426 MB / 1.059 GB, free: 32.16 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009938/2.363, allocations: 11.72 MB / 1.07 GB, free: 19.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/2.374, allocations: 0.6009 MB / 1.071 GB, free: 19.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002781/2.376, allocations: 0.5311 MB / 1.072 GB, free: 18.81 MB / 0.5607 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.0166/2.393, allocations: 7.916 MB / 1.079 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003745/2.397, allocations: 0.8889 MB / 1.08 GB, free: 9.98 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.321/2.718, allocations: 16.7 MB / 1.096 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/2.718, allocations: 93.78 kB / 1.097 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.524e-05/2.718, allocations: 42.06 kB / 1.097 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002098/2.718, allocations: 44.86 kB / 1.097 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06456/2.783, allocations: 31.25 MB / 1.127 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-05/2.783, allocations: 7.875 kB / 1.127 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007977/2.791, allocations: 1.435 MB / 1.129 GB, free: 168.2 MB / 0.5607 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.003455/2.794, allocations: 0.979 MB / 1.129 GB, free: 167.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002171/2.796, allocations: 215.1 kB / 1.13 GB, free: 167.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/2.809, allocations: 16.1 MB / 1.145 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/2.809, allocations: 9.844 kB / 1.145 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04057/2.85, allocations: 24.54 MB / 1.169 GB, free: 139 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006486/2.856, allocations: 2.211 MB / 1.172 GB, free: 137.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003409/2.86, allocations: 179.6 kB / 1.172 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007162/2.867, allocations: 486 kB / 1.172 GB, free: 137 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00242/2.869, allocations: 0.8401 MB / 1.173 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007635/2.87, allocations: 274.8 kB / 1.173 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.009159/2.879, allocations: 5.116 MB / 1.178 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/2.879, allocations: 3.75 kB / 1.178 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01465/2.894, allocations: 3.457 MB / 1.182 GB, free: 128.7 MB / 0.5607 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.002302/2.896, allocations: 479.6 kB / 1.182 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02532/2.922, allocations: 15.37 MB / 1.197 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/2.922, allocations: 4 kB / 1.197 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01392/2.936, allocations: 8.139 MB / 1.205 GB, free: 106.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.014/2.95, allocations: 2.168 MB / 1.207 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06729/3.017, allocations: 38.39 MB / 1.245 GB, free: 65.56 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02227/3.039, allocations: 12.89 MB / 1.257 GB, free: 52.62 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01065/3.05, allocations: 3.905 MB / 1.261 GB, free: 48.71 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/3.053, allocations: 0.6761 MB / 1.262 GB, free: 48.04 MB / 0.5607 GB Notification: Performance of SimCode: time 1.303e-06/3.053, allocations: 0 / 1.262 GB, free: 48.04 MB / 0.5607 GB Notification: Performance of Templates: time 0.4628/3.515, allocations: 129.2 MB / 1.388 GB, free: 118.6 MB / 0.5607 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.069689989089966] Failed to read output from testmodel.py, exit status != 0: 3.526409886777401 3.534368934 2.38292156 Calling exit ...