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.000892/0.000892, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.015/1.015, allocations: 177.2 MB / 200.5 MB, free: 5.816 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.002021/0.002021, allocations: 164.5 kB / 257 MB, free: 13.19 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.04033/0.04033, allocations: 6.663 MB / 320.1 MB, free: 26.57 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_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.613e-06/1.613e-06, allocations: 0 / 391.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.695e-05, allocations: 2.312 kB / 391.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0162/0.01622, allocations: 13.5 MB / 405.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009525/0.02575, allocations: 4.525 MB / 409.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.02763, allocations: 111.3 kB / 409.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.151/0.1786, allocations: 1.038 MB / 410.8 MB, free: 69.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.1827, allocations: 1.328 MB / 412.2 MB, free: 69.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1845, allocations: 0.9127 MB / 413.1 MB, free: 69.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.1889, allocations: 4.276 MB / 417.4 MB, free: 68.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.1915, allocations: 1.905 MB / 419.3 MB, free: 67.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.1951, allocations: 2.94 MB / 422.2 MB, free: 66.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.1978, allocations: 1.994 MB / 424.2 MB, free: 65.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.1989, allocations: 0.5229 MB / 424.7 MB, free: 65.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.2001, allocations: 0.7336 MB / 425.5 MB, free: 65.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000621/0.2007, allocations: 1.194 MB / 426.7 MB, free: 65.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.2023, allocations: 1.496 MB / 428.1 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.2052, allocations: 3.566 MB / 431.7 MB, free: 62.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2052, allocations: 0 / 431.7 MB, free: 62.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2052, allocations: 0.9375 kB / 431.7 MB, free: 62.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.2054, allocations: 0 / 431.7 MB, free: 62.59 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.005801/0.2112, allocations: 4.708 MB / 436.4 MB, free: 58.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2112, allocations: 12.02 kB / 436.4 MB, free: 58.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.2148, allocations: 1.259 MB / 437.7 MB, free: 57.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.218, allocations: 2.362 MB / 440.1 MB, free: 55.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.2181, allocations: 247.1 kB / 440.3 MB, free: 55.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/0.2186, allocations: 345.2 kB / 440.6 MB, free: 54.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005248/0.2238, allocations: 2.681 MB / 443.3 MB, free: 51.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.94e-05/0.2239, allocations: 11.42 kB / 443.3 MB, free: 51.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.2242, allocations: 145.8 kB / 443.5 MB, free: 51.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.2244, allocations: 156 kB / 443.6 MB, free: 51.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.2282, allocations: 1.257 MB / 444.9 MB, free: 50.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.2388, allocations: 11.34 MB / 456.2 MB, free: 38.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.2412, allocations: 1.815 MB / 458 MB, free: 37.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008284/0.242, allocations: 0.6359 MB / 458.7 MB, free: 36.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/0.2443, allocations: 2.188 MB / 460.9 MB, free: 34.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2444, allocations: 50.38 kB / 460.9 MB, free: 34.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.285e-06/0.2444, allocations: 2.438 kB / 460.9 MB, free: 34.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.004474/0.2488, allocations: 3.16 MB / 464.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2489, allocations: 64.41 kB / 464.1 MB, free: 31.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2499, allocations: 1.35 MB / 465.5 MB, free: 29.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.25, allocations: 49.69 kB / 465.5 MB, free: 29.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.2505, allocations: 1.622 MB / 467.2 MB, free: 28.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2507, allocations: 454.3 kB / 467.6 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.251, allocations: 309.1 kB / 467.9 MB, free: 27.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/0.251, allocations: 480.8 kB / 468.4 MB, free: 26.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.2514, allocations: 234.8 kB / 468.6 MB, free: 26.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.2521, allocations: 0.9774 MB / 469.6 MB, free: 25.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.2533, allocations: 1.3 MB / 470.9 MB, free: 23.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2533, allocations: 4 kB / 470.9 MB, free: 23.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001569/0.2549, allocations: 1.373 MB / 472.3 MB, free: 22.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2549, allocations: 12 kB / 472.3 MB, free: 22.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2549, allocations: 19.94 kB / 472.3 MB, free: 22.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.2551, allocations: 115.4 kB / 472.4 MB, free: 22.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.2559, allocations: 391 kB / 472.8 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.2571, allocations: 3.909 MB / 476.7 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.2576, allocations: 67.92 kB / 476.8 MB, free: 17.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.2576, allocations: 72 kB / 476.8 MB, free: 17.78 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.000481/0.2581, allocations: 265 kB / 477.1 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2583, allocations: 218.8 kB / 477.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2597, allocations: 1.178 MB / 478.5 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2597, allocations: 12 kB / 478.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2597, allocations: 4 kB / 478.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2597, allocations: 11.97 kB / 478.5 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.2631, allocations: 3.363 MB / 481.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2631, allocations: 8.312 kB / 481.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.2635, allocations: 158.6 kB / 482 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007974/0.2643, allocations: 395.1 kB / 482.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.2643, allocations: 35.98 kB / 482.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.2687, allocations: 11.43 MB / 493.9 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2687, allocations: 4 kB / 493.9 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.2707, allocations: 1.606 MB / 495.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.2711, allocations: 294.8 kB / 495.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.2714, allocations: 35.94 kB / 495.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.2717, allocations: 56 kB / 495.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.2719, allocations: 108.2 kB / 496 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.2719, allocations: 36.12 kB / 496 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007681/0.2727, allocations: 0.7637 MB / 496.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2727, allocations: 0 / 496.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001385/0.2741, allocations: 0.5546 MB / 497.3 MB, free: 12.67 MB / 346.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.0002473/0.2743, allocations: 158.4 kB / 497.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.2757, allocations: 1.202 MB / 498.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2757, allocations: 0 / 498.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.2769, allocations: 1.47 MB / 0.4884 GB, free: 9.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.278, allocations: 464.8 kB / 0.4889 GB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.284, allocations: 5.001 MB / 0.4938 GB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.2847, allocations: 0.8067 MB / 0.4945 GB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006719/0.2853, allocations: 326.6 kB / 0.4949 GB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.2855, allocations: 116.5 kB / 0.495 GB, free: 3.035 MB / 346.7 MB Notification: Performance of SimCode: time 2.294e-06/0.2855, allocations: 0 / 0.495 GB, free: 3.035 MB / 346.7 MB Notification: Performance of Templates: time 0.03242/0.318, allocations: 25.58 MB / 0.5199 GB, free: 9.918 MB / 378.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.8848441638983786]