Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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.001095/0.001095, 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.034/1.034, allocations: 177.2 MB / 200 MB, free: 5.539 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.001283/0.001283, allocations: 156.6 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.02301/0.02301, allocations: 6.66 MB / 319.8 MB, free: 26.53 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) Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 391.7 MB, free: 2.562 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.534e-05, allocations: 2.312 kB / 391.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.1787/0.1787, allocations: 37.69 MB / 429.4 MB, free: 63.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.2046, allocations: 10.27 MB / 439.6 MB, free: 56.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01078/0.2154, allocations: 357.7 kB / 440 MB, free: 56.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01711/0.2325, allocations: 10.76 MB / 450.7 MB, free: 47.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.2491, allocations: 4.278 MB / 455 MB, free: 43.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006901/0.256, allocations: 2.451 MB / 457.5 MB, free: 41.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01853/0.2746, allocations: 17.26 MB / 474.7 MB, free: 23.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03178/0.3063, allocations: 20.4 MB / 495.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02883/0.3352, allocations: 12.92 MB / 0.4961 GB, free: 6.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01794/0.3531, allocations: 9.17 MB / 0.5051 GB, free: 13.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007815/0.3609, allocations: 2.41 MB / 0.5074 GB, free: 10.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.372, allocations: 2.827 MB / 0.5102 GB, free: 7.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008755/0.3808, allocations: 4.991 MB / 0.5151 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01545/0.3962, allocations: 6.257 MB / 0.5212 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02781/0.4241, allocations: 15.38 MB / 0.5362 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4241, allocations: 0 / 0.5362 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.4241, allocations: 0 / 0.5362 GB, free: 13.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000956/0.425, allocations: 0 / 0.5362 GB, free: 13.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.3665/0.7916, allocations: 20.02 MB / 0.5557 GB, free: 82.04 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/0.7916, allocations: 8.688 kB / 0.5557 GB, free: 82.04 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0348/0.8264, allocations: 10.53 MB / 0.566 GB, free: 81.16 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/0.8455, allocations: 9.847 MB / 0.5757 GB, free: 78.32 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.8466, allocations: 1.062 MB / 0.5767 GB, free: 77.84 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004927/0.8516, allocations: 1.404 MB / 0.5781 GB, free: 77.38 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04063/0.8922, allocations: 12.3 MB / 0.5901 GB, free: 66.9 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008391/0.893, allocations: 27.64 kB / 0.5901 GB, free: 66.88 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003972/0.897, allocations: 0.5802 MB / 0.5907 GB, free: 66.31 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/0.8975, allocations: 0.7811 MB / 0.5914 GB, free: 65.53 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.921, allocations: 6.64 MB / 0.5979 GB, free: 58.89 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08623/1.007, allocations: 58.1 MB / 0.6546 GB, free: 1.242 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/1.022, allocations: 11.62 MB / 0.666 GB, free: 7.602 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.027, allocations: 2.26 MB / 0.6682 GB, free: 5.324 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/1.044, allocations: 8.3 MB / 0.6763 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/1.044, allocations: 97.25 kB / 0.6764 GB, free: 13.24 MB / 426.8 MB Notification: Performance of pre-optimization done (n=498): time 7.354e-06/1.044, allocations: 0 / 0.6764 GB, free: 13.24 MB / 426.8 MB Notification: Performance of matching and sorting (n=506): time 0.04133/1.085, allocations: 17.04 MB / 0.693 GB, free: 12.29 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.085, allocations: 129.3 kB / 0.6932 GB, free: 12.15 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008306/1.094, allocations: 4.966 MB / 0.698 GB, free: 7.199 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.095, allocations: 113.7 kB / 0.6981 GB, free: 7.082 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004162/1.099, allocations: 6.679 MB / 0.7046 GB, free: 396 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.101, allocations: 1.854 MB / 0.7065 GB, free: 14.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/1.104, allocations: 1.635 MB / 0.7081 GB, free: 12.91 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001135/1.104, allocations: 480.8 kB / 0.7085 GB, free: 12.43 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.107, allocations: 1.147 MB / 0.7096 GB, free: 11.29 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/1.111, allocations: 5.435 MB / 0.7149 GB, free: 4.098 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2084/1.32, allocations: 7.257 MB / 0.722 GB, free: 110.3 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/1.32, allocations: 25.75 kB / 0.7221 GB, free: 110.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01421/1.334, allocations: 7.109 MB / 0.729 GB, free: 110 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/1.334, allocations: 43.06 kB / 0.729 GB, free: 110 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.334, allocations: 93.7 kB / 0.7291 GB, free: 110 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00405/1.338, allocations: 1.395 MB / 0.7305 GB, free: 109.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004891/1.343, allocations: 1.672 MB / 0.7321 GB, free: 109.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.355, allocations: 15.57 MB / 0.7473 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.36, allocations: 416.7 kB / 0.7477 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.361, allocations: 372.5 kB / 0.7481 GB, free: 100.4 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(2,100.0%)} * 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 {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004858/1.366, allocations: 0.6559 MB / 0.7487 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.368, allocations: 0.7536 MB / 0.7495 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.379, allocations: 5.168 MB / 0.7545 GB, free: 99.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00571/1.384, allocations: 2.841 MB / 0.7573 GB, free: 99.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.509e-05/1.384, allocations: 23.14 kB / 0.7573 GB, free: 99.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/1.384, allocations: 26.67 kB / 0.7573 GB, free: 99.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03272/1.417, allocations: 14.95 MB / 0.7719 GB, free: 97.46 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/1.417, allocations: 10.69 kB / 0.7719 GB, free: 97.45 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.42, allocations: 0.873 MB / 0.7728 GB, free: 96.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003617/1.423, allocations: 1.416 MB / 0.7742 GB, free: 95.91 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/1.424, allocations: 133.9 kB / 0.7743 GB, free: 95.87 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/1.437, allocations: 19.85 MB / 0.7937 GB, free: 77.55 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.437, allocations: 13.44 kB / 0.7937 GB, free: 77.55 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.448, allocations: 6.592 MB / 0.8001 GB, free: 71.77 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002894/1.451, allocations: 1.203 MB / 0.8013 GB, free: 70.83 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.452, allocations: 103.5 kB / 0.8014 GB, free: 70.73 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.454, allocations: 280.9 kB / 0.8017 GB, free: 70.54 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008798/1.455, allocations: 441.8 kB / 0.8021 GB, free: 70.32 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.455, allocations: 164.4 kB / 0.8022 GB, free: 70.18 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004058/1.459, allocations: 2.354 MB / 0.8045 GB, free: 68.26 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/1.459, allocations: 0 / 0.8045 GB, free: 68.26 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008743/1.468, allocations: 2.337 MB / 0.8068 GB, free: 65.93 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/1.469, allocations: 309.1 kB / 0.8071 GB, free: 65.68 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009127/1.478, allocations: 6.032 MB / 0.813 GB, free: 60.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.478, allocations: 4.062 kB / 0.813 GB, free: 60.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.483, allocations: 3.886 MB / 0.8168 GB, free: 56.99 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006245/1.489, allocations: 1.497 MB / 0.8183 GB, free: 55.69 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/1.522, allocations: 21.11 MB / 0.8389 GB, free: 34.37 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006228/1.528, allocations: 3.807 MB / 0.8426 GB, free: 30.53 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004875/1.533, allocations: 2.114 MB / 0.8447 GB, free: 28.41 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.534, allocations: 476.4 kB / 0.8451 GB, free: 27.94 MB / 458.8 MB Notification: Performance of SimCode: time 1.904e-06/1.534, allocations: 0 / 0.8451 GB, free: 27.94 MB / 458.8 MB Notification: Performance of Templates: time 0.291/1.825, allocations: 93.63 MB / 0.9366 GB, free: 112.5 MB / 474.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.715220186859369]