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.00101/0.00101, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.054/1.054, allocations: 177.1 MB / 201 MB, free: 5.316 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.001732/0.001732, allocations: 156.6 kB / 257.7 MB, free: 12.81 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.02522/0.02522, allocations: 6.651 MB / 320.9 MB, free: 11.46 MB / 298.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.232e-06/1.232e-06, allocations: 0 / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.15e-05, allocations: 10.31 kB / 392.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01038/0.0104, allocations: 13.64 MB / 406.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.01644, allocations: 4.637 MB / 411.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.01723, allocations: 99.44 kB / 411.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.0188, allocations: 1.001 MB / 412.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.02068, allocations: 1.354 MB / 413.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.02178, allocations: 0.9272 MB / 414.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002743/0.02453, allocations: 4.442 MB / 419 MB, free: 9.137 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.02618, allocations: 1.726 MB / 420.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.02841, allocations: 2.916 MB / 423.6 MB, free: 4.418 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.0301, allocations: 1.941 MB / 425.6 MB, free: 2.473 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.03048, allocations: 0.5078 MB / 426.1 MB, free: 1.965 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.03122, allocations: 0.7105 MB / 426.8 MB, free: 1.254 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008575/0.03207, allocations: 1.145 MB / 427.9 MB, free: 108 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009956/0.03307, allocations: 1.473 MB / 429.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.03558, allocations: 3.516 MB / 432.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.03558, allocations: 0 / 432.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.03558, allocations: 0 / 432.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.03561, allocations: 0 / 432.9 MB, free: 11.1 MB / 410.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.006375/0.04198, allocations: 6.036 MB / 439 MB, free: 4.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.04201, allocations: 12.03 kB / 439 MB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.04441, allocations: 1.177 MB / 440.1 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.04681, allocations: 2.228 MB / 442.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.04693, allocations: 242.9 kB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.04725, allocations: 340.3 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1315/0.1788, allocations: 2.419 MB / 445.4 MB, free: 138.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.585e-05/0.1789, allocations: 7.844 kB / 445.4 MB, free: 138.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.1791, allocations: 132.6 kB / 445.5 MB, free: 138.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.1793, allocations: 149.7 kB / 445.6 MB, free: 138.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.1817, allocations: 0.9519 MB / 446.6 MB, free: 138.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.1961, allocations: 11.07 MB / 457.7 MB, free: 135.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.1992, allocations: 1.883 MB / 459.5 MB, free: 134.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.2002, allocations: 0.6897 MB / 460.2 MB, free: 134.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003356/0.2036, allocations: 2.345 MB / 462.6 MB, free: 133.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/0.2043, allocations: 0.7288 MB / 463.3 MB, free: 133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 3.176e-06/0.2043, allocations: 0 / 463.3 MB, free: 133 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.005937/0.2102, allocations: 3.076 MB / 466.4 MB, free: 132 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.2103, allocations: 224.3 kB / 466.6 MB, free: 131.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.2116, allocations: 1.428 MB / 468 MB, free: 131.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.2117, allocations: 59.42 kB / 468.1 MB, free: 131.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008237/0.2125, allocations: 1.625 MB / 469.7 MB, free: 130.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.2128, allocations: 0.5397 MB / 470.3 MB, free: 130 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.2133, allocations: 385.2 kB / 470.6 MB, free: 129.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.2133, allocations: 476.8 kB / 471.1 MB, free: 129.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.2136, allocations: 196.8 kB / 471.3 MB, free: 129.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.2143, allocations: 1.288 MB / 472.6 MB, free: 127.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.2154, allocations: 1.419 MB / 474 MB, free: 126.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.2154, allocations: 10.31 kB / 474 MB, free: 126.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001952/0.2173, allocations: 1.557 MB / 475.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2174, allocations: 14.19 kB / 475.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.2174, allocations: 26.09 kB / 475.6 MB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006573/0.218, allocations: 311.9 kB / 475.9 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.219, allocations: 390 kB / 476.3 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/0.2227, allocations: 8.753 MB / 485 MB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.2233, allocations: 88 kB / 485.1 MB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.2234, allocations: 67.98 kB / 485.2 MB, free: 116.7 MB / 410.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.0004241/0.2238, allocations: 286.6 kB / 485.5 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.224, allocations: 238.8 kB / 485.7 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2254, allocations: 1.273 MB / 487 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2254, allocations: 12.88 kB / 487 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2254, allocations: 8 kB / 487 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.2254, allocations: 7.969 kB / 487 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.2286, allocations: 2.958 MB / 490 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2286, allocations: 0 / 490 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.229, allocations: 167.3 kB / 490.1 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008405/0.2298, allocations: 456.6 kB / 490.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.2299, allocations: 39.98 kB / 490.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.2348, allocations: 13.52 MB / 0.4923 GB, free: 97.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2348, allocations: 7.688 kB / 0.4923 GB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2366, allocations: 1.731 MB / 0.494 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.237, allocations: 310.6 kB / 0.4943 GB, free: 95.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.2371, allocations: 43.98 kB / 0.4944 GB, free: 95.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.2375, allocations: 51.92 kB / 0.4944 GB, free: 95.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.2377, allocations: 120.6 kB / 0.4945 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.2378, allocations: 39.97 kB / 0.4946 GB, free: 95.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005329/0.2383, allocations: 0.7471 MB / 0.4953 GB, free: 94.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2383, allocations: 1.969 kB / 0.4953 GB, free: 94.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001584/0.2399, allocations: 0.6015 MB / 0.4959 GB, free: 93.93 MB / 410.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.0002715/0.2401, allocations: 187.1 kB / 0.4961 GB, free: 93.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2415, allocations: 1.723 MB / 0.4977 GB, free: 92.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2415, allocations: 0 / 0.4977 GB, free: 92.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.2425, allocations: 1.724 MB / 0.4994 GB, free: 90.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.2436, allocations: 492.5 kB / 0.4999 GB, free: 89.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.2489, allocations: 5.165 MB / 0.5049 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.2495, allocations: 0.7995 MB / 0.5057 GB, free: 83.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005299/0.25, allocations: 248.2 kB / 0.506 GB, free: 83.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.2506, allocations: 0.5292 MB / 0.5065 GB, free: 83.01 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2506, allocations: 4 kB / 0.5065 GB, free: 83 MB / 410.7 MB Notification: Performance of Templates: time 0.03607/0.2867, allocations: 32.12 MB / 0.5378 GB, free: 51.43 MB / 410.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.9151515061967075]