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.001562/0.001562, allocations: 88.72 kB / 19.44 MB, free: 356 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.001946/0.001946, allocations: 160.7 kB / 256.3 MB, free: 13.18 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.03791/0.03791, allocations: 6.658 MB / 319.4 MB, free: 26.58 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 2.304e-06/2.304e-06, allocations: 0 / 390.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/4.003e-05, allocations: 2.312 kB / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.2607/0.2608, allocations: 33.49 MB / 424.4 MB, free: 65.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03138/0.2922, allocations: 10.09 MB / 434.5 MB, free: 59.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0127/0.3049, allocations: 358.2 kB / 434.9 MB, free: 59.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02471/0.3296, allocations: 10.05 MB / 444.9 MB, free: 52.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0203/0.3499, allocations: 4.234 MB / 449.1 MB, free: 48.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.3614, allocations: 2.434 MB / 451.6 MB, free: 45.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02534/0.3867, allocations: 17.25 MB / 468.8 MB, free: 28.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04811/0.4348, allocations: 20.37 MB / 489.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03391/0.4687, allocations: 12.78 MB / 0.4902 GB, free: 11.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02277/0.4915, allocations: 8.147 MB / 0.4982 GB, free: 3.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01085/0.5024, allocations: 2.414 MB / 0.5005 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.5172, allocations: 2.835 MB / 0.5033 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01277/0.53, allocations: 4.917 MB / 0.5081 GB, free: 8.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02454/0.5545, allocations: 6.187 MB / 0.5141 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.06452/0.6191, allocations: 32.64 MB / 0.546 GB, free: 1.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.6191, allocations: 4 kB / 0.546 GB, free: 1.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6191, allocations: 0 / 0.546 GB, free: 1.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001362/0.6204, allocations: 0 / 0.546 GB, free: 1.98 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.4724/1.093, allocations: 18.82 MB / 0.5644 GB, free: 76.61 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/1.093, allocations: 11.55 kB / 0.5644 GB, free: 76.61 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05526/1.148, allocations: 10.53 MB / 0.5747 GB, free: 71.34 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02839/1.177, allocations: 10.8 MB / 0.5852 GB, free: 61.31 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/1.178, allocations: 1.069 MB / 0.5863 GB, free: 60.25 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00799/1.186, allocations: 1.399 MB / 0.5877 GB, free: 58.87 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07209/1.258, allocations: 23.1 MB / 0.6102 GB, free: 35.64 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009543/1.259, allocations: 23.19 kB / 0.6102 GB, free: 35.62 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007174/1.266, allocations: 0.5742 MB / 0.6108 GB, free: 35.06 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008487/1.267, allocations: 0.7793 MB / 0.6116 GB, free: 34.28 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04981/1.317, allocations: 20.98 MB / 0.632 GB, free: 13.29 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1768/1.494, allocations: 64.76 MB / 0.6953 GB, free: 12.47 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03225/1.526, allocations: 13.93 MB / 0.7089 GB, free: 0.5391 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01207/1.538, allocations: 4.751 MB / 0.7135 GB, free: 11.78 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03732/1.576, allocations: 11.49 MB / 0.7247 GB, free: 460 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/1.576, allocations: 90.77 kB / 0.7248 GB, free: 360 kB / 474.8 MB Notification: Performance of pre-optimization done (n=498): time 9.889e-06/1.576, allocations: 0 / 0.7248 GB, free: 360 kB / 474.8 MB Notification: Performance of matching and sorting (n=506): time 0.3296/1.905, allocations: 26.11 MB / 0.7503 GB, free: 164 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/1.905, allocations: 133.8 kB / 0.7505 GB, free: 163.9 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/1.92, allocations: 5.522 MB / 0.7558 GB, free: 161.9 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.922, allocations: 104.7 kB / 0.7559 GB, free: 161.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005023/1.927, allocations: 6.371 MB / 0.7622 GB, free: 157.4 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003028/1.93, allocations: 1.793 MB / 0.7639 GB, free: 155.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005856/1.936, allocations: 1.469 MB / 0.7654 GB, free: 155.2 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/1.936, allocations: 301.1 kB / 0.7656 GB, free: 154.9 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007563/1.943, allocations: 3.64 MB / 0.7692 GB, free: 153.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.953, allocations: 6.537 MB / 0.7756 GB, free: 147 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.969, allocations: 10.78 MB / 0.7861 GB, free: 135.8 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.969, allocations: 28 kB / 0.7861 GB, free: 135.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02636/1.996, allocations: 12.36 MB / 0.7982 GB, free: 124.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.996, allocations: 45.98 kB / 0.7982 GB, free: 124.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.996, allocations: 96.56 kB / 0.7983 GB, free: 124.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005811/2.002, allocations: 1.884 MB / 0.8002 GB, free: 122.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006638/2.009, allocations: 1.681 MB / 0.8018 GB, free: 120.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/2.03, allocations: 18.85 MB / 0.8202 GB, free: 101.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007747/2.038, allocations: 419.6 kB / 0.8206 GB, free: 100.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/2.04, allocations: 375.9 kB / 0.821 GB, free: 100.4 MB / 474.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.01221/2.052, allocations: 5.188 MB / 0.8261 GB, free: 95.19 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003055/2.055, allocations: 0.7578 MB / 0.8268 GB, free: 94.43 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/2.076, allocations: 9.148 MB / 0.8357 GB, free: 85.23 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/2.088, allocations: 5.86 MB / 0.8415 GB, free: 79.34 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.709e-05/2.088, allocations: 16 kB / 0.8415 GB, free: 79.32 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001652/2.088, allocations: 23.91 kB / 0.8415 GB, free: 79.3 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04475/2.133, allocations: 18 MB / 0.8591 GB, free: 61.26 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/2.133, allocations: 8 kB / 0.8591 GB, free: 61.25 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004355/2.137, allocations: 0.8742 MB / 0.8599 GB, free: 60.38 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006626/2.144, allocations: 1.938 MB / 0.8618 GB, free: 58.43 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001556/2.145, allocations: 135.9 kB / 0.862 GB, free: 58.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/2.17, allocations: 22.16 MB / 0.8836 GB, free: 35.48 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-06/2.17, allocations: 11.94 kB / 0.8836 GB, free: 35.47 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02673/2.197, allocations: 13.71 MB / 0.897 GB, free: 21.44 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005219/2.202, allocations: 1.318 MB / 0.8983 GB, free: 20.12 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002695/2.205, allocations: 108 kB / 0.8984 GB, free: 20.02 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005263/2.21, allocations: 279.7 kB / 0.8986 GB, free: 19.74 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001985/2.212, allocations: 444.1 kB / 0.8991 GB, free: 19.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009803/2.213, allocations: 156 kB / 0.8992 GB, free: 19.15 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.008543/2.222, allocations: 3.598 MB / 0.9027 GB, free: 15.57 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.31e-07/2.222, allocations: 0 / 0.9027 GB, free: 15.57 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01501/2.237, allocations: 2.336 MB / 0.905 GB, free: 13.24 MB / 474.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.002233/2.239, allocations: 306.8 kB / 0.9053 GB, free: 12.95 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01912/2.258, allocations: 9.472 MB / 0.9146 GB, free: 3.391 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.352e-05/2.258, allocations: 7.938 kB / 0.9146 GB, free: 3.383 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2305/2.489, allocations: 5.145 MB / 0.9196 GB, free: 151.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/2.503, allocations: 1.482 MB / 0.921 GB, free: 151.3 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06384/2.567, allocations: 25.19 MB / 0.9456 GB, free: 143.6 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02305/2.59, allocations: 8.499 MB / 0.9539 GB, free: 141 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.009879/2.6, allocations: 2.491 MB / 0.9564 GB, free: 140.7 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/2.602, allocations: 468.2 kB / 0.9568 GB, free: 140.7 MB / 474.8 MB Notification: Performance of SimCode: time 2.285e-06/2.602, allocations: 0 / 0.9568 GB, free: 140.7 MB / 474.8 MB Notification: Performance of Templates: time 0.1563/2.759, allocations: 89.22 MB / 1.044 GB, free: 61.06 MB / 474.8 MB " [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.685185504029505]