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.001804/0.001804, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.595/1.595, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001614/0.001614, allocations: 215.2 kB / 310 MB, free: 3.043 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.04153/0.04153, allocations: 8.928 MB / 375.3 MB, free: 6.578 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.002564/0.002564, allocations: 87.88 kB / 0.4904 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09451, allocations: 55.62 MB / 0.5447 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.2589/0.3534, allocations: 33.43 MB / 0.5773 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02272/0.3761, allocations: 10.03 MB / 0.5871 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008804/0.3849, allocations: 356.2 kB / 0.5875 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02319/0.4081, allocations: 9.557 MB / 0.5968 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01885/0.4269, allocations: 4.141 MB / 0.6009 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009579/0.4365, allocations: 2.411 MB / 0.6032 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02398/0.4605, allocations: 16.65 MB / 0.6195 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03987/0.5003, allocations: 20.32 MB / 0.6393 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01629/0.5166, allocations: 8.72 MB / 0.6478 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/0.5338, allocations: 9.206 MB / 0.6568 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006487/0.5403, allocations: 2.414 MB / 0.6592 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009648/0.5499, allocations: 2.812 MB / 0.6619 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00801/0.5579, allocations: 4.82 MB / 0.6666 GB, free: 300 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01658/0.5745, allocations: 7.176 MB / 0.6736 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04482/0.6193, allocations: 32.37 MB / 0.7052 GB, free: 8.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6193, allocations: 0 / 0.7052 GB, free: 8.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6193, allocations: 0 / 0.7052 GB, free: 8.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009354/0.6203, allocations: 0 / 0.7052 GB, free: 8.621 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.06466/0.6849, allocations: 18.98 MB / 0.7238 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.685, allocations: 11.98 kB / 0.7238 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04685/0.7318, allocations: 8.283 MB / 0.7319 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/0.7564, allocations: 10.35 MB / 0.742 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001435/0.7579, allocations: 1.06 MB / 0.743 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006071/0.7639, allocations: 1.402 MB / 0.7444 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06246/0.8264, allocations: 23.09 MB / 0.7669 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006235/0.827, allocations: 23.84 kB / 0.767 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005589/0.8326, allocations: 0.5781 MB / 0.7675 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.8336, allocations: 0.7793 MB / 0.7683 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3019/1.135, allocations: 20.98 MB / 0.7888 GB, free: 155.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.26, allocations: 63.04 MB / 0.8503 GB, free: 113.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.283, allocations: 13.86 MB / 0.8639 GB, free: 101.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008096/1.291, allocations: 4.735 MB / 0.8685 GB, free: 97.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/1.317, allocations: 11.43 MB / 0.8797 GB, free: 85.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/1.317, allocations: 90.7 kB / 0.8797 GB, free: 85.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 1.022e-05/1.317, allocations: 0 / 0.8797 GB, free: 85.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.05877/1.376, allocations: 25.9 MB / 0.905 GB, free: 59.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/1.376, allocations: 133.3 kB / 0.9052 GB, free: 59.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008571/1.384, allocations: 5.531 MB / 0.9106 GB, free: 54.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009874/1.385, allocations: 105.7 kB / 0.9107 GB, free: 53.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/1.388, allocations: 6.388 MB / 0.9169 GB, free: 47.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.39, allocations: 1.81 MB / 0.9187 GB, free: 45.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/1.392, allocations: 1.481 MB / 0.9201 GB, free: 44.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/1.392, allocations: 309.1 kB / 0.9204 GB, free: 44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004848/1.397, allocations: 3.641 MB / 0.924 GB, free: 40.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/1.403, allocations: 6.532 MB / 0.9303 GB, free: 32.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.414, allocations: 10.78 MB / 0.9409 GB, free: 20.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.414, allocations: 28 kB / 0.9409 GB, free: 20.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02159/1.436, allocations: 11.99 MB / 0.9526 GB, free: 8.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/1.436, allocations: 44 kB / 0.9527 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.436, allocations: 96.56 kB / 0.9528 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/1.44, allocations: 1.601 MB / 0.9543 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00624/1.447, allocations: 1.673 MB / 0.9559 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/1.472, allocations: 18.75 MB / 0.9743 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006656/1.479, allocations: 423.6 kB / 0.9747 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.481, allocations: 371.9 kB / 0.975 GB, free: 0.875 MB / 0.5606 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.01242/1.493, allocations: 5.199 MB / 0.9801 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/1.495, allocations: 0.5938 MB / 0.9807 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01923/1.515, allocations: 9.146 MB / 0.9896 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01212/1.527, allocations: 5.86 MB / 0.9953 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.323e-05/1.527, allocations: 20 kB / 0.9953 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/1.527, allocations: 31.89 kB / 0.9954 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3372/1.864, allocations: 17.98 MB / 1.013 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/1.864, allocations: 7.234 kB / 1.013 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004278/1.868, allocations: 0.8676 MB / 1.014 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005298/1.874, allocations: 1.635 MB / 1.015 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/1.875, allocations: 135.7 kB / 1.016 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02519/1.9, allocations: 22.05 MB / 1.037 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.9, allocations: 7.938 kB / 1.037 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/1.923, allocations: 13.55 MB / 1.05 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005092/1.929, allocations: 1.31 MB / 1.052 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/1.93, allocations: 104.6 kB / 1.052 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004084/1.934, allocations: 283.8 kB / 1.052 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/1.936, allocations: 434 kB / 1.052 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004407/1.936, allocations: 162.8 kB / 1.053 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00645/1.943, allocations: 3.599 MB / 1.056 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.943, allocations: 0 / 1.056 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01021/1.953, allocations: 2.332 MB / 1.058 GB, free: 164.3 MB / 0.5919 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.001396/1.954, allocations: 306.3 kB / 1.059 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.969, allocations: 9.456 MB / 1.068 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.969, allocations: 8.594 kB / 1.068 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008321/1.977, allocations: 5.157 MB / 1.073 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007529/1.984, allocations: 1.443 MB / 1.074 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/2.025, allocations: 24.66 MB / 1.098 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00965/2.035, allocations: 8.217 MB / 1.106 GB, free: 125.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/2.037, allocations: 0.5267 MB / 1.107 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.303e-06/2.037, allocations: 0 / 1.107 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of Templates: time 1.504/3.541, allocations: 0.6739 GB / 1.781 GB, free: 163.6 MB / 0.6231 GB " [Timeout remaining time 656] 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: 26.999922935385257] Failed to read output from testmodel.py, exit status != 0: 3.5505925472825766 3.560125937 2.938284386 Calling exit ...