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.001115/0.001115, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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 0.9712/0.9712, allocations: 177.1 MB / 201 MB, free: 5.719 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.00136/0.00136, allocations: 152.7 kB / 257.7 MB, free: 12.99 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.02544/0.02544, allocations: 6.664 MB / 320.9 MB, free: 26.35 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.552e-06/1.552e-06, allocations: 0 / 397 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.841e-05, allocations: 9.625 kB / 397 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.1657/0.1658, allocations: 47 MB / 444 MB, free: 56.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02716/0.1929, allocations: 13.03 MB / 457 MB, free: 43.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01129/0.2042, allocations: 465.5 kB / 457.5 MB, free: 43.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.2225, allocations: 14.34 MB / 471.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.2395, allocations: 5.706 MB / 477.5 MB, free: 23.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008395/0.2479, allocations: 3.355 MB / 480.9 MB, free: 19.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02505/0.273, allocations: 25.38 MB / 0.4944 GB, free: 10.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05728/0.3303, allocations: 30.11 MB / 0.5238 GB, free: 12.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04234/0.3726, allocations: 19.28 MB / 0.5426 GB, free: 8.816 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3341/0.7067, allocations: 13.72 MB / 0.556 GB, free: 43.05 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009411/0.7161, allocations: 3.618 MB / 0.5596 GB, free: 43.05 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009592/0.7257, allocations: 4.132 MB / 0.5636 GB, free: 43.05 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007621/0.7333, allocations: 7.575 MB / 0.571 GB, free: 43.05 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02317/0.7565, allocations: 9.409 MB / 0.5802 GB, free: 43.05 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03463/0.7911, allocations: 22.99 MB / 0.6026 GB, free: 35.13 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.7911, allocations: 2.531 kB / 0.6026 GB, free: 35.13 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.7911, allocations: 0 / 0.6026 GB, free: 35.13 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001296/0.7924, allocations: 0 / 0.6026 GB, free: 35.13 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.05931/0.8517, allocations: 28.34 MB / 0.6303 GB, free: 18.45 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.8517, allocations: 12.03 kB / 0.6303 GB, free: 18.43 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03685/0.8886, allocations: 12.97 MB / 0.643 GB, free: 5.617 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02316/0.9117, allocations: 13.45 MB / 0.6561 GB, free: 8.812 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002085/0.9138, allocations: 1.572 MB / 0.6577 GB, free: 7.262 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008192/0.922, allocations: 2.083 MB / 0.6597 GB, free: 5.203 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05962/0.9816, allocations: 17.08 MB / 0.6764 GB, free: 4.789 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009805/0.9826, allocations: 26.52 kB / 0.6764 GB, free: 4.77 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005931/0.9885, allocations: 0.8587 MB / 0.6772 GB, free: 3.934 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000927/0.9895, allocations: 1.161 MB / 0.6784 GB, free: 2.77 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02752/1.017, allocations: 7.733 MB / 0.6859 GB, free: 11.02 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.332/1.349, allocations: 82.84 MB / 0.7668 GB, free: 75.61 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.366, allocations: 15.91 MB / 0.7824 GB, free: 73.37 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006257/1.372, allocations: 3.787 MB / 0.7861 GB, free: 72.71 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02626/1.398, allocations: 13.2 MB / 0.7989 GB, free: 66.04 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/1.398, allocations: 132.8 kB / 0.7991 GB, free: 65.93 MB / 458.8 MB Notification: Performance of pre-optimization done (n=894): time 1.312e-05/1.398, allocations: 0 / 0.7991 GB, free: 65.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=906): time 0.03468/1.433, allocations: 15.41 MB / 0.8141 GB, free: 53.85 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/1.433, allocations: 172.5 kB / 0.8143 GB, free: 53.66 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.443, allocations: 6.761 MB / 0.8209 GB, free: 47.94 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001732/1.445, allocations: 173.7 kB / 0.8211 GB, free: 47.76 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.449, allocations: 9.471 MB / 0.8303 GB, free: 38.55 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003491/1.452, allocations: 3.34 MB / 0.8336 GB, free: 35.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/1.455, allocations: 2.508 MB / 0.836 GB, free: 33.11 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.455, allocations: 480.8 kB / 0.8365 GB, free: 32.63 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/1.457, allocations: 1.432 MB / 0.8379 GB, free: 31.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/1.461, allocations: 7.083 MB / 0.8448 GB, free: 22.18 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00872/1.47, allocations: 9.698 MB / 0.8543 GB, free: 10.95 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.47, allocations: 36 kB / 0.8543 GB, free: 10.92 MB / 458.8 MB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.01513/1.485, allocations: 10.08 MB / 0.8641 GB, free: 1.66 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/1.485, allocations: 52 kB / 0.8642 GB, free: 1.609 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/1.486, allocations: 116 kB / 0.8643 GB, free: 1.496 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.001509/1.487, allocations: 0.7809 MB / 0.8651 GB, free: 0.707 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/1.492, allocations: 2.204 MB / 0.8672 GB, free: 14.66 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/1.499, allocations: 11.68 MB / 0.8786 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.507, allocations: 379.8 kB / 0.879 GB, free: 2.254 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/1.508, allocations: 443.9 kB / 0.8794 GB, free: 1.82 MB / 474.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.006629/1.515, allocations: 0.8813 MB / 0.8803 GB, free: 1.086 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002547/1.518, allocations: 1.166 MB / 0.8814 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.531, allocations: 8.103 MB / 0.8893 GB, free: 7.898 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.673e-05/1.531, allocations: 88 kB / 0.8894 GB, free: 7.812 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.98e-05/1.531, allocations: 44 kB / 0.8894 GB, free: 7.77 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.481e-05/1.531, allocations: 47.81 kB / 0.8895 GB, free: 7.723 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2384/1.769, allocations: 22.93 MB / 0.9119 GB, free: 113.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.769, allocations: 6.062 kB / 0.9119 GB, free: 113.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003631/1.773, allocations: 1.23 MB / 0.9131 GB, free: 113.1 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.002/1.775, allocations: 0.8019 MB / 0.9139 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009138/1.776, allocations: 214.7 kB / 0.9141 GB, free: 113 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/1.783, allocations: 16.3 MB / 0.93 GB, free: 99.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.783, allocations: 6.625 kB / 0.93 GB, free: 99.98 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/1.801, allocations: 9.873 MB / 0.9396 GB, free: 98.57 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003975/1.805, allocations: 1.808 MB / 0.9414 GB, free: 98.32 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.807, allocations: 180.4 kB / 0.9416 GB, free: 98.32 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.81, allocations: 264.4 kB / 0.9418 GB, free: 98.32 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/1.811, allocations: 0.8234 MB / 0.9426 GB, free: 98.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004278/1.811, allocations: 208 kB / 0.9428 GB, free: 98.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004124/1.815, allocations: 3.013 MB / 0.9458 GB, free: 98.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.01e-07/1.815, allocations: 6.109 kB / 0.9458 GB, free: 98.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01149/1.827, allocations: 3.462 MB / 0.9492 GB, free: 98.04 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.002132/1.829, allocations: 477.8 kB / 0.9496 GB, free: 97.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01186/1.841, allocations: 8.055 MB / 0.9575 GB, free: 96.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/1.841, allocations: 5.109 kB / 0.9575 GB, free: 96.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007265/1.848, allocations: 5.152 MB / 0.9625 GB, free: 95.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008937/1.857, allocations: 2.249 MB / 0.9647 GB, free: 94.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05153/1.909, allocations: 31.65 MB / 0.9956 GB, free: 68.66 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009027/1.918, allocations: 5.779 MB / 1.001 GB, free: 65.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006328/1.924, allocations: 1.335 MB / 1.003 GB, free: 64.43 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005167/1.929, allocations: 2.195 MB / 1.005 GB, free: 62.33 MB / 490.8 MB Notification: Performance of SimCode: time 1.573e-06/1.929, allocations: 0 / 1.005 GB, free: 62.33 MB / 490.8 MB Notification: Performance of Templates: time 0.3322/2.261, allocations: 143.1 MB / 1.145 GB, free: 110.7 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.965057055000216]