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.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 108.5 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 188.5 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03522/0.03522, allocations: 8.798 MB / 349.3 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 79.88 kB / 464.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08675, allocations: 51.56 MB / 0.5041 GB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01343/0.1002, allocations: 13.15 MB / 0.5169 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.1077, allocations: 4.333 MB / 0.5212 GB, free: 7.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1094, allocations: 83.69 kB / 0.5212 GB, free: 7.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.1119, allocations: 1.072 MB / 0.5223 GB, free: 6.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.1148, allocations: 1.331 MB / 0.5236 GB, free: 5.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1165, allocations: 0.8457 MB / 0.5244 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.1203, allocations: 4.04 MB / 0.5284 GB, free: 444 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1936/0.3139, allocations: 3.517 MB / 0.5318 GB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.3166, allocations: 1.93 MB / 0.5337 GB, free: 5.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.3189, allocations: 2.134 MB / 0.5358 GB, free: 5.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.3196, allocations: 0.5277 MB / 0.5363 GB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3209, allocations: 0.7207 MB / 0.537 GB, free: 5.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.3218, allocations: 1.146 MB / 0.5381 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.3241, allocations: 2.178 MB / 0.5402 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008319/0.3324, allocations: 6.886 MB / 0.547 GB, free: 3.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3324, allocations: 1.312 kB / 0.547 GB, free: 3.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3324, allocations: 0 / 0.547 GB, free: 3.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3326, allocations: 5.031 kB / 0.547 GB, free: 3.691 MB / 366.1 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.01054/0.3431, allocations: 4.444 MB / 0.5513 GB, free: 2.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3432, allocations: 8.656 kB / 0.5513 GB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.3475, allocations: 0.8176 MB / 0.5521 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.3512, allocations: 2.478 MB / 0.5545 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.3514, allocations: 253.3 kB / 0.5548 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005069/0.3519, allocations: 328.3 kB / 0.5551 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/0.3594, allocations: 4.518 MB / 0.5595 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.3595, allocations: 3.906 kB / 0.5595 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/0.3598, allocations: 146.9 kB / 0.5596 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.36, allocations: 157 kB / 0.5598 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/0.3661, allocations: 3.807 MB / 0.5635 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/0.385, allocations: 14.03 MB / 0.5772 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/0.3911, allocations: 6.143 MB / 0.5832 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.3929, allocations: 1.181 MB / 0.5844 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/0.3981, allocations: 3.295 MB / 0.5876 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3981, allocations: 43.56 kB / 0.5876 GB, free: 5.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.546e-06/0.3981, allocations: 0 / 0.5876 GB, free: 5.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.009962/0.4081, allocations: 5.228 MB / 0.5927 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4081, allocations: 68.41 kB / 0.5928 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.4104, allocations: 1.682 MB / 0.5944 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.4105, allocations: 49.64 kB / 0.5945 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008759/0.4114, allocations: 1.495 MB / 0.5959 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.4116, allocations: 412.7 kB / 0.5963 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.4121, allocations: 291.2 kB / 0.5966 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.4121, allocations: 305.1 kB / 0.5969 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009982/0.4131, allocations: 0.6247 MB / 0.5975 GB, free: 10.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.4145, allocations: 1.134 MB / 0.5986 GB, free: 9.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.4169, allocations: 1.867 MB / 0.6004 GB, free: 7.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4169, allocations: 4 kB / 0.6004 GB, free: 7.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003267/0.4202, allocations: 2.186 MB / 0.6026 GB, free: 5.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4202, allocations: 21.03 kB / 0.6026 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.4202, allocations: 19.98 kB / 0.6026 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.4206, allocations: 134.2 kB / 0.6027 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4221, allocations: 395.8 kB / 0.6031 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.4246, allocations: 3.358 MB / 0.6064 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4258, allocations: 75.81 kB / 0.6065 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.426, allocations: 71.98 kB / 0.6065 GB, free: 1.008 MB / 414.1 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.001719/0.4277, allocations: 1.037 MB / 0.6076 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.428, allocations: 177.8 kB / 0.6077 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.4314, allocations: 2.048 MB / 0.6097 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.4314, allocations: 7.969 kB / 0.6097 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4314, allocations: 0 / 0.6097 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.4322, allocations: 398.8 kB / 0.6101 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.4324, allocations: 28 kB / 0.6101 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.4332, allocations: 59.95 kB / 0.6102 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.4334, allocations: 100.8 kB / 0.6103 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004007/0.4374, allocations: 1.962 MB / 0.6122 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003081/0.4405, allocations: 2.255 MB / 0.6144 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008834/0.4414, allocations: 0.6285 MB / 0.615 GB, free: 8.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.443, allocations: 1.154 MB / 0.6162 GB, free: 7.125 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.443, allocations: 0 / 0.6162 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.4459, allocations: 1.545 MB / 0.6177 GB, free: 5.594 MB / 430.1 MB Notification: Performance of SimCode: time 0.008989/0.4549, allocations: 6.362 MB / 0.6239 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04794/0.5028, allocations: 31.14 MB / 0.6543 GB, free: 416 kB / 462.1 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)