Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.0008455/0.0008455, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.002029, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9895/0.9895, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1682/1.158, allocations: 53.64 MB / 241.9 MB, free: 2.738 MB / 234.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.0007713/0.0007713, allocations: 144.8 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009615/0.001733, allocations: 477.3 kB / 243.2 MB, free: 1.426 MB / 234.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.02457/0.02457, allocations: 6.665 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004717/0.02928, allocations: 2.659 MB / 253.3 MB, free: 7.566 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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 254.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.906e-05, allocations: 4.703 kB / 254.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01678/0.0168, allocations: 13.34 MB / 267.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.02957, allocations: 4.717 MB / 272.6 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.03157, allocations: 111.3 kB / 272.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.03342, allocations: 1.079 MB / 273.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.03595, allocations: 1.327 MB / 275.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.03731, allocations: 0.8921 MB / 276 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.04077, allocations: 4.301 MB / 280.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.04246, allocations: 1.957 MB / 282.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.04532, allocations: 3.178 MB / 285.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.04725, allocations: 2.007 MB / 287.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.04765, allocations: 0.5234 MB / 288 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.04862, allocations: 0.7417 MB / 288.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.04927, allocations: 0.9624 MB / 289.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.05036, allocations: 1.248 MB / 291 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.05344, allocations: 3.372 MB / 294.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.05346, allocations: 0 / 294.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05346, allocations: 0 / 294.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.56e-05/0.05349, allocations: 0 / 294.3 MB, free: 14.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.005349/0.05884, allocations: 5.15 MB / 299.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.05889, allocations: 12.03 kB / 299.5 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.06152, allocations: 1.12 MB / 300.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.06343, allocations: 1.494 MB / 302.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.06355, allocations: 247.1 kB / 302.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.06385, allocations: 340.3 kB / 302.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.06639, allocations: 2.543 MB / 305.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.06644, allocations: 3.953 kB / 305.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.06663, allocations: 140 kB / 305.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.06673, allocations: 158.7 kB / 305.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.06813, allocations: 0.9885 MB / 306.5 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009053/0.07719, allocations: 9.05 MB / 315.6 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.07905, allocations: 1.537 MB / 317.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.07963, allocations: 0.5173 MB / 317.6 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.08178, allocations: 1.692 MB / 319.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.08181, allocations: 43.56 kB / 319.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 2.795e-06/0.08182, allocations: 0 / 319.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=118): time 0.004085/0.0859, allocations: 2.394 MB / 321.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.08594, allocations: 64.41 kB / 321.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.08676, allocations: 1.109 MB / 322.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.08681, allocations: 45.7 kB / 323 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.08743, allocations: 1.35 MB / 324.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.08765, allocations: 440.2 kB / 324.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.08791, allocations: 283.3 kB / 325 MB, free: 14.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.08799, allocations: 301.1 kB / 325.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.08822, allocations: 182.7 kB / 325.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.08875, allocations: 0.6874 MB / 326.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.08964, allocations: 1.007 MB / 327.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.08964, allocations: 4 kB / 327.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001083/0.09072, allocations: 0.9904 MB / 328.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.09075, allocations: 15.94 kB / 328.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.09077, allocations: 16 kB / 328.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.09099, allocations: 94.89 kB / 328.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.09211, allocations: 469.2 kB / 328.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.09363, allocations: 2.759 MB / 331.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.09404, allocations: 51.95 kB / 331.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.0941, allocations: 63.92 kB / 331.6 MB, free: 7.555 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000395/0.0945, allocations: 220.3 kB / 331.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.09464, allocations: 139.7 kB / 332 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.09579, allocations: 0.907 MB / 332.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.0958, allocations: 16 kB / 332.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.0958, allocations: 8 kB / 332.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.09581, allocations: 7.969 kB / 332.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.09821, allocations: 2.059 MB / 335 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.09822, allocations: 4 kB / 335 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.09864, allocations: 179.9 kB / 335.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.09891, allocations: 182.9 kB / 335.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/0.09972, allocations: 343.6 kB / 335.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.09978, allocations: 35.97 kB / 335.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1512/0.251, allocations: 8.235 MB / 343.9 MB, free: 49.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.251, allocations: 4.641 kB / 344 MB, free: 49.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.2529, allocations: 1.232 MB / 345.2 MB, free: 49.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.2531, allocations: 30.81 kB / 345.2 MB, free: 49.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.2535, allocations: 49.33 kB / 345.3 MB, free: 49.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.2538, allocations: 106.2 kB / 345.4 MB, free: 49.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.2538, allocations: 26.62 kB / 345.4 MB, free: 49.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007966/0.2546, allocations: 0.5416 MB / 345.9 MB, free: 49.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2546, allocations: 3.375 kB / 345.9 MB, free: 49.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001747/0.2564, allocations: 0.5421 MB / 346.5 MB, free: 49.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (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,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,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.0002953/0.2567, allocations: 148.3 kB / 346.6 MB, free: 49.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.2579, allocations: 0.931 MB / 347.6 MB, free: 49.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.052e-05/0.2579, allocations: 31.67 kB / 347.6 MB, free: 49.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009505/0.2589, allocations: 1.098 MB / 348.7 MB, free: 48.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.26, allocations: 0.5817 MB / 349.3 MB, free: 48.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.2797, allocations: 5.043 MB / 354.3 MB, free: 46.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2803, allocations: 0.6615 MB / 355 MB, free: 46.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006362/0.281, allocations: 237.3 kB / 355.2 MB, free: 46.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/0.2816, allocations: 448.6 kB / 355.6 MB, free: 46.34 MB / 330.7 MB Notification: Performance of SimCode: time 3.767e-06/0.2816, allocations: 0 / 355.6 MB, free: 46.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03377/0.3154, allocations: 29.12 MB / 384.8 MB, free: 26.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3216393375769258]