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.001469/0.001469, allocations: 82.05 kB / 19.87 MB, free: 4.617 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 1.095/1.095, allocations: 177.2 MB / 200.3 MB, free: 5.418 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.001196/0.001196, allocations: 155.4 kB / 256.9 MB, free: 12.84 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.02624/0.02624, allocations: 6.659 MB / 320.1 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) 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.112e-06/1.112e-06, allocations: 0 / 392.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.163e-05, allocations: 6.312 kB / 392.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.161/0.1611, allocations: 36.61 MB / 428.7 MB, free: 64.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.1785, allocations: 10.22 MB / 438.9 MB, free: 57.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006396/0.1849, allocations: 355.9 kB / 439.3 MB, free: 57.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.1969, allocations: 10.52 MB / 449.8 MB, free: 48.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.2083, allocations: 4.256 MB / 454.1 MB, free: 44.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.213, allocations: 2.436 MB / 456.5 MB, free: 42.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.2273, allocations: 17.26 MB / 473.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02302/0.2503, allocations: 20.4 MB / 494.2 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01669/0.267, allocations: 12.92 MB / 0.4952 GB, free: 7.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.2789, allocations: 9.201 MB / 0.5042 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004268/0.2831, allocations: 2.41 MB / 0.5065 GB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007301/0.2904, allocations: 2.831 MB / 0.5093 GB, free: 8.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005355/0.2958, allocations: 4.995 MB / 0.5142 GB, free: 3.883 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009604/0.3054, allocations: 6.261 MB / 0.5203 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02169/0.3271, allocations: 15.37 MB / 0.5353 GB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3271, allocations: 3.938 kB / 0.5353 GB, free: 14.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3271, allocations: 0 / 0.5353 GB, free: 14.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008806/0.328, allocations: 4 kB / 0.5353 GB, free: 14.18 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.3485/0.6765, allocations: 18.89 MB / 0.5538 GB, free: 82.25 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.6765, allocations: 9.375 kB / 0.5538 GB, free: 82.25 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02435/0.7009, allocations: 8.248 MB / 0.5618 GB, free: 81.38 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/0.7176, allocations: 9.247 MB / 0.5709 GB, free: 79.58 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008336/0.7185, allocations: 1.063 MB / 0.5719 GB, free: 79.1 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003337/0.7218, allocations: 1.406 MB / 0.5733 GB, free: 78.64 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.7395, allocations: 11.28 MB / 0.5843 GB, free: 72.16 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.7398, allocations: 20 kB / 0.5843 GB, free: 72.15 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008882/0.7407, allocations: 0.5796 MB / 0.5849 GB, free: 71.58 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004201/0.7411, allocations: 0.7755 MB / 0.5856 GB, free: 70.87 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.7498, allocations: 5.16 MB / 0.5907 GB, free: 65.96 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05852/0.8083, allocations: 57.36 MB / 0.6467 GB, free: 10.85 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008856/0.8171, allocations: 10.31 MB / 0.6568 GB, free: 2.633 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.8192, allocations: 1.951 MB / 0.6587 GB, free: 0.7305 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.8308, allocations: 7.944 MB / 0.6664 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.8308, allocations: 93.59 kB / 0.6665 GB, free: 9.125 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.003e-06/0.8309, allocations: 0 / 0.6665 GB, free: 9.125 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02719/0.858, allocations: 12.63 MB / 0.6788 GB, free: 12.66 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.8581, allocations: 129.3 kB / 0.679 GB, free: 12.51 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/0.8634, allocations: 4.883 MB / 0.6837 GB, free: 8.391 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.8636, allocations: 109.7 kB / 0.6838 GB, free: 8.277 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003632/0.8672, allocations: 6.717 MB / 0.6904 GB, free: 1.754 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.8685, allocations: 1.873 MB / 0.6922 GB, free: 15.98 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/0.8704, allocations: 1.658 MB / 0.6938 GB, free: 14.47 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8705, allocations: 476.8 kB / 0.6943 GB, free: 14 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.8717, allocations: 0.8772 MB / 0.6952 GB, free: 13.12 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003307/0.875, allocations: 5.199 MB / 0.7002 GB, free: 6.344 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005616/0.8806, allocations: 6.827 MB / 0.7069 GB, free: 14.28 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/0.8806, allocations: 28 kB / 0.7069 GB, free: 14.25 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.008437/0.8891, allocations: 6.46 MB / 0.7132 GB, free: 8.398 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.8891, allocations: 49.03 kB / 0.7133 GB, free: 8.355 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.8892, allocations: 92 kB / 0.7134 GB, free: 8.266 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/0.8919, allocations: 1.344 MB / 0.7147 GB, free: 6.918 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.8947, allocations: 1.547 MB / 0.7162 GB, free: 5.488 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2199/1.115, allocations: 15 MB / 0.7308 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/1.12, allocations: 287.8 kB / 0.7311 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/1.121, allocations: 312.7 kB / 0.7314 GB, free: 106.9 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.004777/1.126, allocations: 0.6548 MB / 0.7321 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/1.128, allocations: 0.752 MB / 0.7328 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/1.135, allocations: 4.675 MB / 0.7374 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00373/1.139, allocations: 2.452 MB / 0.7397 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-05/1.139, allocations: 20.47 kB / 0.7398 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/1.139, allocations: 26.08 kB / 0.7398 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/1.168, allocations: 14.35 MB / 0.7538 GB, free: 105 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.168, allocations: 7.094 kB / 0.7538 GB, free: 105 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.17, allocations: 0.748 MB / 0.7545 GB, free: 105 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003389/1.174, allocations: 1.365 MB / 0.7559 GB, free: 104.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006368/1.174, allocations: 134.8 kB / 0.756 GB, free: 104.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.186, allocations: 19.24 MB / 0.7748 GB, free: 91.71 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.186, allocations: 7.438 kB / 0.7748 GB, free: 91.71 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.197, allocations: 5.875 MB / 0.7805 GB, free: 90.17 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002842/1.199, allocations: 1.1 MB / 0.7816 GB, free: 89.84 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.201, allocations: 112.9 kB / 0.7817 GB, free: 89.84 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.202, allocations: 152.1 kB / 0.7819 GB, free: 89.83 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007824/1.203, allocations: 417.3 kB / 0.7823 GB, free: 89.82 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.203, allocations: 127.7 kB / 0.7824 GB, free: 89.82 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002894/1.206, allocations: 2.17 MB / 0.7845 GB, free: 89.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.206, allocations: 0 / 0.7845 GB, free: 89.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008763/1.215, allocations: 2.336 MB / 0.7868 GB, free: 87.82 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.001234/1.216, allocations: 311.7 kB / 0.7871 GB, free: 87.66 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007908/1.224, allocations: 5.524 MB / 0.7925 GB, free: 83.48 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.224, allocations: 8.25 kB / 0.7925 GB, free: 83.47 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004345/1.229, allocations: 3.658 MB / 0.7961 GB, free: 80.24 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005846/1.234, allocations: 1.495 MB / 0.7975 GB, free: 79.07 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/1.267, allocations: 20.92 MB / 0.8179 GB, free: 59.8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005655/1.272, allocations: 3.814 MB / 0.8217 GB, free: 56.49 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003972/1.276, allocations: 0.929 MB / 0.8226 GB, free: 55.55 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00281/1.279, allocations: 1.497 MB / 0.824 GB, free: 54.05 MB / 458.8 MB Notification: Performance of SimCode: time 1.293e-06/1.279, allocations: 0 / 0.824 GB, free: 54.05 MB / 458.8 MB Notification: Performance of Templates: time 0.313/1.592, allocations: 97.12 MB / 0.9189 GB, free: 128.1 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.771412970032543]