Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05394/0.05394, allocations: 8.798 MB / 25.53 MB, free: 3.75 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 251.3 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 114.2 kB / 303.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 67.89 kB / 366 MB, free: 164 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2054, allocations: 51.56 MB / 417.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01115/0.2166, allocations: 12.99 MB / 430.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007398/0.2241, allocations: 4.275 MB / 434.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.2266, allocations: 87.62 kB / 434.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.2296, allocations: 0.9018 MB / 435.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.2347, allocations: 1.16 MB / 436.9 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.2372, allocations: 0.8066 MB / 437.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.2432, allocations: 4.369 MB / 442.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004857/0.2481, allocations: 2.927 MB / 445 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.2512, allocations: 1.553 MB / 446.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.2552, allocations: 1.961 MB / 448.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.2569, allocations: 319.9 kB / 448.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.2594, allocations: 0.5076 MB / 449.4 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.261, allocations: 0.9149 MB / 450.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004278/0.2653, allocations: 1.936 MB / 452.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.2743, allocations: 6.671 MB / 458.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.2744, allocations: 4 kB / 458.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2744, allocations: 0 / 458.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002693/0.2747, allocations: 0 / 458.9 MB, free: 11.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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01212/0.2868, allocations: 4.426 MB / 463.3 MB, free: 6.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2869, allocations: 15.88 kB / 463.3 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.2909, allocations: 0.824 MB / 464.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/0.2959, allocations: 2.364 MB / 466.5 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.2961, allocations: 247.1 kB / 466.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007688/0.2969, allocations: 344 kB / 467.1 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.3042, allocations: 4.508 MB / 471.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-05/0.3043, allocations: 3.938 kB / 471.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.3046, allocations: 136 kB / 471.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.3048, allocations: 158.7 kB / 471.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006658/0.3114, allocations: 3.805 MB / 475.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/0.334, allocations: 14.19 MB / 489.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006064/0.3402, allocations: 6.146 MB / 496.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.3422, allocations: 1.196 MB / 497.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.3481, allocations: 3.325 MB / 0.4888 GB, free: 168 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3481, allocations: 51.56 kB / 0.4889 GB, free: 104 kB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 3.777e-06/0.3482, allocations: 3.938 kB / 0.4889 GB, free: 100 kB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.212/0.5601, allocations: 5.234 MB / 0.494 GB, free: 67.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.5602, allocations: 68.28 kB / 0.4941 GB, free: 67.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.5625, allocations: 1.674 MB / 0.4957 GB, free: 66.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.5626, allocations: 46.14 kB / 0.4957 GB, free: 66.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.5635, allocations: 1.49 MB / 0.4972 GB, free: 65.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.5637, allocations: 420.8 kB / 0.4976 GB, free: 65.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.5642, allocations: 294.5 kB / 0.4979 GB, free: 65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.5643, allocations: 301.1 kB / 0.4982 GB, free: 64.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009851/0.5652, allocations: 0.6282 MB / 0.4988 GB, free: 64.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.5665, allocations: 1.127 MB / 0.4999 GB, free: 63.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.5687, allocations: 1.872 MB / 0.5017 GB, free: 62.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.5688, allocations: 4.594 kB / 0.5017 GB, free: 62.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003585/0.5724, allocations: 2.196 MB / 0.5039 GB, free: 61.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5724, allocations: 11.88 kB / 0.5039 GB, free: 61.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.5724, allocations: 15.81 kB / 0.5039 GB, free: 61.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.5728, allocations: 132.2 kB / 0.504 GB, free: 61.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.5741, allocations: 392.3 kB / 0.5044 GB, free: 61.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.576, allocations: 3.082 MB / 0.5074 GB, free: 58.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.5772, allocations: 75.22 kB / 0.5075 GB, free: 58.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.5773, allocations: 66.28 kB / 0.5075 GB, free: 58.24 MB / 362.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.001509/0.5788, allocations: 1.045 MB / 0.5086 GB, free: 57.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.5791, allocations: 185.8 kB / 0.5087 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.5821, allocations: 2.041 MB / 0.5107 GB, free: 56.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5821, allocations: 11.72 kB / 0.5107 GB, free: 56.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5821, allocations: 7.75 kB / 0.5107 GB, free: 56.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5821, allocations: 7.641 kB / 0.5108 GB, free: 56.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/0.5883, allocations: 4.782 MB / 0.5154 GB, free: 53.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5883, allocations: 8.188 kB / 0.5154 GB, free: 53.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.589, allocations: 163.8 kB / 0.5156 GB, free: 52.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009822/0.59, allocations: 435.3 kB / 0.516 GB, free: 52.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.59, allocations: 35.98 kB / 0.516 GB, free: 52.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.597, allocations: 10.1 MB / 0.5259 GB, free: 41.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.597, allocations: 4.031 kB / 0.5259 GB, free: 41.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/0.6231, allocations: 24.09 MB / 0.5494 GB, free: 16.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.6236, allocations: 394.8 kB / 0.5498 GB, free: 16.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.6238, allocations: 28.12 kB / 0.5498 GB, free: 16.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.6245, allocations: 67.94 kB / 0.5499 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.6248, allocations: 88.92 kB / 0.55 GB, free: 16.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.6249, allocations: 43.91 kB / 0.55 GB, free: 16.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.6261, allocations: 1.154 MB / 0.5511 GB, free: 14.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6261, allocations: 0 / 0.5511 GB, free: 14.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002269/0.6284, allocations: 0.75 MB / 0.5519 GB, free: 14.15 MB / 362.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,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.0002546/0.6286, allocations: 153 kB / 0.552 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.6309, allocations: 1.835 MB / 0.5538 GB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6309, allocations: 0 / 0.5538 GB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.6326, allocations: 1.489 MB / 0.5553 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.6347, allocations: 0.5103 MB / 0.5558 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/0.6442, allocations: 8.735 MB / 0.5643 GB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.646, allocations: 2.402 MB / 0.5666 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001471/0.6475, allocations: 396 kB / 0.567 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6479, allocations: 123.4 kB / 0.5671 GB, free: 14.28 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6479, allocations: 4 kB / 0.5671 GB, free: 14.28 MB / 378.7 MB Notification: Performance of Templates: time 0.0521/0.7, allocations: 31.58 MB / 0.598 GB, free: 15.02 MB / 410.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1)