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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.148/1.148, allocations: 177.2 MB / 200.5 MB, free: 5.809 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.001229/0.001229, allocations: 168.5 kB / 257 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.02368/0.02368, allocations: 6.662 MB / 320.1 MB, free: 26.57 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.435e-06/2.435e-06, allocations: 0 / 391.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.239e-05, allocations: 2.312 kB / 391.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.1753/0.1753, allocations: 37.48 MB / 429.2 MB, free: 63.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.1961, allocations: 10.25 MB / 439.4 MB, free: 57.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009009/0.2051, allocations: 358.9 kB / 439.8 MB, free: 57.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.2188, allocations: 10.73 MB / 450.5 MB, free: 48.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.2318, allocations: 4.244 MB / 454.7 MB, free: 44.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006462/0.2382, allocations: 2.445 MB / 457.2 MB, free: 41.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01724/0.2555, allocations: 17.27 MB / 474.4 MB, free: 24.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03115/0.2866, allocations: 20.39 MB / 494.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02592/0.3125, allocations: 12.91 MB / 0.4958 GB, free: 6.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/0.3282, allocations: 8.994 MB / 0.5046 GB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008584/0.3368, allocations: 2.418 MB / 0.507 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.3469, allocations: 2.831 MB / 0.5097 GB, free: 8.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008757/0.3557, allocations: 4.995 MB / 0.5146 GB, free: 3.523 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01608/0.3718, allocations: 6.273 MB / 0.5207 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0269/0.3987, allocations: 15.39 MB / 0.5358 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3987, allocations: 3.938 kB / 0.5358 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3987, allocations: 4 kB / 0.5358 GB, free: 13.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007811/0.3995, allocations: 0 / 0.5358 GB, free: 13.8 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.3043/0.7038, allocations: 20.03 MB / 0.5553 GB, free: 122.6 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7038, allocations: 9.344 kB / 0.5553 GB, free: 122.6 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03315/0.737, allocations: 10.53 MB / 0.5656 GB, free: 120.4 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/0.753, allocations: 9.859 MB / 0.5753 GB, free: 113 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007409/0.7538, allocations: 1.059 MB / 0.5763 GB, free: 111.9 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005721/0.7595, allocations: 1.402 MB / 0.5777 GB, free: 110.5 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03826/0.7978, allocations: 12.3 MB / 0.5897 GB, free: 98.09 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005945/0.7984, allocations: 24.55 kB / 0.5897 GB, free: 98.06 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003454/0.8018, allocations: 0.5739 MB / 0.5903 GB, free: 97.5 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004939/0.8023, allocations: 0.7754 MB / 0.591 GB, free: 96.72 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.8248, allocations: 6.648 MB / 0.5975 GB, free: 90.06 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08308/0.9079, allocations: 58.11 MB / 0.6543 GB, free: 31.57 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.9211, allocations: 11.61 MB / 0.6656 GB, free: 21.88 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/0.9253, allocations: 2.26 MB / 0.6678 GB, free: 19.61 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01384/0.9391, allocations: 8.301 MB / 0.6759 GB, free: 11.47 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.9391, allocations: 89.59 kB / 0.676 GB, free: 11.38 MB / 394.8 MB Notification: Performance of pre-optimization done (n=498): time 6.372e-06/0.9392, allocations: 0 / 0.676 GB, free: 11.38 MB / 394.8 MB Notification: Performance of matching and sorting (n=506): time 0.03342/0.9726, allocations: 17.05 MB / 0.6927 GB, free: 10.18 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.9726, allocations: 133.3 kB / 0.6928 GB, free: 10.03 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006786/0.9794, allocations: 4.97 MB / 0.6976 GB, free: 5.078 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/0.9804, allocations: 105.7 kB / 0.6977 GB, free: 4.969 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1659/1.146, allocations: 6.679 MB / 0.7043 GB, free: 112.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.148, allocations: 1.853 MB / 0.7061 GB, free: 112.6 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/1.15, allocations: 1.634 MB / 0.7077 GB, free: 112.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.15, allocations: 480.8 kB / 0.7081 GB, free: 112 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/1.153, allocations: 1.149 MB / 0.7092 GB, free: 112 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/1.157, allocations: 5.433 MB / 0.7145 GB, free: 106.9 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007876/1.165, allocations: 7.256 MB / 0.7216 GB, free: 101.4 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.165, allocations: 31.28 kB / 0.7217 GB, free: 101.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01287/1.178, allocations: 7.107 MB / 0.7286 GB, free: 100.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/1.178, allocations: 44.66 kB / 0.7286 GB, free: 100.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/1.178, allocations: 93.25 kB / 0.7287 GB, free: 100.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003489/1.181, allocations: 1.389 MB / 0.7301 GB, free: 99.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/1.185, allocations: 1.669 MB / 0.7317 GB, free: 99.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.198, allocations: 15.56 MB / 0.7469 GB, free: 90.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.203, allocations: 429.2 kB / 0.7473 GB, free: 90.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/1.204, allocations: 375.6 kB / 0.7477 GB, free: 90.09 MB / 410.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.003912/1.208, allocations: 0.6492 MB / 0.7483 GB, free: 89.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/1.209, allocations: 0.7542 MB / 0.7491 GB, free: 89.48 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007997/1.217, allocations: 5.173 MB / 0.7541 GB, free: 88.64 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003899/1.221, allocations: 2.843 MB / 0.7569 GB, free: 86.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/1.221, allocations: 20 kB / 0.7569 GB, free: 86.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/1.221, allocations: 26.86 kB / 0.7569 GB, free: 86.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/1.245, allocations: 14.95 MB / 0.7715 GB, free: 73.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.245, allocations: 8 kB / 0.7715 GB, free: 73.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.247, allocations: 0.8655 MB / 0.7724 GB, free: 72.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/1.25, allocations: 1.433 MB / 0.7738 GB, free: 71.81 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004452/1.251, allocations: 131.4 kB / 0.7739 GB, free: 71.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.263, allocations: 19.85 MB / 0.7933 GB, free: 51.23 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.263, allocations: 11.94 kB / 0.7933 GB, free: 51.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.274, allocations: 6.597 MB / 0.7997 GB, free: 44.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.276, allocations: 1.198 MB / 0.8009 GB, free: 43.06 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.278, allocations: 108 kB / 0.801 GB, free: 42.95 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.279, allocations: 279.7 kB / 0.8013 GB, free: 42.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008079/1.28, allocations: 440.1 kB / 0.8017 GB, free: 42.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/1.28, allocations: 165.7 kB / 0.8019 GB, free: 42.09 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003397/1.284, allocations: 2.352 MB / 0.8042 GB, free: 39.76 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.51e-07/1.284, allocations: 0 / 0.8042 GB, free: 39.76 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008171/1.292, allocations: 2.332 MB / 0.8064 GB, free: 37.43 MB / 410.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.001035/1.293, allocations: 320.5 kB / 0.8067 GB, free: 37.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00857/1.302, allocations: 6.028 MB / 0.8126 GB, free: 30.99 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.302, allocations: 4 kB / 0.8126 GB, free: 30.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004983/1.307, allocations: 3.89 MB / 0.8164 GB, free: 26.96 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005428/1.312, allocations: 1.498 MB / 0.8179 GB, free: 25.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/1.345, allocations: 21.1 MB / 0.8385 GB, free: 4.227 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006218/1.351, allocations: 3.81 MB / 0.8422 GB, free: 388 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00567/1.357, allocations: 2.11 MB / 0.8443 GB, free: 14.26 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.358, allocations: 472.4 kB / 0.8447 GB, free: 13.8 MB / 426.8 MB Notification: Performance of SimCode: time 2.495e-06/1.358, allocations: 0 / 0.8447 GB, free: 13.8 MB / 426.8 MB Notification: Performance of Templates: time 0.2628/1.621, allocations: 89.22 MB / 0.9319 GB, free: 74.7 MB / 426.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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.6614501781295985]