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.001847/0.001847, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.661/1.661, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 MB " [Timeout remaining time 178] 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.002254/0.002254, allocations: 164.6 kB / 256.3 MB, free: 13.16 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.03975/0.03975, allocations: 6.66 MB / 319.4 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.703e-06/1.703e-06, allocations: 0 / 390.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.326e-05, allocations: 6.25 kB / 390.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.02079/0.02083, allocations: 13.86 MB / 404.8 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.03283, allocations: 4.637 MB / 409.4 MB, free: 360 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.03599, allocations: 95.44 kB / 409.5 MB, free: 264 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1704/0.2064, allocations: 0.9962 MB / 410.5 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.2128, allocations: 1.36 MB / 411.9 MB, free: 69.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.216, allocations: 0.9509 MB / 412.8 MB, free: 69.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007541/0.2235, allocations: 4.432 MB / 417.3 MB, free: 68.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003296/0.2268, allocations: 1.733 MB / 419 MB, free: 67.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/0.2334, allocations: 2.907 MB / 421.9 MB, free: 66.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/0.2379, allocations: 1.918 MB / 423.8 MB, free: 65.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.2395, allocations: 0.5092 MB / 424.3 MB, free: 65.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.2424, allocations: 0.7198 MB / 425 MB, free: 65.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009327/0.2433, allocations: 1.141 MB / 426.2 MB, free: 64.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002741/0.2461, allocations: 1.478 MB / 427.7 MB, free: 64.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.2529, allocations: 6.852 MB / 434.5 MB, free: 59.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2529, allocations: 0 / 434.5 MB, free: 59.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2529, allocations: 0 / 434.5 MB, free: 59.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001706/0.2531, allocations: 0 / 434.5 MB, free: 59.45 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.01588/0.2689, allocations: 7.358 MB / 441.9 MB, free: 52.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.269, allocations: 8.031 kB / 441.9 MB, free: 52.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/0.2735, allocations: 1.25 MB / 443.1 MB, free: 51.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/0.2779, allocations: 2.373 MB / 445.5 MB, free: 48.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.278, allocations: 249.3 kB / 445.8 MB, free: 48.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/0.2785, allocations: 333.8 kB / 446.1 MB, free: 48.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007085/0.2856, allocations: 4.584 MB / 450.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-05/0.2857, allocations: 7.953 kB / 450.7 MB, free: 43.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.2859, allocations: 139.8 kB / 450.8 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.2861, allocations: 151.6 kB / 451 MB, free: 43.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004987/0.291, allocations: 3.245 MB / 454.2 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.315, allocations: 20.2 MB / 474.4 MB, free: 19.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.3196, allocations: 2.546 MB / 476.9 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.3216, allocations: 1.226 MB / 478.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006701/0.3283, allocations: 3.229 MB / 481.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.3295, allocations: 1.11 MB / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=143): time 3.516e-06/0.3295, allocations: 0 / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.01086/0.3404, allocations: 4.912 MB / 487.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.3405, allocations: 226.9 kB / 487.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.3431, allocations: 2.122 MB / 489.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.3433, allocations: 53.7 kB / 489.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.3445, allocations: 1.729 MB / 491.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.3449, allocations: 0.5736 MB / 492.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/0.3455, allocations: 465.1 kB / 492.6 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.3455, allocations: 476.8 kB / 493 MB, free: 480 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3468, allocations: 0.5817 MB / 493.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.3494, allocations: 1.76 MB / 495.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.353, allocations: 2.273 MB / 497.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.353, allocations: 8 kB / 497.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005357/0.3583, allocations: 2.416 MB / 0.4884 GB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3584, allocations: 12 kB / 0.4884 GB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.512e-05/0.3584, allocations: 20.34 kB / 0.4884 GB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.3598, allocations: 404.3 kB / 0.4888 GB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.3614, allocations: 394.1 kB / 0.4892 GB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.3727, allocations: 9.798 MB / 0.4987 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.3748, allocations: 98.42 kB / 0.4988 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.3751, allocations: 83.98 kB / 0.4989 GB, free: 13.65 MB / 362.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.002346/0.3774, allocations: 0.9733 MB / 0.4998 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/0.378, allocations: 234.8 kB / 0.5001 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.3824, allocations: 1.946 MB / 0.502 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.3824, allocations: 19.98 kB / 0.502 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.3824, allocations: 12 kB / 0.502 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.3825, allocations: 3.984 kB / 0.502 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.3945, allocations: 5.119 MB / 0.507 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3945, allocations: 4 kB / 0.507 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/0.3954, allocations: 178.5 kB / 0.5072 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.3976, allocations: 0.601 MB / 0.5078 GB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.3977, allocations: 39.98 kB / 0.5078 GB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.4161, allocations: 15.5 MB / 0.5229 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4161, allocations: 3.984 kB / 0.5229 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.4226, allocations: 2.87 MB / 0.5257 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.4239, allocations: 334.6 kB / 0.5261 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.4242, allocations: 39.98 kB / 0.5261 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.425, allocations: 59.95 kB / 0.5262 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/0.4254, allocations: 129 kB / 0.5263 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.4255, allocations: 39.98 kB / 0.5263 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002272/0.4278, allocations: 1.216 MB / 0.5275 GB, free: 15.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4278, allocations: 0 / 0.5275 GB, free: 15.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0033/0.4311, allocations: 0.5976 MB / 0.5281 GB, free: 15.05 MB / 394.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.0004838/0.4316, allocations: 176.6 kB / 0.5283 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004855/0.4364, allocations: 2.465 MB / 0.5307 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4364, allocations: 4.938 kB / 0.5307 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003653/0.4401, allocations: 2.057 MB / 0.5327 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.4429, allocations: 495.3 kB / 0.5332 GB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4563, allocations: 5.646 MB / 0.5387 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/0.459, allocations: 1.684 MB / 0.5403 GB, free: 2.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001455/0.4604, allocations: 348 kB / 0.5406 GB, free: 1.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.4608, allocations: 124.5 kB / 0.5408 GB, free: 1.781 MB / 394.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4608, allocations: 0 / 0.5408 GB, free: 1.781 MB / 394.7 MB Notification: Performance of Templates: time 0.2038/0.6645, allocations: 29.39 MB / 0.5695 GB, free: 109.4 MB / 394.7 MB " [Timeout remaining time 659] 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: 6.497919565998018]