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.001102/0.001102, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.087/1.087, allocations: 177.1 MB / 200.2 MB, free: 5.715 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.00137/0.00137, allocations: 152.7 kB / 256.9 MB, free: 12.98 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.02441/0.02441, allocations: 6.664 MB / 320.1 MB, free: 26.35 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.943e-06/1.943e-06, allocations: 0 / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.048e-05, allocations: 10.05 kB / 392.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01255/0.01258, allocations: 13.66 MB / 405.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.1933, allocations: 4.622 MB / 410.4 MB, free: 69.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.1959, allocations: 100.2 kB / 410.5 MB, free: 69.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.1993, allocations: 0.9954 MB / 411.5 MB, free: 69.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.2051, allocations: 1.36 MB / 412.8 MB, free: 69.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.208, allocations: 0.9307 MB / 413.8 MB, free: 69.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00682/0.2148, allocations: 4.442 MB / 418.2 MB, free: 68.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003295/0.2181, allocations: 1.724 MB / 419.9 MB, free: 67.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.2245, allocations: 2.914 MB / 422.8 MB, free: 66.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.2289, allocations: 1.943 MB / 424.8 MB, free: 65.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.2306, allocations: 0.5067 MB / 425.3 MB, free: 65.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.2334, allocations: 0.7136 MB / 426 MB, free: 65.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000895/0.2343, allocations: 1.146 MB / 427.1 MB, free: 65.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.2373, allocations: 1.471 MB / 428.6 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.242, allocations: 3.517 MB / 432.1 MB, free: 62.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.242, allocations: 3.094 kB / 432.1 MB, free: 62.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.242, allocations: 1.062 kB / 432.1 MB, free: 62.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002051/0.2422, allocations: 0 / 432.1 MB, free: 62.31 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.007979/0.2502, allocations: 6.042 MB / 438.2 MB, free: 57.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2502, allocations: 8.031 kB / 438.2 MB, free: 57.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.2528, allocations: 1.177 MB / 439.4 MB, free: 56.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.2555, allocations: 2.219 MB / 441.6 MB, free: 53.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2556, allocations: 245.1 kB / 441.8 MB, free: 53.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.2559, allocations: 339 kB / 442.1 MB, free: 53.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.2589, allocations: 2.425 MB / 444.6 MB, free: 50.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.2589, allocations: 7.078 kB / 444.6 MB, free: 50.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.2591, allocations: 140.5 kB / 444.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.13e-05/0.2592, allocations: 146.5 kB / 444.9 MB, free: 50.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.2606, allocations: 0.9539 MB / 445.8 MB, free: 49.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.2718, allocations: 11.07 MB / 456.9 MB, free: 39.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.2739, allocations: 1.889 MB / 458.8 MB, free: 37.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.2746, allocations: 0.6906 MB / 459.5 MB, free: 36.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003043/0.2776, allocations: 2.351 MB / 461.8 MB, free: 34.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/0.2782, allocations: 0.7355 MB / 462.6 MB, free: 33.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=143): time 3.206e-06/0.2782, allocations: 0 / 462.6 MB, free: 33.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.005874/0.2841, allocations: 3.067 MB / 465.6 MB, free: 30.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.2841, allocations: 226.9 kB / 465.8 MB, free: 30.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2854, allocations: 1.433 MB / 467.3 MB, free: 29.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.2854, allocations: 53.7 kB / 467.3 MB, free: 28.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/0.2863, allocations: 1.622 MB / 468.9 MB, free: 27.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.2865, allocations: 0.5353 MB / 469.5 MB, free: 26.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.2868, allocations: 382 kB / 469.9 MB, free: 26.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.2869, allocations: 476.8 kB / 470.3 MB, free: 26.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.2871, allocations: 199.8 kB / 470.5 MB, free: 25.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.2876, allocations: 1.294 MB / 471.8 MB, free: 24.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.2886, allocations: 1.418 MB / 473.2 MB, free: 22.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.2886, allocations: 8 kB / 473.2 MB, free: 22.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001729/0.2903, allocations: 1.56 MB / 474.8 MB, free: 21.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2903, allocations: 20.06 kB / 474.8 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.2903, allocations: 16 kB / 474.8 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.2909, allocations: 310 kB / 475.1 MB, free: 20.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.2916, allocations: 385.6 kB / 475.5 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.2948, allocations: 8.771 MB / 484.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.2959, allocations: 79.94 kB / 484.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.2959, allocations: 76.02 kB / 484.4 MB, free: 11.21 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.0007461/0.2967, allocations: 278.4 kB / 484.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.2969, allocations: 234.8 kB / 484.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2984, allocations: 1.276 MB / 486.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.2984, allocations: 20 kB / 486.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.2984, allocations: 11.98 kB / 486.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2984, allocations: 7.922 kB / 486.3 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.302, allocations: 2.946 MB / 489.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.302, allocations: 0 / 489.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.3024, allocations: 171.9 kB / 489.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008095/0.3032, allocations: 454.2 kB / 489.8 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.3033, allocations: 47.97 kB / 489.9 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/0.3102, allocations: 13.54 MB / 0.4916 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3102, allocations: 0 / 0.4916 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.313, allocations: 1.731 MB / 0.4933 GB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.3136, allocations: 314.6 kB / 0.4936 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.3138, allocations: 39.98 kB / 0.4936 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.3142, allocations: 55.97 kB / 0.4937 GB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.3145, allocations: 121 kB / 0.4938 GB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.3145, allocations: 31.98 kB / 0.4938 GB, free: 5.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007589/0.3153, allocations: 0.7569 MB / 0.4946 GB, free: 4.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3153, allocations: 4 kB / 0.4946 GB, free: 4.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001937/0.3172, allocations: 0.5937 MB / 0.4951 GB, free: 4.195 MB / 346.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.000305/0.3175, allocations: 186.3 kB / 0.4953 GB, free: 4.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3194, allocations: 1.73 MB / 0.497 GB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3194, allocations: 0 / 0.497 GB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3207, allocations: 1.725 MB / 0.4987 GB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3219, allocations: 487.5 kB / 0.4992 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/0.3301, allocations: 5.147 MB / 0.5042 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/0.331, allocations: 0.8033 MB / 0.505 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008268/0.3319, allocations: 248.2 kB / 0.5052 GB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.3326, allocations: 0.5291 MB / 0.5057 GB, free: 9.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3326, allocations: 0 / 0.5057 GB, free: 9.16 MB / 362.7 MB Notification: Performance of Templates: time 0.05106/0.3837, allocations: 31.61 MB / 0.5366 GB, free: 10.1 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: 4.119088875129819]