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.001377/0.001377, allocations: 93.06 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.069/1.069, allocations: 177.1 MB / 200 MB, free: 5.535 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.001848/0.001848, allocations: 164.5 kB / 256.6 MB, free: 13 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.03949/0.03949, allocations: 6.66 MB / 319.8 MB, free: 26.52 MB / 266.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.864e-06/1.864e-06, allocations: 0 / 395.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.726e-05, allocations: 2.312 kB / 395.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.1731/0.1732, allocations: 48.45 MB / 444.2 MB, free: 55.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.1985, allocations: 13.09 MB / 457.3 MB, free: 42.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0112/0.2097, allocations: 461.6 kB / 457.7 MB, free: 42.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01814/0.2278, allocations: 14.69 MB / 472.4 MB, free: 27.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01659/0.2444, allocations: 5.723 MB / 478.1 MB, free: 21.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008037/0.2524, allocations: 3.386 MB / 481.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02554/0.278, allocations: 25.37 MB / 0.495 GB, free: 9.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05641/0.3344, allocations: 30.11 MB / 0.5244 GB, free: 10.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04315/0.3775, allocations: 19.26 MB / 0.5432 GB, free: 7.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3219/0.6995, allocations: 13.48 MB / 0.5564 GB, free: 43.12 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01161/0.7111, allocations: 3.624 MB / 0.5599 GB, free: 43.12 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.7284, allocations: 4.132 MB / 0.5639 GB, free: 43.12 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01414/0.7425, allocations: 7.581 MB / 0.5713 GB, free: 43.12 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02607/0.7686, allocations: 9.425 MB / 0.5806 GB, free: 43.12 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03961/0.8082, allocations: 23 MB / 0.603 GB, free: 34.77 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8082, allocations: 0 / 0.603 GB, free: 34.77 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.8082, allocations: 0 / 0.603 GB, free: 34.77 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001305/0.8095, allocations: 0 / 0.603 GB, free: 34.77 MB / 394.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.06188/0.8714, allocations: 29.69 MB / 0.632 GB, free: 15.73 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.8714, allocations: 8.031 kB / 0.632 GB, free: 15.73 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04885/0.9203, allocations: 17.21 MB / 0.6488 GB, free: 14.66 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/0.9476, allocations: 14.4 MB / 0.6629 GB, free: 0.9141 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002128/0.9497, allocations: 1.57 MB / 0.6644 GB, free: 15.36 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008363/0.9581, allocations: 2.083 MB / 0.6665 GB, free: 13.3 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06355/1.022, allocations: 18.62 MB / 0.6846 GB, free: 10.44 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008325/1.022, allocations: 27.52 kB / 0.6847 GB, free: 10.42 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00559/1.028, allocations: 0.8593 MB / 0.6855 GB, free: 9.578 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009246/1.029, allocations: 1.149 MB / 0.6866 GB, free: 8.426 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03676/1.066, allocations: 9.957 MB / 0.6963 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/1.365, allocations: 84.21 MB / 0.7786 GB, free: 70.48 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/1.384, allocations: 17.35 MB / 0.7955 GB, free: 65.95 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007077/1.391, allocations: 4.341 MB / 0.7998 GB, free: 64.92 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02471/1.416, allocations: 14.05 MB / 0.8135 GB, free: 51.39 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.339e-05/1.416, allocations: 132.7 kB / 0.8136 GB, free: 51.25 MB / 458.8 MB Notification: Performance of pre-optimization done (n=894): time 9.758e-06/1.416, allocations: 0 / 0.8136 GB, free: 51.25 MB / 458.8 MB Notification: Performance of matching and sorting (n=906): time 0.04/1.456, allocations: 21.95 MB / 0.835 GB, free: 29.53 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/1.456, allocations: 172.5 kB / 0.8352 GB, free: 29.34 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009055/1.465, allocations: 6.914 MB / 0.842 GB, free: 22.44 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001619/1.467, allocations: 173.7 kB / 0.8421 GB, free: 22.27 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003328/1.47, allocations: 9.427 MB / 0.8513 GB, free: 12.81 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003286/1.473, allocations: 3.303 MB / 0.8546 GB, free: 9.547 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002855/1.476, allocations: 2.474 MB / 0.857 GB, free: 7.059 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/1.476, allocations: 480.8 kB / 0.8574 GB, free: 6.586 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/1.48, allocations: 1.885 MB / 0.8593 GB, free: 4.699 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006014/1.486, allocations: 7.479 MB / 0.8666 GB, free: 11.02 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/1.499, allocations: 10.46 MB / 0.8768 GB, free: 14.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/1.499, allocations: 36 kB / 0.8768 GB, free: 14.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02335/1.522, allocations: 11.13 MB / 0.8877 GB, free: 4.375 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/1.523, allocations: 62.67 kB / 0.8878 GB, free: 4.316 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/1.523, allocations: 116 kB / 0.8879 GB, free: 4.203 MB / 490.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.00186/1.525, allocations: 0.788 MB / 0.8886 GB, free: 3.395 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006031/1.531, allocations: 2.426 MB / 0.891 GB, free: 1.129 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1963/1.727, allocations: 11.93 MB / 0.9027 GB, free: 100.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007515/1.734, allocations: 0.5984 MB / 0.9032 GB, free: 100.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/1.737, allocations: 0.5253 MB / 0.9038 GB, free: 100.3 MB / 490.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.008328/1.745, allocations: 0.8821 MB / 0.9046 GB, free: 100.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004636/1.75, allocations: 1.177 MB / 0.9058 GB, free: 100.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/1.771, allocations: 9.019 MB / 0.9146 GB, free: 99.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-05/1.772, allocations: 90.56 kB / 0.9147 GB, free: 99.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.891e-05/1.772, allocations: 42.31 kB / 0.9147 GB, free: 99.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/1.772, allocations: 44.25 kB / 0.9147 GB, free: 99.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0373/1.809, allocations: 24.11 MB / 0.9383 GB, free: 97.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.809, allocations: 7.781 kB / 0.9383 GB, free: 97.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.812, allocations: 1.438 MB / 0.9397 GB, free: 97.97 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.001856/1.814, allocations: 0.8257 MB / 0.9405 GB, free: 97.87 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005117/1.814, allocations: 218 kB / 0.9407 GB, free: 97.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/1.821, allocations: 16.68 MB / 0.957 GB, free: 84.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.821, allocations: 11.09 kB / 0.957 GB, free: 84.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.836, allocations: 11.16 MB / 0.9679 GB, free: 83.21 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/1.84, allocations: 1.993 MB / 0.9699 GB, free: 83.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008393/1.841, allocations: 174.7 kB / 0.97 GB, free: 83.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.843, allocations: 486.5 kB / 0.9705 GB, free: 83.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/1.844, allocations: 0.845 MB / 0.9713 GB, free: 83.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003782/1.844, allocations: 266 kB / 0.9716 GB, free: 83.18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004051/1.849, allocations: 3.288 MB / 0.9748 GB, free: 82.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 2e-07/1.849, allocations: 4 kB / 0.9748 GB, free: 82.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007716/1.856, allocations: 3.46 MB / 0.9782 GB, free: 79.08 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.0009292/1.857, allocations: 476.1 kB / 0.9786 GB, free: 78.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.868, allocations: 8.877 MB / 0.9873 GB, free: 71.39 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.868, allocations: 4 kB / 0.9873 GB, free: 71.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00547/1.874, allocations: 5.51 MB / 0.9927 GB, free: 66.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005617/1.879, allocations: 2.253 MB / 0.9949 GB, free: 64.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/1.915, allocations: 32 MB / 1.026 GB, free: 32.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/1.918, allocations: 5.777 MB / 1.032 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005629/1.924, allocations: 3.292 MB / 1.035 GB, free: 23.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.925, allocations: 0.6683 MB / 1.036 GB, free: 23 MB / 490.8 MB Notification: Performance of SimCode: time 1.213e-06/1.925, allocations: 0 / 1.036 GB, free: 23 MB / 490.8 MB Notification: Performance of Templates: time 0.31/2.235, allocations: 129.3 MB / 1.162 GB, free: 87.92 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: 8.88203564984724]