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.001304/0.001304, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.393/1.393, allocations: 177.2 MB / 199.4 MB, free: 8.43 MB / 190.1 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.001789/0.001789, allocations: 154 kB / 256 MB, free: 4.324 MB / 238.1 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.0398/0.0398, allocations: 6.666 MB / 319 MB, free: 5.379 MB / 302.1 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.072e-06/1.072e-06, allocations: 0 / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.584e-05, allocations: 2.281 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01038/0.0104, allocations: 12.49 MB / 458.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007761/0.01817, allocations: 4.501 MB / 462.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.02054, allocations: 99.38 kB / 463 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.02346, allocations: 1.001 MB / 464 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.02795, allocations: 1.343 MB / 465.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.03011, allocations: 0.945 MB / 466.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00419/0.0343, allocations: 4.446 MB / 470.7 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.03689, allocations: 1.715 MB / 472.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.0416, allocations: 2.889 MB / 475.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.04472, allocations: 1.761 MB / 477.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007965/0.04551, allocations: 0.5078 MB / 477.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.04709, allocations: 0.7183 MB / 478.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.04813, allocations: 1.126 MB / 479.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.0503, allocations: 1.458 MB / 480.9 MB, free: 6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2064/0.2567, allocations: 6.808 MB / 487.7 MB, free: 26.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2567, allocations: 0.5 kB / 487.7 MB, free: 26.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2567, allocations: 0 / 487.7 MB, free: 26.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.2569, allocations: 1.656 kB / 487.7 MB, free: 26.04 MB / 350.1 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.01458/0.2715, allocations: 5.395 MB / 493.1 MB, free: 24.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2715, allocations: 14.14 kB / 493.1 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.2765, allocations: 0.8327 MB / 494 MB, free: 24.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.2819, allocations: 2.389 MB / 496.3 MB, free: 23.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.2821, allocations: 249.2 kB / 496.6 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009238/0.283, allocations: 346.1 kB / 496.9 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/0.2916, allocations: 4.467 MB / 0.4896 GB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.65e-05/0.2917, allocations: 8.625 kB / 0.4896 GB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.292, allocations: 135.8 kB / 0.4898 GB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.2922, allocations: 156.9 kB / 0.4899 GB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006528/0.2987, allocations: 3.591 MB / 0.4934 GB, free: 21.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.3212, allocations: 11.82 MB / 0.505 GB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/0.3265, allocations: 2.677 MB / 0.5076 GB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.3287, allocations: 1.284 MB / 0.5088 GB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006482/0.3351, allocations: 3.094 MB / 0.5119 GB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.3365, allocations: 1.094 MB / 0.5129 GB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=143): time 5.33e-06/0.3365, allocations: 0 / 0.5129 GB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=146): time 0.0132/0.3497, allocations: 5.333 MB / 0.5181 GB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.3498, allocations: 222.9 kB / 0.5184 GB, free: 1.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.3527, allocations: 1.645 MB / 0.52 GB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.3529, allocations: 53.7 kB / 0.52 GB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.3548, allocations: 1.536 MB / 0.5215 GB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006575/0.3555, allocations: 0.513 MB / 0.522 GB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008061/0.3563, allocations: 347.5 kB / 0.5223 GB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3564, allocations: 301.1 kB / 0.5226 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3578, allocations: 0.6988 MB / 0.5233 GB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.3599, allocations: 1.547 MB / 0.5248 GB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.3633, allocations: 2.127 MB / 0.5269 GB, free: 8.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/0.3633, allocations: 8 kB / 0.5269 GB, free: 8.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005202/0.3685, allocations: 2.565 MB / 0.5294 GB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.3686, allocations: 12 kB / 0.5294 GB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/0.3686, allocations: 16 kB / 0.5294 GB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3698, allocations: 371.7 kB / 0.5298 GB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3713, allocations: 388.9 kB / 0.5302 GB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/0.3804, allocations: 7.829 MB / 0.5378 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.3822, allocations: 103.9 kB / 0.5379 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.3825, allocations: 79.98 kB / 0.538 GB, free: 12.66 MB / 382.1 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.002505/0.385, allocations: 1.042 MB / 0.539 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/0.3856, allocations: 186.8 kB / 0.5392 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.3904, allocations: 2.156 MB / 0.5413 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.3904, allocations: 19.98 kB / 0.5413 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-05/0.3905, allocations: 8 kB / 0.5413 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.3905, allocations: 7.984 kB / 0.5413 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009696/0.4002, allocations: 4.254 MB / 0.5455 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4002, allocations: 6.844 kB / 0.5455 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.401, allocations: 179 kB / 0.5457 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.4027, allocations: 0.5275 MB / 0.5462 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.4028, allocations: 47.97 kB / 0.5462 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.4173, allocations: 12.38 MB / 0.5583 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4173, allocations: 7.969 kB / 0.5583 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/0.424, allocations: 3.114 MB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.4254, allocations: 353.8 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006217/0.426, allocations: 43.98 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.4273, allocations: 59.95 kB / 0.5618 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/0.4277, allocations: 124.5 kB / 0.5619 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.4278, allocations: 43.98 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002282/0.4301, allocations: 1.091 MB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 0 / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002996/0.4331, allocations: 0.5976 MB / 0.5636 GB, free: 1.91 MB / 398.1 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.0006454/0.4338, allocations: 187.4 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004885/0.4387, allocations: 2.269 MB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.4387, allocations: 4 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00288/0.4415, allocations: 1.704 MB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.4446, allocations: 487 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.4568, allocations: 5.772 MB / 0.5738 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.4596, allocations: 1.797 MB / 0.5755 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001474/0.4611, allocations: 396 kB / 0.5759 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.4615, allocations: 124.5 kB / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4615, allocations: 0 / 0.576 GB, free: 5.086 MB / 414.1 MB Notification: Performance of Templates: time 0.05694/0.5185, allocations: 29.21 MB / 0.6045 GB, free: 8.367 MB / 446.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945602122694254] Failed to read output from testmodel.py, exit status != 0: 0.5273165367543697 0.5425213059999999 0.28263855899999996 Calling exit ...