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.0008591/0.0008591, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002023, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.085/1.085, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1709/1.256, allocations: 53.64 MB / 241.9 MB, free: 2.754 MB / 234.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.0008146/0.0008146, allocations: 139.8 kB / 242.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001976, allocations: 490.6 kB / 243.2 MB, free: 1.438 MB / 234.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.02433/0.02433, allocations: 6.656 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004736/0.02907, allocations: 2.662 MB / 253.3 MB, free: 7.578 MB / 250.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.673e-06/1.673e-06, allocations: 0 / 254.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.555e-05, allocations: 4.422 kB / 254.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04073/0.04075, allocations: 36.93 MB / 291.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.06841, allocations: 10.86 MB / 302.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009574/0.07798, allocations: 358.1 kB / 302.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01971/0.0977, allocations: 10.8 MB / 313.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0197/0.1174, allocations: 4.236 MB / 317.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009574/0.127, allocations: 2.429 MB / 320.2 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1783/0.3053, allocations: 17.37 MB / 337.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03331/0.3386, allocations: 20.43 MB / 358 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02744/0.366, allocations: 13.47 MB / 371.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/0.381, allocations: 9.305 MB / 380.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006233/0.3873, allocations: 2.41 MB / 383.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.3978, allocations: 2.837 MB / 386 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009162/0.407, allocations: 3.99 MB / 390 MB, free: 6.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02049/0.4275, allocations: 5.235 MB / 395.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02778/0.4553, allocations: 14.57 MB / 409.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.309e-05/0.4553, allocations: 0.9062 kB / 409.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4553, allocations: 0 / 409.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001146/0.4564, allocations: 0 / 409.8 MB, free: 3.789 MB / 362.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.03687/0.4933, allocations: 20.86 MB / 430.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4933, allocations: 8.031 kB / 430.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02635/0.5197, allocations: 8.572 MB / 439.2 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.534, allocations: 5.506 MB / 444.7 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/0.5352, allocations: 1.068 MB / 445.8 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005284/0.5405, allocations: 1.404 MB / 447.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/0.5725, allocations: 11.54 MB / 458.7 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004613/0.573, allocations: 22.61 kB / 458.8 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003035/0.576, allocations: 0.5755 MB / 459.3 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006856/0.5767, allocations: 0.7754 MB / 460.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.5961, allocations: 5.636 MB / 465.8 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2582/0.8543, allocations: 44.1 MB / 0.4979 GB, free: 69.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.8649, allocations: 8.106 MB / 0.5058 GB, free: 68.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.868, allocations: 1.71 MB / 0.5075 GB, free: 68.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.8805, allocations: 6.18 MB / 0.5135 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/0.8806, allocations: 91.77 kB / 0.5136 GB, free: 68.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=498): time 6.623e-06/0.8806, allocations: 0.7656 kB / 0.5136 GB, free: 68.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=506): time 0.02244/0.903, allocations: 11.57 MB / 0.5249 GB, free: 66.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.9031, allocations: 130.9 kB / 0.525 GB, free: 65.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/0.9073, allocations: 3.694 MB / 0.5287 GB, free: 65.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004368/0.9078, allocations: 109.4 kB / 0.5288 GB, free: 65.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.9098, allocations: 5.705 MB / 0.5343 GB, free: 61.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.9109, allocations: 1.797 MB / 0.5361 GB, free: 60.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.9123, allocations: 1.366 MB / 0.5374 GB, free: 60.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.9123, allocations: 307.3 kB / 0.5377 GB, free: 60.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.9137, allocations: 1.001 MB / 0.5387 GB, free: 60.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.9157, allocations: 3.678 MB / 0.5423 GB, free: 56.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005656/0.9214, allocations: 5.425 MB / 0.5476 GB, free: 51.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-05/0.9215, allocations: 28 kB / 0.5476 GB, free: 51.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.007695/0.9292, allocations: 5.253 MB / 0.5527 GB, free: 47.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.9292, allocations: 44 kB / 0.5528 GB, free: 47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.517e-05/0.9293, allocations: 99.97 kB / 0.5529 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.9319, allocations: 1.259 MB / 0.5541 GB, free: 45.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.9358, allocations: 1.778 MB / 0.5558 GB, free: 44.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/0.9443, allocations: 11.37 MB / 0.5669 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/0.9492, allocations: 285.4 kB / 0.5672 GB, free: 33.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/0.9506, allocations: 301.3 kB / 0.5675 GB, free: 33.63 MB / 426.7 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.00412/0.9547, allocations: 0.6005 MB / 0.5681 GB, free: 33.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/0.9562, allocations: 0.5048 MB / 0.5686 GB, free: 32.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/0.9616, allocations: 3.896 MB / 0.5724 GB, free: 29.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002372/0.964, allocations: 1.898 MB / 0.5742 GB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-05/0.964, allocations: 20 kB / 0.5743 GB, free: 27.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/0.964, allocations: 27.84 kB / 0.5743 GB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.9815, allocations: 9.567 MB / 0.5836 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9815, allocations: 12.03 kB / 0.5836 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/0.9843, allocations: 1.173 MB / 0.5848 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/0.9868, allocations: 0.7303 MB / 0.5855 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00275/0.9896, allocations: 1.279 MB / 0.5867 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004052/0.99, allocations: 119.9 kB / 0.5869 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009192/0.9992, allocations: 14.38 MB / 0.6009 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.9992, allocations: 7.938 kB / 0.6009 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007817/1.007, allocations: 4.859 MB / 0.6057 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/1.008, allocations: 108 kB / 0.6058 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.01, allocations: 148 kB / 0.6059 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008188/1.011, allocations: 406.7 kB / 0.6063 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.011, allocations: 112 kB / 0.6064 GB, free: 13.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00259/1.014, allocations: 1.772 MB / 0.6081 GB, free: 11.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.014, allocations: 0 / 0.6081 GB, free: 11.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008725/1.023, allocations: 2.332 MB / 0.6104 GB, free: 9.152 MB / 442.7 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.0009031/1.024, allocations: 291.4 kB / 0.6107 GB, free: 8.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006792/1.03, allocations: 4.691 MB / 0.6153 GB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002703/1.031, allocations: 142.5 kB / 0.6154 GB, free: 4.379 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/1.034, allocations: 3.018 MB / 0.6183 GB, free: 1.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/1.04, allocations: 1.942 MB / 0.6202 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.259/1.299, allocations: 21.43 MB / 0.6412 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005967/1.305, allocations: 2.812 MB / 0.6439 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003712/1.308, allocations: 0.9266 MB / 0.6448 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/1.311, allocations: 1.332 MB / 0.6461 GB, free: 109 MB / 458.7 MB Notification: Performance of SimCode: time 2.254e-06/1.311, allocations: 0 / 0.6461 GB, free: 109 MB / 458.7 MB Notification: Performance of Templates: time 0.1355/1.447, allocations: 101.8 MB / 0.7456 GB, free: 41.49 MB / 458.7 MB " [Timeout remaining time 659] 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.155580446124077]