Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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.001108/0.001108, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002562, 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 0.955/0.955, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1847/1.14, allocations: 53.65 MB / 241.9 MB, free: 2.676 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.0008467/0.0008467, allocations: 155.9 kB / 242.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001881, allocations: 481.6 kB / 243.2 MB, free: 1.371 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.0243/0.0243, allocations: 6.661 MB / 250.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005335/0.02963, allocations: 2.66 MB / 253.3 MB, free: 7.516 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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 254.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.965e-05, allocations: 2.312 kB / 254.6 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01178/0.0118, allocations: 13.78 MB / 268.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.0216, allocations: 4.858 MB / 273.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.0242, allocations: 99.44 kB / 273.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.02703, allocations: 1.036 MB / 274.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.03132, allocations: 1.35 MB / 275.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.03357, allocations: 0.9388 MB / 276.6 MB, free: 72 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00494/0.03851, allocations: 4.452 MB / 281.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.0408, allocations: 1.769 MB / 282.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.04552, allocations: 3.17 MB / 286 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002666/0.04818, allocations: 1.945 MB / 288 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008691/0.04905, allocations: 0.5039 MB / 288.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.05067, allocations: 0.7261 MB / 289.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008342/0.05151, allocations: 0.9039 MB / 290.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.05365, allocations: 1.228 MB / 291.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.05786, allocations: 3.326 MB / 294.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.018e-05/0.05788, allocations: 0 / 294.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.05788, allocations: 4 kB / 294.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.05801, allocations: 0 / 294.7 MB, free: 13.89 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.007869/0.06587, allocations: 5.149 MB / 299.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.06591, allocations: 8.031 kB / 299.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.06861, allocations: 1.12 MB / 300.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.07171, allocations: 1.472 MB / 302.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.07184, allocations: 258.9 kB / 302.7 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.07227, allocations: 332.3 kB / 303 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.07588, allocations: 2.478 MB / 305.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.07594, allocations: 7.938 kB / 305.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.07615, allocations: 136 kB / 305.6 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.07625, allocations: 146.5 kB / 305.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.07789, allocations: 0.9592 MB / 306.7 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.08942, allocations: 8.748 MB / 315.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.09147, allocations: 1.715 MB / 317.2 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.09219, allocations: 0.6208 MB / 317.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003087/0.09528, allocations: 1.898 MB / 319.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/0.09588, allocations: 0.7017 MB / 320.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 2.725e-06/0.09588, allocations: 0 / 320.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=146): time 0.004577/0.1005, allocations: 2.743 MB / 323.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1005, allocations: 76.7 kB / 323.2 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.1015, allocations: 1.196 MB / 324.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.1016, allocations: 61.69 kB / 324.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/0.1023, allocations: 1.292 MB / 325.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.1026, allocations: 0.5151 MB / 326.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.1029, allocations: 343.2 kB / 326.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.1031, allocations: 301.1 kB / 326.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1034, allocations: 206.7 kB / 327.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.104, allocations: 0.9833 MB / 328.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.1048, allocations: 1.182 MB / 329.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.1048, allocations: 12 kB / 329.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001417/0.1063, allocations: 1.263 MB / 330.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1063, allocations: 12 kB / 330.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.1063, allocations: 16 kB / 330.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.1068, allocations: 294.1 kB / 330.9 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.1077, allocations: 474.2 kB / 331.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.1114, allocations: 6.426 MB / 337.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/0.1123, allocations: 83.94 kB / 337.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/0.1124, allocations: 76.02 kB / 337.9 MB, free: 0.8555 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,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.0006783/0.1131, allocations: 236 kB / 338.1 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.1133, allocations: 163.8 kB / 338.3 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1523/0.2656, allocations: 1.057 MB / 339.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.2657, allocations: 15.81 kB / 339.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-05/0.2657, allocations: 11.31 kB / 339.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.2657, allocations: 7.219 kB / 339.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.2706, allocations: 2.246 MB / 341.6 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.2706, allocations: 1.75 kB / 341.6 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.2712, allocations: 200.7 kB / 341.8 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.2719, allocations: 199.1 kB / 342 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.2729, allocations: 421.1 kB / 342.4 MB, free: 54.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.273, allocations: 39.66 kB / 342.5 MB, free: 54.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005781/0.2788, allocations: 9.977 MB / 352.5 MB, free: 46.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/0.2788, allocations: 0 / 352.5 MB, free: 46.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.2812, allocations: 1.439 MB / 353.9 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.2816, allocations: 43.27 kB / 353.9 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.2822, allocations: 51.67 kB / 354 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.2826, allocations: 115.3 kB / 354.1 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.2826, allocations: 32.72 kB / 354.1 MB, free: 45.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009878/0.2836, allocations: 0.5825 MB / 354.7 MB, free: 45.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2836, allocations: 0 / 354.7 MB, free: 45.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002044/0.2856, allocations: 0.6007 MB / 355.3 MB, free: 45.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (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,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.286, allocations: 164.8 kB / 355.5 MB, free: 45.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.2877, allocations: 1.427 MB / 356.9 MB, free: 45.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.617e-05/0.2877, allocations: 36.42 kB / 356.9 MB, free: 45.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.2889, allocations: 1.337 MB / 358.3 MB, free: 44.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.2903, allocations: 0.619 MB / 358.9 MB, free: 44.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/0.3122, allocations: 5.206 MB / 364.1 MB, free: 42.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.3129, allocations: 0.6648 MB / 364.8 MB, free: 42.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000815/0.3137, allocations: 247.5 kB / 365 MB, free: 42.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007039/0.3144, allocations: 476.2 kB / 365.5 MB, free: 42.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.953e-06/0.3144, allocations: 0 / 365.5 MB, free: 42.12 MB / 330.7 MB Notification: Performance of Templates: time 0.04144/0.3558, allocations: 33.61 MB / 399.1 MB, free: 13.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.503510802052915]