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/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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 182.8 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.03829/0.03829, allocations: 8.794 MB / 25.53 MB, free: 3.738 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.388/1.388, allocations: 222.9 MB / 251.3 MB, free: 7.492 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.001016/0.001016, allocations: 96.86 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 366 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.221, allocations: 51.54 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01081/0.2318, allocations: 13.01 MB / 430.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008411/0.2403, allocations: 4.277 MB / 434.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.2435, allocations: 83.62 kB / 434.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003089/0.2466, allocations: 0.9057 MB / 435.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.2509, allocations: 1.158 MB / 437 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.2531, allocations: 0.8026 MB / 437.8 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00621/0.2594, allocations: 4.376 MB / 442.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.2631, allocations: 2.92 MB / 445.1 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.2656, allocations: 1.545 MB / 446.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.2688, allocations: 1.965 MB / 448.6 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009916/0.2698, allocations: 316 kB / 448.9 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.2716, allocations: 0.5114 MB / 449.4 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008922/0.2725, allocations: 0.9149 MB / 450.3 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.2753, allocations: 1.932 MB / 452.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.2822, allocations: 6.671 MB / 458.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.2822, allocations: 3.938 kB / 458.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2822, allocations: 3.938 kB / 458.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001766/0.2824, allocations: 0 / 458.9 MB, free: 11.32 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.01213/0.2945, allocations: 4.434 MB / 463.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2946, allocations: 8.031 kB / 463.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.2986, allocations: 0.8318 MB / 464.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/0.3031, allocations: 2.352 MB / 466.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.3033, allocations: 255.1 kB / 466.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/0.3039, allocations: 340 kB / 467.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007908/0.3118, allocations: 4.504 MB / 471.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/0.3119, allocations: 3.938 kB / 471.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.3122, allocations: 136 kB / 471.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3124, allocations: 158.7 kB / 471.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/0.3193, allocations: 3.813 MB / 475.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.3439, allocations: 14.19 MB / 489.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00585/0.3498, allocations: 6.152 MB / 496.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.3518, allocations: 1.201 MB / 497.3 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005483/0.3573, allocations: 3.321 MB / 0.4889 GB, free: 164 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3573, allocations: 43.56 kB / 0.4889 GB, free: 108 kB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 3.046e-06/0.3573, allocations: 0 / 0.4889 GB, free: 108 kB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.201/0.5583, allocations: 5.237 MB / 0.494 GB, free: 67.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.5584, allocations: 64.16 kB / 0.4941 GB, free: 67.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5604, allocations: 1.679 MB / 0.4957 GB, free: 66.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.5605, allocations: 45.64 kB / 0.4958 GB, free: 66.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000779/0.5613, allocations: 1.491 MB / 0.4972 GB, free: 65.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.5615, allocations: 417.2 kB / 0.4976 GB, free: 65.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.5619, allocations: 293.2 kB / 0.4979 GB, free: 65.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.5619, allocations: 302.4 kB / 0.4982 GB, free: 64.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/0.5628, allocations: 0.6251 MB / 0.4988 GB, free: 64.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5639, allocations: 1.131 MB / 0.4999 GB, free: 63.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.5659, allocations: 1.873 MB / 0.5017 GB, free: 62.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5659, allocations: 8.5 kB / 0.5017 GB, free: 62.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00305/0.569, allocations: 2.193 MB / 0.5039 GB, free: 61.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.569, allocations: 11.91 kB / 0.5039 GB, free: 61.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5691, allocations: 15.72 kB / 0.5039 GB, free: 61.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.5694, allocations: 132.5 kB / 0.504 GB, free: 61.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5706, allocations: 395.6 kB / 0.5044 GB, free: 61.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.5725, allocations: 3.082 MB / 0.5074 GB, free: 58.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5735, allocations: 70.42 kB / 0.5075 GB, free: 58.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.5736, allocations: 71.19 kB / 0.5076 GB, free: 58.29 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.001294/0.5749, allocations: 1.04 MB / 0.5086 GB, free: 57.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.5751, allocations: 184.2 kB / 0.5087 GB, free: 57.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.5782, allocations: 2.041 MB / 0.5107 GB, free: 56.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5782, allocations: 11.41 kB / 0.5107 GB, free: 56.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5782, allocations: 11.25 kB / 0.5108 GB, free: 56.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5782, allocations: 8.578 kB / 0.5108 GB, free: 56.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.5843, allocations: 4.784 MB / 0.5154 GB, free: 53.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5844, allocations: 0 / 0.5154 GB, free: 53.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.585, allocations: 164 kB / 0.5156 GB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009469/0.586, allocations: 441.8 kB / 0.516 GB, free: 52.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.586, allocations: 42.33 kB / 0.5161 GB, free: 52.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.5926, allocations: 10.09 MB / 0.5259 GB, free: 41.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5926, allocations: 0 / 0.5259 GB, free: 41.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/0.6176, allocations: 24.1 MB / 0.5494 GB, free: 16.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.6182, allocations: 395 kB / 0.5498 GB, free: 16.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.6184, allocations: 31.98 kB / 0.5498 GB, free: 16.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.6192, allocations: 59.95 kB / 0.5499 GB, free: 16.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.6194, allocations: 92.86 kB / 0.55 GB, free: 16.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.6195, allocations: 39.94 kB / 0.55 GB, free: 16.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001343/0.6208, allocations: 1.154 MB / 0.5512 GB, free: 14.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6208, allocations: 0 / 0.5512 GB, free: 14.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002402/0.6232, allocations: 0.75 MB / 0.5519 GB, free: 14.17 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.0002495/0.6235, allocations: 154.3 kB / 0.552 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.6259, allocations: 1.833 MB / 0.5538 GB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6259, allocations: 4 kB / 0.5538 GB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.6276, allocations: 1.485 MB / 0.5553 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.6296, allocations: 0.5018 MB / 0.5558 GB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009245/0.6389, allocations: 8.743 MB / 0.5643 GB, free: 1.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.6407, allocations: 2.402 MB / 0.5667 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001384/0.6421, allocations: 396 kB / 0.567 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.6424, allocations: 127.4 kB / 0.5672 GB, free: 14.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.92e-07/0.6424, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 378.7 MB Notification: Performance of Templates: time 0.04962/0.692, allocations: 31.58 MB / 0.598 GB, free: 15.03 MB / 410.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1)