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.001147/0.001147, allocations: 92.22 kB / 19.65 MB, free: 276 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.051/1.051, allocations: 177.1 MB / 200 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.001508/0.001508, allocations: 160.6 kB / 256.6 MB, free: 13.02 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.02399/0.02399, allocations: 6.662 MB / 319.8 MB, free: 11.64 MB / 298.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 1.613e-06/1.613e-06, allocations: 0 / 395.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.305e-05, allocations: 2.312 kB / 395.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.219/0.219, allocations: 48.46 MB / 444.2 MB, free: 121.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.2509, allocations: 13.08 MB / 457.3 MB, free: 119.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01418/0.2651, allocations: 458.8 kB / 457.7 MB, free: 119.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02528/0.2903, allocations: 14.68 MB / 472.4 MB, free: 116.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02176/0.3121, allocations: 5.737 MB / 478.1 MB, free: 112.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.3222, allocations: 3.377 MB / 481.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02749/0.3497, allocations: 25.38 MB / 0.495 GB, free: 91.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06308/0.4128, allocations: 30.11 MB / 0.5244 GB, free: 62.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03957/0.4523, allocations: 19.27 MB / 0.5432 GB, free: 43.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02095/0.4733, allocations: 13.65 MB / 0.5566 GB, free: 31.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01134/0.4846, allocations: 3.617 MB / 0.5601 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.5015, allocations: 4.122 MB / 0.5641 GB, free: 23.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01172/0.5132, allocations: 7.581 MB / 0.5715 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02283/0.536, allocations: 9.409 MB / 0.5807 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3546/0.8907, allocations: 22.98 MB / 0.6032 GB, free: 73.42 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.8907, allocations: 0 / 0.6032 GB, free: 73.42 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8907, allocations: 2.953 kB / 0.6032 GB, free: 73.42 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009462/0.8916, allocations: 0 / 0.6032 GB, free: 73.42 MB / 410.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.06245/0.9541, allocations: 29.67 MB / 0.6321 GB, free: 65.79 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.9541, allocations: 9.875 kB / 0.6321 GB, free: 65.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04756/1.002, allocations: 17.22 MB / 0.649 GB, free: 58.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.026, allocations: 14.38 MB / 0.663 GB, free: 44.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/1.027, allocations: 1.58 MB / 0.6645 GB, free: 42.79 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007906/1.035, allocations: 2.075 MB / 0.6666 GB, free: 40.73 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/1.075, allocations: 18.63 MB / 0.6848 GB, free: 21.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/1.076, allocations: 19.86 kB / 0.6848 GB, free: 21.86 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/1.077, allocations: 0.8609 MB / 0.6856 GB, free: 21.02 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005883/1.078, allocations: 1.154 MB / 0.6867 GB, free: 19.86 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/1.099, allocations: 9.959 MB / 0.6965 GB, free: 9.898 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3249/1.424, allocations: 84.22 MB / 0.7787 GB, free: 67.55 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.445, allocations: 17.34 MB / 0.7956 GB, free: 66.27 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00685/1.452, allocations: 4.338 MB / 0.7999 GB, free: 66.03 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/1.474, allocations: 14.06 MB / 0.8136 GB, free: 65.22 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.939e-05/1.475, allocations: 130.7 kB / 0.8137 GB, free: 65.17 MB / 458.8 MB Notification: Performance of pre-optimization done (n=894): time 1.083e-05/1.475, allocations: 2.812 kB / 0.8137 GB, free: 65.17 MB / 458.8 MB Notification: Performance of matching and sorting (n=906): time 0.03782/1.512, allocations: 21.94 MB / 0.8352 GB, free: 58.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/1.512, allocations: 172.4 kB / 0.8353 GB, free: 58.86 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008374/1.521, allocations: 6.921 MB / 0.8421 GB, free: 57.99 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007976/1.522, allocations: 179.1 kB / 0.8423 GB, free: 57.96 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003923/1.526, allocations: 9.424 MB / 0.8515 GB, free: 51.79 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/1.528, allocations: 3.309 MB / 0.8547 GB, free: 49.27 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/1.531, allocations: 2.473 MB / 0.8571 GB, free: 48.07 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/1.531, allocations: 484.6 kB / 0.8576 GB, free: 47.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/1.534, allocations: 1.879 MB / 0.8594 GB, free: 46.27 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/1.539, allocations: 7.481 MB / 0.8667 GB, free: 37.77 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.549, allocations: 10.46 MB / 0.8769 GB, free: 27.22 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.091e-05/1.549, allocations: 32 kB / 0.877 GB, free: 27.19 MB / 458.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.01523/1.564, allocations: 11.14 MB / 0.8878 GB, free: 17.03 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/1.564, allocations: 52 kB / 0.8879 GB, free: 16.98 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.53e-05/1.565, allocations: 120 kB / 0.888 GB, free: 16.86 MB / 458.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.001546/1.566, allocations: 0.7895 MB / 0.8888 GB, free: 16.05 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/1.571, allocations: 2.42 MB / 0.8911 GB, free: 13.79 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/1.576, allocations: 11.95 MB / 0.9028 GB, free: 1.348 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/1.581, allocations: 0.5932 MB / 0.9034 GB, free: 0.7539 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/1.582, allocations: 0.5233 MB / 0.9039 GB, free: 236 kB / 458.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.007637/1.589, allocations: 0.8812 MB / 0.9048 GB, free: 15.5 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003021/1.592, allocations: 1.174 MB / 0.9059 GB, free: 14.32 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/1.61, allocations: 9.014 MB / 0.9147 GB, free: 5.332 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.028e-05/1.61, allocations: 95.94 kB / 0.9148 GB, free: 5.238 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/1.61, allocations: 48 kB / 0.9148 GB, free: 5.191 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001823/1.61, allocations: 43.83 kB / 0.9149 GB, free: 5.148 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2649/1.875, allocations: 24.12 MB / 0.9384 GB, free: 106.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/1.875, allocations: 6.844 kB / 0.9385 GB, free: 106.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004395/1.88, allocations: 1.434 MB / 0.9399 GB, free: 106.4 MB / 490.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.002148/1.882, allocations: 0.8261 MB / 0.9407 GB, free: 106.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001496/1.883, allocations: 211.7 kB / 0.9409 GB, free: 106.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007773/1.891, allocations: 16.66 MB / 0.9571 GB, free: 93.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.891, allocations: 10.69 kB / 0.9571 GB, free: 93.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/1.914, allocations: 11.16 MB / 0.968 GB, free: 91.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00551/1.92, allocations: 1.989 MB / 0.97 GB, free: 91.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/1.922, allocations: 175.5 kB / 0.9702 GB, free: 91.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004774/1.927, allocations: 483.1 kB / 0.9706 GB, free: 91.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002102/1.929, allocations: 0.8474 MB / 0.9714 GB, free: 91.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008406/1.93, allocations: 266.9 kB / 0.9717 GB, free: 91.78 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.007046/1.937, allocations: 3.286 MB / 0.9749 GB, free: 91.52 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.937, allocations: 0 / 0.9749 GB, free: 91.52 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01262/1.949, allocations: 3.467 MB / 0.9783 GB, free: 91.52 MB / 490.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.002553/1.952, allocations: 482.3 kB / 0.9787 GB, free: 91.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01543/1.967, allocations: 8.876 MB / 0.9874 GB, free: 90.18 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.967, allocations: 0 / 0.9874 GB, free: 90.18 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008272/1.976, allocations: 5.518 MB / 0.9928 GB, free: 88.75 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00961/1.985, allocations: 2.255 MB / 0.995 GB, free: 88.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04959/2.035, allocations: 31.99 MB / 1.026 GB, free: 69.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009377/2.044, allocations: 5.784 MB / 1.032 GB, free: 66.41 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008549/2.053, allocations: 3.289 MB / 1.035 GB, free: 64.38 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/2.055, allocations: 0.6715 MB / 1.036 GB, free: 63.8 MB / 490.8 MB Notification: Performance of SimCode: time 2.945e-06/2.055, allocations: 0 / 1.036 GB, free: 63.8 MB / 490.8 MB Notification: Performance of Templates: time 0.3417/2.397, allocations: 135.3 MB / 1.168 GB, free: 125.4 MB / 0.4949 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.055618143174797]