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.001363/0.001363, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.064/1.064, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.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.001401/0.001401, allocations: 160.6 kB / 257 MB, free: 12.82 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.0262/0.0262, allocations: 6.668 MB / 266.9 MB, free: 3.066 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.392e-06/1.392e-06, allocations: 0 / 285.7 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.397e-05, allocations: 2.312 kB / 285.7 MB, free: 276 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.1346/0.1346, allocations: 36.67 MB / 322.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02288/0.1575, allocations: 10.78 MB / 333.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008375/0.1659, allocations: 358.1 kB / 333.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01512/0.181, allocations: 10.76 MB / 344.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.1939, allocations: 4.241 MB / 348.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006535/0.2005, allocations: 2.444 MB / 351 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02016/0.2206, allocations: 17.28 MB / 368.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0339/0.2545, allocations: 21.01 MB / 389.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02201/0.2765, allocations: 12.97 MB / 402.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01418/0.2907, allocations: 9.283 MB / 411.5 MB, free: 12 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006353/0.2971, allocations: 2.41 MB / 413.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008096/0.3052, allocations: 2.847 MB / 416.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008036/0.3132, allocations: 4.995 MB / 421.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2613/0.5745, allocations: 6.259 MB / 428 MB, free: 47.07 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02688/0.6014, allocations: 15.36 MB / 443.4 MB, free: 46 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6014, allocations: 0.7812 kB / 443.4 MB, free: 46 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.6014, allocations: 0 / 443.4 MB, free: 46 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009378/0.6024, allocations: 4.344 kB / 443.4 MB, free: 46 MB / 378.8 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.04338/0.6458, allocations: 17.85 MB / 461.2 MB, free: 40.86 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6458, allocations: 10.31 kB / 461.2 MB, free: 40.86 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0295/0.6753, allocations: 8.568 MB / 469.8 MB, free: 40.68 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.6897, allocations: 5.516 MB / 475.3 MB, free: 39.21 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009777/0.6907, allocations: 1.066 MB / 476.4 MB, free: 38.96 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005488/0.6961, allocations: 1.4 MB / 477.8 MB, free: 38.5 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03995/0.7361, allocations: 11.53 MB / 489.3 MB, free: 29.75 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006536/0.7368, allocations: 27.47 kB / 489.3 MB, free: 29.73 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004213/0.741, allocations: 0.5747 MB / 489.9 MB, free: 29.17 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005197/0.7415, allocations: 0.7793 MB / 490.7 MB, free: 28.39 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.7624, allocations: 5.63 MB / 496.3 MB, free: 22.75 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08501/0.8474, allocations: 43.88 MB / 0.5275 GB, free: 12.31 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.8593, allocations: 8.096 MB / 0.5355 GB, free: 4.418 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/0.8628, allocations: 1.706 MB / 0.5371 GB, free: 2.762 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01716/0.8799, allocations: 6.172 MB / 0.5431 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.88, allocations: 86.77 kB / 0.5432 GB, free: 12.73 MB / 426.8 MB Notification: Performance of pre-optimization done (n=498): time 7.434e-06/0.88, allocations: 0 / 0.5432 GB, free: 12.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=506): time 0.0281/0.9081, allocations: 11.57 MB / 0.5545 GB, free: 1.223 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.9082, allocations: 140.9 kB / 0.5547 GB, free: 1.066 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005782/0.9139, allocations: 3.697 MB / 0.5583 GB, free: 14.13 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001116/0.9151, allocations: 105.6 kB / 0.5584 GB, free: 14.03 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/0.918, allocations: 5.704 MB / 0.5639 GB, free: 8.52 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002513/0.9206, allocations: 1.799 MB / 0.5657 GB, free: 6.824 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002719/0.9233, allocations: 1.367 MB / 0.567 GB, free: 5.602 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.9234, allocations: 301.1 kB / 0.5673 GB, free: 5.305 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.9251, allocations: 0.9973 MB / 0.5683 GB, free: 4.305 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/0.9283, allocations: 3.674 MB / 0.5719 GB, free: 15.55 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.9347, allocations: 5.435 MB / 0.5772 GB, free: 9.363 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.279e-05/0.9348, allocations: 24 kB / 0.5772 GB, free: 9.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01033/0.9451, allocations: 5.26 MB / 0.5824 GB, free: 4.703 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.9452, allocations: 48 kB / 0.5824 GB, free: 4.656 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.682e-05/0.9453, allocations: 92 kB / 0.5825 GB, free: 4.566 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.9482, allocations: 1.26 MB / 0.5837 GB, free: 3.309 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004557/0.9528, allocations: 1.649 MB / 0.5853 GB, free: 1.777 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1899/1.143, allocations: 11.36 MB / 0.5964 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/1.148, allocations: 283.7 kB / 0.5967 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/1.15, allocations: 297.6 kB / 0.597 GB, free: 120.3 MB / 458.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.006146/1.156, allocations: 0.6134 MB / 0.5976 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.157, allocations: 0.4988 MB / 0.5981 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/1.165, allocations: 3.895 MB / 0.6019 GB, free: 119.9 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003286/1.168, allocations: 1.898 MB / 0.6037 GB, free: 119.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-05/1.168, allocations: 22.09 kB / 0.6037 GB, free: 119.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/1.168, allocations: 26.41 kB / 0.6038 GB, free: 119.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.192, allocations: 9.567 MB / 0.6131 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.192, allocations: 5.812 kB / 0.6131 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/1.196, allocations: 1.1 MB / 0.6142 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/1.198, allocations: 1.266 MB / 0.6154 GB, free: 118.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008013/1.199, allocations: 122.9 kB / 0.6155 GB, free: 118.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009576/1.209, allocations: 14.36 MB / 0.6296 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.209, allocations: 14.48 kB / 0.6296 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007583/1.216, allocations: 4.853 MB / 0.6343 GB, free: 108.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.219, allocations: 0.7379 MB / 0.635 GB, free: 108.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008363/1.219, allocations: 109.5 kB / 0.6351 GB, free: 108.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/1.221, allocations: 149.4 kB / 0.6353 GB, free: 108.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007633/1.222, allocations: 407.2 kB / 0.6357 GB, free: 108.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.222, allocations: 111.2 kB / 0.6358 GB, free: 108.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002408/1.224, allocations: 1.765 MB / 0.6375 GB, free: 108.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.224, allocations: 0 / 0.6375 GB, free: 108.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008117/1.232, allocations: 2.34 MB / 0.6398 GB, free: 105.9 MB / 458.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.001069/1.234, allocations: 294 kB / 0.6401 GB, free: 105.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006859/1.24, allocations: 4.689 MB / 0.6446 GB, free: 101.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002402/1.241, allocations: 79.94 kB / 0.6447 GB, free: 101.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003925/1.245, allocations: 3.018 MB / 0.6477 GB, free: 99.08 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006186/1.251, allocations: 1.487 MB / 0.6491 GB, free: 97.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/1.286, allocations: 20.49 MB / 0.6691 GB, free: 77.62 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00732/1.293, allocations: 2.776 MB / 0.6718 GB, free: 74.82 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003887/1.297, allocations: 0.9368 MB / 0.6728 GB, free: 73.88 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003381/1.3, allocations: 1.333 MB / 0.6741 GB, free: 72.53 MB / 458.8 MB Notification: Performance of SimCode: time 2.274e-06/1.3, allocations: 0.6562 kB / 0.6741 GB, free: 72.53 MB / 458.8 MB Notification: Performance of Templates: time 0.273/1.574, allocations: 97.67 MB / 0.7694 GB, free: 136.2 MB / 474.8 MB " [Timeout remaining time 658] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.07881824625656]