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.001549/0.001549, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.9325/0.9325, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001871/0.001871, allocations: 156.6 kB / 257 MB, free: 12.97 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.0276/0.0276, allocations: 6.665 MB / 266.9 MB, free: 3.223 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.463e-06/1.463e-06, allocations: 0 / 285.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.71e-05, allocations: 9.766 kB / 285.7 MB, free: 500 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.1314/0.1314, allocations: 13.64 MB / 299.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007933/0.1393, allocations: 4.83 MB / 304.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.1406, allocations: 105.7 kB / 304.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1423, allocations: 1.017 MB / 305.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.1446, allocations: 1.369 MB / 306.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1457, allocations: 0.9479 MB / 307.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.1482, allocations: 4.452 MB / 312 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.1495, allocations: 1.777 MB / 313.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.1516, allocations: 2.92 MB / 316.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.1536, allocations: 1.941 MB / 318.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005025/0.1541, allocations: 0.5039 MB / 319.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.155, allocations: 0.7183 MB / 319.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006926/0.1557, allocations: 1.137 MB / 321 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.1568, allocations: 1.477 MB / 322.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.1602, allocations: 3.517 MB / 326 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1602, allocations: 0 / 326 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1602, allocations: 4 kB / 326 MB, free: 6.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.825e-05/0.1602, allocations: 0 / 326 MB, free: 6.164 MB / 282.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.00899/0.1692, allocations: 4.332 MB / 330.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1693, allocations: 12.03 kB / 330.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.173, allocations: 1.117 MB / 331.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.1783, allocations: 1.472 MB / 332.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.1786, allocations: 250.9 kB / 333.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.1802, allocations: 332.3 kB / 333.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005217/0.1854, allocations: 2.482 MB / 336 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-05/0.1854, allocations: 11.95 kB / 336 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.1857, allocations: 135.9 kB / 336.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.1858, allocations: 146.5 kB / 336.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.1874, allocations: 0.9625 MB / 337.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.199, allocations: 8.709 MB / 345.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.2011, allocations: 1.701 MB / 347.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007888/0.2019, allocations: 0.6324 MB / 348.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003201/0.2051, allocations: 1.879 MB / 350.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.2058, allocations: 0.7018 MB / 350.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 2.896e-06/0.2058, allocations: 0 / 350.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=146): time 0.004896/0.2107, allocations: 2.757 MB / 353.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.2107, allocations: 230.9 kB / 353.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2118, allocations: 1.2 MB / 355 MB, free: 8.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.2119, allocations: 57.69 kB / 355.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000737/0.2126, allocations: 1.284 MB / 356.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.2129, allocations: 0.5228 MB / 356.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.2132, allocations: 335.3 kB / 357.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.2133, allocations: 305.1 kB / 357.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.2136, allocations: 210.7 kB / 357.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.2141, allocations: 0.9872 MB / 358.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.2151, allocations: 1.186 MB / 359.9 MB, free: 2.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.2151, allocations: 4 kB / 359.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001564/0.2166, allocations: 1.271 MB / 361.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2167, allocations: 12 kB / 361.2 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.2167, allocations: 20 kB / 361.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.2173, allocations: 277.9 kB / 361.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.218, allocations: 383.4 kB / 361.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.2216, allocations: 6.43 MB / 368.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008533/0.2224, allocations: 87.97 kB / 368.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.2225, allocations: 67.98 kB / 368.4 MB, free: 9.965 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.0006497/0.2232, allocations: 236 kB / 368.7 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.2234, allocations: 159.8 kB / 368.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.2248, allocations: 1.062 MB / 369.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.2248, allocations: 19.94 kB / 369.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2248, allocations: 8 kB / 369.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2248, allocations: 3.984 kB / 369.9 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.2279, allocations: 2.237 MB / 372.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2279, allocations: 0 / 372.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.2283, allocations: 168 kB / 372.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/0.2291, allocations: 425 kB / 372.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.2292, allocations: 39.98 kB / 372.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.2347, allocations: 9.944 MB / 382.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2347, allocations: 0 / 382.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.2366, allocations: 1.438 MB / 384.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.2371, allocations: 198.7 kB / 384.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.2372, allocations: 47.92 kB / 384.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.2376, allocations: 55.97 kB / 384.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.2378, allocations: 117 kB / 384.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.2379, allocations: 36.05 kB / 384.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005815/0.2385, allocations: 0.5841 MB / 385.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2385, allocations: 0 / 385.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001603/0.2401, allocations: 0.5938 MB / 385.8 MB, free: 7.883 MB / 346.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.0002726/0.2403, allocations: 164.1 kB / 385.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2419, allocations: 1.42 MB / 387.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.222e-05/0.2419, allocations: 21.81 kB / 387.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.2431, allocations: 1.328 MB / 388.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.2442, allocations: 496.1 kB / 389.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.2507, allocations: 4.931 MB / 394.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.2513, allocations: 0.6472 MB / 394.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007068/0.252, allocations: 248.2 kB / 395 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/0.2527, allocations: 471.1 kB / 395.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2527, allocations: 0 / 395.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Templates: time 0.1644/0.4172, allocations: 31.6 MB / 427.1 MB, free: 102.1 MB / 378.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.566357101779431]