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.0009942/0.0009942, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.084/1.084, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.001655/0.001655, allocations: 164.6 kB / 257 MB, free: 13.19 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.02347/0.02347, allocations: 6.665 MB / 320.1 MB, free: 26.55 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_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.714e-06/1.714e-06, allocations: 0 / 391.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.577e-05, allocations: 2.312 kB / 391.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01134/0.01137, allocations: 13.91 MB / 405.6 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.01843, allocations: 4.649 MB / 410.2 MB, free: 284 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.01959, allocations: 99.44 kB / 410.3 MB, free: 184 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1544/0.174, allocations: 0.9905 MB / 411.3 MB, free: 69.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.1776, allocations: 1.361 MB / 412.7 MB, free: 69.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1793, allocations: 0.9482 MB / 413.6 MB, free: 69.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004601/0.1839, allocations: 4.435 MB / 418.1 MB, free: 68.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.1867, allocations: 1.722 MB / 419.8 MB, free: 67.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.1906, allocations: 2.92 MB / 422.7 MB, free: 66.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.1933, allocations: 1.914 MB / 424.6 MB, free: 65.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.1944, allocations: 0.511 MB / 425.1 MB, free: 65.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1956, allocations: 0.7168 MB / 425.8 MB, free: 65.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.1964, allocations: 1.138 MB / 427 MB, free: 64.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.1981, allocations: 1.478 MB / 428.5 MB, free: 64.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.2012, allocations: 3.529 MB / 432 MB, free: 62.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2012, allocations: 0 / 432 MB, free: 62.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2012, allocations: 0 / 432 MB, free: 62.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.2014, allocations: 2.594 kB / 432 MB, free: 62.15 MB / 330.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.006472/0.2078, allocations: 6.063 MB / 438 MB, free: 56.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2079, allocations: 12.03 kB / 438.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.2106, allocations: 1.251 MB / 439.3 MB, free: 55.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.2132, allocations: 2.326 MB / 441.6 MB, free: 53.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.2133, allocations: 249.6 kB / 441.9 MB, free: 53.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.2136, allocations: 332.3 kB / 442.2 MB, free: 52.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.2168, allocations: 2.636 MB / 444.8 MB, free: 50.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.2168, allocations: 8.172 kB / 444.8 MB, free: 50.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.217, allocations: 142.3 kB / 445 MB, free: 49.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/0.2171, allocations: 150.5 kB / 445.1 MB, free: 49.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.2193, allocations: 1.23 MB / 446.4 MB, free: 48.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00958/0.2289, allocations: 11.13 MB / 457.5 MB, free: 37.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.2314, allocations: 2.051 MB / 459.5 MB, free: 35.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009727/0.2324, allocations: 0.7827 MB / 460.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.2351, allocations: 2.413 MB / 462.7 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006624/0.2357, allocations: 0.7744 MB / 463.5 MB, free: 31.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=143): time 3.406e-06/0.2358, allocations: 0 / 463.5 MB, free: 31.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.005308/0.2411, allocations: 3.676 MB / 467.2 MB, free: 27.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2411, allocations: 230.9 kB / 467.4 MB, free: 27.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.2423, allocations: 1.458 MB / 468.9 MB, free: 26.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.2423, allocations: 61.69 kB / 468.9 MB, free: 25.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.243, allocations: 1.605 MB / 470.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.2432, allocations: 0.535 MB / 471.1 MB, free: 23.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.2435, allocations: 369.1 kB / 471.4 MB, free: 23.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.2436, allocations: 476.8 kB / 471.9 MB, free: 23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.244, allocations: 259.8 kB / 472.2 MB, free: 22.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.2446, allocations: 1.342 MB / 473.5 MB, free: 20.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2458, allocations: 1.534 MB / 475 MB, free: 19.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2458, allocations: 4 kB / 475 MB, free: 19.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001868/0.2477, allocations: 1.698 MB / 476.7 MB, free: 17.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2477, allocations: 16.34 kB / 476.7 MB, free: 17.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2478, allocations: 20 kB / 476.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.2484, allocations: 318.6 kB / 477.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.2491, allocations: 396.4 kB / 477.5 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.2524, allocations: 8.923 MB / 486.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.2531, allocations: 95.86 kB / 486.5 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.2531, allocations: 83.98 kB / 486.6 MB, free: 7.355 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,idealCloser.control,idealOpener.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.0005483/0.2537, allocations: 293.2 kB / 486.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.2539, allocations: 238.8 kB / 487.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2556, allocations: 1.38 MB / 488.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2556, allocations: 12 kB / 488.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2556, allocations: 12 kB / 488.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2556, allocations: 7.969 kB / 488.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.2593, allocations: 3.604 MB / 492.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2593, allocations: 0 / 492.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.2597, allocations: 174.6 kB / 492.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/0.2605, allocations: 475.3 kB / 492.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.2606, allocations: 47.97 kB / 492.8 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007629/0.2682, allocations: 13.81 MB / 0.4947 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2682, allocations: 7.938 kB / 0.4947 GB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.2708, allocations: 1.876 MB / 0.4966 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.2713, allocations: 337.9 kB / 0.4969 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.2714, allocations: 43.98 kB / 0.4969 GB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.2718, allocations: 55.97 kB / 0.497 GB, free: 280 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.2721, allocations: 125 kB / 0.4971 GB, free: 152 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.2721, allocations: 39.98 kB / 0.4971 GB, free: 112 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008993/0.273, allocations: 0.8291 MB / 0.4979 GB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.273, allocations: 0 / 0.4979 GB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001704/0.2747, allocations: 0.6015 MB / 0.4985 GB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (rmsI[3].mean.x,rmsI[2].mean.x,rmsI[1].mean.x,cStart.v,cRun.v,quadraticLoadTorque.phi,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.stator.core.Phi.im,imc.stator.core.Phi.re,imc.stator.zeroInductor.i0,imc.inertiaRotor.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,rmsI[2].mean.y_last,rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * 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,8,100.0%), (1,13,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.0002907/0.275, allocations: 173.4 kB / 0.4987 GB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.2772, allocations: 1.832 MB / 0.5005 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2772, allocations: 0 / 0.5005 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2786, allocations: 1.782 MB / 0.5022 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.2798, allocations: 489.3 kB / 0.5027 GB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008882/0.2887, allocations: 5.181 MB / 0.5077 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.2893, allocations: 0.7955 MB / 0.5085 GB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007002/0.29, allocations: 348 kB / 0.5089 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2902, allocations: 132.5 kB / 0.509 GB, free: 3.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2902, allocations: 3.938 kB / 0.509 GB, free: 3.691 MB / 362.7 MB Notification: Performance of Templates: time 0.03768/0.3279, allocations: 29.44 MB / 0.5377 GB, free: 6.746 MB / 394.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.9718419909477234]