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.001439/0.001439, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.482/1.482, allocations: 230.6 MB / 253.4 MB, free: 8.266 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.001746/0.001746, allocations: 212.3 kB / 310 MB, free: 3.129 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.04079/0.04079, allocations: 8.914 MB / 375.3 MB, free: 1.887 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.002636/0.002636, allocations: 91.88 kB / 0.4905 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3574, allocations: 55.6 MB / 0.5448 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03531/0.3927, allocations: 39.21 MB / 0.583 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03205/0.4247, allocations: 10.37 MB / 0.5932 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01198/0.4367, allocations: 356.4 kB / 0.5935 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02859/0.4653, allocations: 10.31 MB / 0.6036 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02018/0.4855, allocations: 4.219 MB / 0.6077 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.4963, allocations: 2.483 MB / 0.6101 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02987/0.5262, allocations: 16.67 MB / 0.6264 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05401/0.5802, allocations: 20.59 MB / 0.6465 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01962/0.5998, allocations: 8.72 MB / 0.655 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02072/0.6205, allocations: 9.62 MB / 0.6644 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009214/0.6297, allocations: 2.418 MB / 0.6668 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/0.645, allocations: 2.851 MB / 0.6696 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01125/0.6562, allocations: 4.824 MB / 0.6743 GB, free: 7.977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02279/0.679, allocations: 9.218 MB / 0.6833 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6985/1.378, allocations: 32.22 MB / 0.7147 GB, free: 56.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/1.378, allocations: 4.75 kB / 0.7147 GB, free: 56.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/1.378, allocations: 0 / 0.7147 GB, free: 56.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001171/1.379, allocations: 0 / 0.7147 GB, free: 56.87 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.07578/1.455, allocations: 19 MB / 0.7333 GB, free: 48.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.455, allocations: 9.406 kB / 0.7333 GB, free: 48.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04937/1.504, allocations: 8.281 MB / 0.7414 GB, free: 45.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/1.536, allocations: 10.39 MB / 0.7515 GB, free: 39.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001535/1.537, allocations: 1.063 MB / 0.7526 GB, free: 39.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009464/1.547, allocations: 1.391 MB / 0.7539 GB, free: 38.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07638/1.623, allocations: 22.79 MB / 0.7762 GB, free: 17.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009664/1.624, allocations: 23.55 kB / 0.7762 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00851/1.632, allocations: 0.5773 MB / 0.7768 GB, free: 17.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008149/1.633, allocations: 0.7793 MB / 0.7775 GB, free: 16.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0536/1.687, allocations: 21.07 MB / 0.7981 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.176/1.863, allocations: 71.09 MB / 0.8675 GB, free: 4.102 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02944/1.892, allocations: 13.99 MB / 0.8812 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/1.903, allocations: 4.732 MB / 0.8858 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03691/1.94, allocations: 12.66 MB / 0.8982 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/1.941, allocations: 94.7 kB / 0.8983 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 1.116e-05/1.941, allocations: 4 kB / 0.8983 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.4461/2.387, allocations: 25.94 MB / 0.9236 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/2.387, allocations: 129.9 kB / 0.9237 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/2.398, allocations: 5.797 MB / 0.9294 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/2.399, allocations: 114.6 kB / 0.9295 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004485/2.404, allocations: 6.379 MB / 0.9357 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002595/2.406, allocations: 1.814 MB / 0.9375 GB, free: 208.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003329/2.41, allocations: 1.482 MB / 0.9389 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.63e-05/2.41, allocations: 306.6 kB / 0.9392 GB, free: 207.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007405/2.417, allocations: 3.639 MB / 0.9428 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/2.429, allocations: 6.487 MB / 0.9491 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/2.443, allocations: 10.78 MB / 0.9596 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/2.444, allocations: 28.19 kB / 0.9597 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02403/2.468, allocations: 12.04 MB / 0.9714 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/2.468, allocations: 43.19 kB / 0.9715 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001881/2.468, allocations: 94.7 kB / 0.9716 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/2.472, allocations: 1.602 MB / 0.9731 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006757/2.479, allocations: 1.672 MB / 0.9748 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/2.5, allocations: 19.16 MB / 0.9935 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008068/2.508, allocations: 421.6 kB / 0.9939 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002107/2.51, allocations: 371.9 kB / 0.9942 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.0121/2.522, allocations: 5.189 MB / 0.9993 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/2.524, allocations: 0.6288 MB / 0.9999 GB, free: 167.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/2.539, allocations: 9.182 MB / 1.009 GB, free: 158.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008594/2.548, allocations: 5.856 MB / 1.015 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/2.548, allocations: 24 kB / 1.015 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/2.548, allocations: 27.89 kB / 1.015 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04113/2.589, allocations: 20.93 MB / 1.035 GB, free: 131.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/2.589, allocations: 7.938 kB / 1.035 GB, free: 131.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003595/2.593, allocations: 0.866 MB / 1.036 GB, free: 130.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004373/2.597, allocations: 1.65 MB / 1.038 GB, free: 128.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009953/2.598, allocations: 128 kB / 1.038 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02211/2.62, allocations: 22.55 MB / 1.06 GB, free: 105.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.62, allocations: 8 kB / 1.06 GB, free: 105.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/2.642, allocations: 13.59 MB / 1.073 GB, free: 91.42 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005454/2.647, allocations: 1.351 MB / 1.074 GB, free: 90.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/2.65, allocations: 107.9 kB / 1.074 GB, free: 89.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004525/2.654, allocations: 275.7 kB / 1.075 GB, free: 89.69 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/2.655, allocations: 440.1 kB / 1.075 GB, free: 89.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003735/2.656, allocations: 160 kB / 1.075 GB, free: 89.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007229/2.663, allocations: 3.912 MB / 1.079 GB, free: 85.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/2.663, allocations: 4 kB / 1.079 GB, free: 85.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0135/2.676, allocations: 2.336 MB / 1.081 GB, free: 82.88 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.001641/2.678, allocations: 309.8 kB / 1.082 GB, free: 82.58 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01727/2.695, allocations: 9.465 MB / 1.091 GB, free: 73.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/2.695, allocations: 0 / 1.091 GB, free: 73.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.705, allocations: 5.161 MB / 1.096 GB, free: 67.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01331/2.719, allocations: 1.645 MB / 1.098 GB, free: 66.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06042/2.779, allocations: 24.72 MB / 1.122 GB, free: 41.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01581/2.795, allocations: 8.584 MB / 1.13 GB, free: 32.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/2.798, allocations: 0.5423 MB / 1.131 GB, free: 32.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.826e-06/2.798, allocations: 0 / 1.131 GB, free: 32.16 MB / 0.6075 GB Notification: Performance of Templates: time 1.93/4.728, allocations: 0.6726 GB / 1.803 GB, free: 85.9 MB / 0.6388 GB " [Timeout remaining time 655] 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: 29.78951913304627] Failed to read output from testmodel.py, exit status != 0: 4.74088950199075 4.752353347 3.371689435 Calling exit ...