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.001629/0.001629, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.611/1.611, allocations: 230.6 MB / 252.7 MB, free: 8.102 MB / 206.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.002003/0.002003, allocations: 215.2 kB / 309.2 MB, free: 2.934 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.0452/0.0452, allocations: 8.913 MB / 374.6 MB, free: 1.715 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.003011/0.003011, allocations: 86.33 kB / 0.4934 GB, free: 1.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1398, allocations: 55.62 MB / 0.5478 GB, free: 424 kB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.06038/0.2002, allocations: 42.86 MB / 0.5896 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03783/0.238, allocations: 12.79 MB / 0.6021 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/0.253, allocations: 461.6 kB / 0.6025 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03698/0.29, allocations: 13 MB / 0.6152 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0234/0.3134, allocations: 5.554 MB / 0.6207 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.3276, allocations: 3.344 MB / 0.6239 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04113/0.3688, allocations: 24.5 MB / 0.6479 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6695/1.038, allocations: 29.98 MB / 0.6771 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02741/1.066, allocations: 12.94 MB / 0.6898 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02807/1.094, allocations: 13.64 MB / 0.7031 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01421/1.108, allocations: 3.621 MB / 0.7066 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/1.125, allocations: 4.112 MB / 0.7106 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01532/1.141, allocations: 7.309 MB / 0.7178 GB, free: 3.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04448/1.185, allocations: 12.02 MB / 0.7295 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.08637/1.272, allocations: 49.12 MB / 0.7775 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.272, allocations: 0 / 0.7775 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.014e-06/1.272, allocations: 0 / 0.7775 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001755/1.273, allocations: 0 / 0.7775 GB, free: 0.5312 MB / 0.4982 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.1048/1.378, allocations: 28.09 MB / 0.8049 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.378, allocations: 8.031 kB / 0.8049 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0804/1.459, allocations: 13.82 MB / 0.8184 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04209/1.501, allocations: 15.25 MB / 0.8333 GB, free: 8.148 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002472/1.503, allocations: 1.575 MB / 0.8348 GB, free: 6.598 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/1.515, allocations: 2.074 MB / 0.8369 GB, free: 4.543 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1154/1.63, allocations: 35.4 MB / 0.8714 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001412/1.632, allocations: 32.77 kB / 0.8715 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01043/1.642, allocations: 0.8603 MB / 0.8723 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/1.644, allocations: 1.149 MB / 0.8734 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6147/2.258, allocations: 32.29 MB / 0.905 GB, free: 192.9 MB / 0.6077 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.185/2.443, allocations: 93.42 MB / 0.9962 GB, free: 120 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/2.476, allocations: 22.68 MB / 1.018 GB, free: 100.6 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0147/2.491, allocations: 8.964 MB / 1.027 GB, free: 91.58 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04712/2.538, allocations: 20.4 MB / 1.047 GB, free: 71.56 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/2.538, allocations: 129.9 kB / 1.047 GB, free: 71.43 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=894): time 1.329e-05/2.538, allocations: 0 / 1.047 GB, free: 71.43 MB / 0.6077 GB Notification: Performance of matching and sorting (n=906): time 0.07429/2.613, allocations: 39.02 MB / 1.085 GB, free: 33.06 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/2.613, allocations: 172.5 kB / 1.085 GB, free: 32.87 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01263/2.625, allocations: 7.775 MB / 1.093 GB, free: 25.28 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/2.627, allocations: 173.7 kB / 1.093 GB, free: 25.11 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/2.632, allocations: 9.025 MB / 1.102 GB, free: 16.17 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.004212/2.636, allocations: 3.207 MB / 1.105 GB, free: 13 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005074/2.641, allocations: 2.24 MB / 1.107 GB, free: 10.75 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/2.641, allocations: 301.1 kB / 1.108 GB, free: 10.46 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009794/2.651, allocations: 6.249 MB / 1.114 GB, free: 4.203 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01594/2.667, allocations: 10.03 MB / 1.123 GB, free: 8.523 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3313/2.999, allocations: 17.27 MB / 1.14 GB, free: 185.3 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/2.999, allocations: 37.41 kB / 1.14 GB, free: 185.3 MB / 0.6233 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.04353/3.042, allocations: 20.14 MB / 1.16 GB, free: 177.8 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/3.042, allocations: 58.91 kB / 1.16 GB, free: 177.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002912/3.043, allocations: 120.3 kB / 1.16 GB, free: 177.8 MB / 0.6233 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.002662/3.045, allocations: 0.9241 MB / 1.161 GB, free: 177.6 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00978/3.055, allocations: 2.42 MB / 1.163 GB, free: 177.4 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/3.065, allocations: 11.73 MB / 1.175 GB, free: 168.5 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/3.076, allocations: 0.6022 MB / 1.176 GB, free: 168.3 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002994/3.079, allocations: 0.5209 MB / 1.176 GB, free: 168.2 MB / 0.6233 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.01511/3.094, allocations: 7.919 MB / 1.184 GB, free: 164.5 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003723/3.097, allocations: 0.8981 MB / 1.185 GB, free: 164.5 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03418/3.132, allocations: 16.69 MB / 1.201 GB, free: 157.8 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.421e-05/3.132, allocations: 91.06 kB / 1.201 GB, free: 157.8 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.273e-05/3.132, allocations: 39.56 kB / 1.201 GB, free: 157.8 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002011/3.132, allocations: 51.36 kB / 1.201 GB, free: 157.8 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06776/3.2, allocations: 31.26 MB / 1.232 GB, free: 132.1 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.202e-05/3.2, allocations: 4 kB / 1.232 GB, free: 132.1 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006747/3.207, allocations: 1.446 MB / 1.233 GB, free: 130.6 MB / 0.6233 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.003124/3.21, allocations: 0.9832 MB / 1.234 GB, free: 129.6 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001689/3.211, allocations: 215.9 kB / 1.234 GB, free: 129.4 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/3.224, allocations: 16.1 MB / 1.25 GB, free: 112.8 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/3.224, allocations: 8 kB / 1.25 GB, free: 112.8 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03965/3.264, allocations: 24.55 MB / 1.274 GB, free: 88.59 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00804/3.272, allocations: 2.216 MB / 1.276 GB, free: 86.87 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004067/3.276, allocations: 176 kB / 1.276 GB, free: 86.7 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006991/3.283, allocations: 483.5 kB / 1.277 GB, free: 86.22 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002389/3.285, allocations: 0.8372 MB / 1.278 GB, free: 85.39 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001064/3.286, allocations: 279.9 kB / 1.278 GB, free: 85.11 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.008868/3.295, allocations: 5.118 MB / 1.283 GB, free: 80.03 MB / 0.6233 GB Notification: Performance of sort global known variables: time 2.8e-07/3.295, allocations: 0 / 1.283 GB, free: 80.03 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01536/3.31, allocations: 3.459 MB / 1.286 GB, free: 76.57 MB / 0.6233 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.002737/3.313, allocations: 467.9 kB / 1.287 GB, free: 76.13 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.02666/3.34, allocations: 15.37 MB / 1.302 GB, free: 60.71 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/3.34, allocations: 4 kB / 1.302 GB, free: 60.7 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.01421/3.354, allocations: 8.141 MB / 1.31 GB, free: 52.49 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/3.37, allocations: 2.167 MB / 1.312 GB, free: 50.37 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07288/3.442, allocations: 38.69 MB / 1.35 GB, free: 11.59 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02821/3.471, allocations: 12.89 MB / 1.362 GB, free: 14.65 MB / 0.6389 GB Notification: Performance of simCode: alias equations: time 0.0165/3.487, allocations: 3.905 MB / 1.366 GB, free: 10.74 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004865/3.492, allocations: 0.6673 MB / 1.367 GB, free: 10.07 MB / 0.6389 GB Notification: Performance of SimCode: time 1.332e-06/3.492, allocations: 4.109 kB / 1.367 GB, free: 10.07 MB / 0.6389 GB Notification: Performance of Templates: time 0.5148/4.007, allocations: 151.6 MB / 1.515 GB, free: 93.14 MB / 0.6389 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: 16.185803631320596] Failed to read output from testmodel.py, exit status != 0: 4.017468556761742 4.027226199 2.752539702 Calling exit ...