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.00144/0.00144, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 252.6 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] 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.00169/0.00169, allocations: 222.6 kB / 309.2 MB, free: 3.137 MB / 238.1 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.04238/0.04238, allocations: 8.907 MB / 374.6 MB, free: 1.895 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 87.86 kB / 0.4897 GB, free: 6.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3104, allocations: 55.6 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03712/0.3475, allocations: 39.2 MB / 0.5823 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03191/0.3794, allocations: 10.37 MB / 0.5924 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01138/0.3908, allocations: 360.2 kB / 0.5928 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02764/0.4184, allocations: 10.32 MB / 0.6028 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01952/0.438, allocations: 4.218 MB / 0.607 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009824/0.4478, allocations: 2.488 MB / 0.6094 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0281/0.4759, allocations: 16.65 MB / 0.6256 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03977/0.5156, allocations: 20.6 MB / 0.6458 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01784/0.5335, allocations: 8.716 MB / 0.6543 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01942/0.5529, allocations: 9.624 MB / 0.6637 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007664/0.5606, allocations: 2.418 MB / 0.666 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.5706, allocations: 2.847 MB / 0.6688 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008826/0.5794, allocations: 4.828 MB / 0.6735 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02172/0.6011, allocations: 9.214 MB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5681/1.169, allocations: 32.23 MB / 0.714 GB, free: 56.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/1.169, allocations: 0 / 0.714 GB, free: 56.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.474e-06/1.169, allocations: 0.8125 kB / 0.714 GB, free: 56.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001351/1.171, allocations: 0 / 0.714 GB, free: 56.95 MB / 494.1 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.08782/1.258, allocations: 19 MB / 0.7325 GB, free: 48.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.609e-05/1.259, allocations: 17.06 kB / 0.7326 GB, free: 48.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05444/1.313, allocations: 8.274 MB / 0.7406 GB, free: 45.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/1.347, allocations: 10.39 MB / 0.7508 GB, free: 39.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/1.348, allocations: 1.058 MB / 0.7518 GB, free: 39.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009877/1.358, allocations: 1.398 MB / 0.7532 GB, free: 39.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07714/1.435, allocations: 22.79 MB / 0.7754 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009928/1.436, allocations: 26.3 kB / 0.7755 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008681/1.445, allocations: 0.5784 MB / 0.776 GB, free: 17.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000781/1.445, allocations: 0.7793 MB / 0.7768 GB, free: 16.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05584/1.501, allocations: 21.06 MB / 0.7974 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1691/1.67, allocations: 71.09 MB / 0.8668 GB, free: 4.098 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02865/1.699, allocations: 13.99 MB / 0.8804 GB, free: 8.164 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/1.71, allocations: 4.728 MB / 0.8851 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03092/1.741, allocations: 12.67 MB / 0.8974 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.19e-05/1.741, allocations: 98.23 kB / 0.8975 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 6.813e-06/1.741, allocations: 0 / 0.8975 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.4452/2.186, allocations: 25.94 MB / 0.9229 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/2.186, allocations: 127.7 kB / 0.923 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/2.198, allocations: 5.795 MB / 0.9286 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/2.199, allocations: 110.3 kB / 0.9287 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004471/2.204, allocations: 6.382 MB / 0.935 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002773/2.206, allocations: 1.809 MB / 0.9367 GB, free: 208.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002843/2.209, allocations: 1.483 MB / 0.9382 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/2.209, allocations: 302.2 kB / 0.9385 GB, free: 207.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006061/2.215, allocations: 3.642 MB / 0.942 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008842/2.224, allocations: 6.486 MB / 0.9484 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/2.238, allocations: 10.79 MB / 0.9589 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/2.238, allocations: 26.72 kB / 0.9589 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02111/2.259, allocations: 12.03 MB / 0.9707 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/2.26, allocations: 44.41 kB / 0.9707 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/2.26, allocations: 94.09 kB / 0.9708 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004193/2.264, allocations: 1.597 MB / 0.9724 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/2.27, allocations: 1.671 MB / 0.974 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/2.293, allocations: 19.16 MB / 0.9927 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007748/2.3, allocations: 433.2 kB / 0.9931 GB, free: 173 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/2.302, allocations: 379.9 kB / 0.9935 GB, free: 172.6 MB / 0.6075 GB 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.009491/2.311, allocations: 5.182 MB / 0.9986 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/2.313, allocations: 0.6366 MB / 0.9992 GB, free: 167.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/2.328, allocations: 9.171 MB / 1.008 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008453/2.337, allocations: 5.864 MB / 1.014 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/2.337, allocations: 16 kB / 1.014 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.273e-05/2.337, allocations: 27.89 kB / 1.014 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03708/2.374, allocations: 20.93 MB / 1.034 GB, free: 131.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/2.374, allocations: 13.58 kB / 1.034 GB, free: 131.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/2.377, allocations: 0.8704 MB / 1.035 GB, free: 130.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004459/2.382, allocations: 1.649 MB / 1.037 GB, free: 128.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005935/2.383, allocations: 124 kB / 1.037 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02227/2.405, allocations: 22.54 MB / 1.059 GB, free: 105.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/2.405, allocations: 11.94 kB / 1.059 GB, free: 105.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/2.427, allocations: 13.59 MB / 1.072 GB, free: 91.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004548/2.432, allocations: 1.347 MB / 1.074 GB, free: 90.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/2.434, allocations: 108 kB / 1.074 GB, free: 89.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/2.439, allocations: 287.7 kB / 1.074 GB, free: 89.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/2.44, allocations: 436.1 kB / 1.074 GB, free: 89.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005785/2.44, allocations: 163.9 kB / 1.074 GB, free: 89.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007539/2.448, allocations: 3.908 MB / 1.078 GB, free: 85.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.448, allocations: 0 / 1.078 GB, free: 85.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01139/2.459, allocations: 2.34 MB / 1.081 GB, free: 82.9 MB / 0.6075 GB 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.001478/2.461, allocations: 320.4 kB / 1.081 GB, free: 82.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01741/2.478, allocations: 9.457 MB / 1.09 GB, free: 73.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/2.478, allocations: 4 kB / 1.09 GB, free: 73.05 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009224/2.487, allocations: 5.158 MB / 1.095 GB, free: 67.81 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/2.5, allocations: 1.648 MB / 1.097 GB, free: 66.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05057/2.551, allocations: 25.12 MB / 1.121 GB, free: 40.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/2.565, allocations: 8.86 MB / 1.13 GB, free: 32.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007754/2.573, allocations: 2.535 MB / 1.132 GB, free: 29.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/2.575, allocations: 487.3 kB / 1.133 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of SimCode: time 1.183e-06/2.575, allocations: 4 kB / 1.133 GB, free: 29.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.5195/3.094, allocations: 105.1 MB / 1.236 GB, free: 150.7 MB / 0.6075 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.448883628007025] Failed to read output from testmodel.py, exit status != 0: 3.10707476711832 3.119395722 1.947276796 Calling exit ...