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.001112/0.001112, allocations: 114.7 kB / 16.42 MB, free: 6.469 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.32/1.32, allocations: 222.9 MB / 240.1 MB, free: 4.359 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.00127/0.00127, allocations: 184.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.03588/0.03588, allocations: 8.81 MB / 349.3 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 75.88 kB / 464.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08094, allocations: 51.56 MB / 0.5041 GB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0134/0.09437, allocations: 13.16 MB / 0.5169 GB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.1011, allocations: 4.325 MB / 0.5212 GB, free: 7.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.102, allocations: 83.69 kB / 0.5212 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.104, allocations: 1.025 MB / 0.5222 GB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.1065, allocations: 1.297 MB / 0.5235 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1081, allocations: 0.8561 MB / 0.5243 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.1117, allocations: 4.031 MB / 0.5283 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1759/0.2876, allocations: 3.517 MB / 0.5317 GB, free: 5.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.2899, allocations: 1.936 MB / 0.5336 GB, free: 5.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.2926, allocations: 2.13 MB / 0.5357 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007753/0.2933, allocations: 0.5263 MB / 0.5362 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2947, allocations: 0.7187 MB / 0.5369 GB, free: 5.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007512/0.2955, allocations: 1.146 MB / 0.538 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.2974, allocations: 2.18 MB / 0.5401 GB, free: 4.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.3042, allocations: 6.889 MB / 0.5469 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3042, allocations: 0 / 0.5469 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3042, allocations: 4.938 kB / 0.5469 GB, free: 3.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001415/0.3044, allocations: 0 / 0.5469 GB, free: 3.703 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.01073/0.3151, allocations: 4.443 MB / 0.5512 GB, free: 2.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3152, allocations: 8.938 kB / 0.5512 GB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004367/0.3196, allocations: 0.8194 MB / 0.552 GB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.3231, allocations: 2.479 MB / 0.5544 GB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.3233, allocations: 245.4 kB / 0.5547 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.3238, allocations: 333.4 kB / 0.555 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007297/0.3311, allocations: 4.517 MB / 0.5594 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.3312, allocations: 5 kB / 0.5594 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.3316, allocations: 136.8 kB / 0.5595 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.3317, allocations: 159.7 kB / 0.5597 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.3376, allocations: 3.812 MB / 0.5634 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.3557, allocations: 14.01 MB / 0.5771 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006/0.3617, allocations: 6.151 MB / 0.5831 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.3636, allocations: 1.183 MB / 0.5843 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004808/0.3684, allocations: 3.293 MB / 0.5875 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.3684, allocations: 55.55 kB / 0.5875 GB, free: 5.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.875e-06/0.3685, allocations: 3.656 kB / 0.5875 GB, free: 5.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.009913/0.3784, allocations: 5.218 MB / 0.5926 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.3784, allocations: 64.41 kB / 0.5927 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.3806, allocations: 1.686 MB / 0.5943 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.3807, allocations: 45.7 kB / 0.5944 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000948/0.3816, allocations: 1.499 MB / 0.5958 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.3819, allocations: 419.5 kB / 0.5962 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.3824, allocations: 291.2 kB / 0.5965 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.3825, allocations: 301.1 kB / 0.5968 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3835, allocations: 0.6247 MB / 0.5974 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3849, allocations: 1.137 MB / 0.5985 GB, free: 9.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.3874, allocations: 1.871 MB / 0.6004 GB, free: 7.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3874, allocations: 4 kB / 0.6004 GB, free: 7.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003365/0.3908, allocations: 2.188 MB / 0.6025 GB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3908, allocations: 12 kB / 0.6025 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3908, allocations: 16 kB / 0.6025 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.3912, allocations: 133.1 kB / 0.6027 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.3927, allocations: 400.2 kB / 0.603 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.3953, allocations: 3.354 MB / 0.6063 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3964, allocations: 83.77 kB / 0.6064 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.3966, allocations: 70.62 kB / 0.6065 GB, free: 1.094 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.001604/0.3982, allocations: 1.04 MB / 0.6075 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.3984, allocations: 173.9 kB / 0.6076 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.4021, allocations: 2.05 MB / 0.6096 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4021, allocations: 10.59 kB / 0.6097 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4021, allocations: 4 kB / 0.6097 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.4027, allocations: 390.8 kB / 0.61 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.4029, allocations: 24 kB / 0.6101 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/0.4038, allocations: 59.95 kB / 0.6101 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.404, allocations: 104.8 kB / 0.6102 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004148/0.4081, allocations: 1.962 MB / 0.6121 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003348/0.4115, allocations: 2.248 MB / 0.6143 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009351/0.4124, allocations: 0.6311 MB / 0.6149 GB, free: 8.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.4141, allocations: 1.15 MB / 0.6161 GB, free: 7.219 MB / 430.1 MB Notification: Performance of Backend: time 3.9e-07/0.4141, allocations: 0 / 0.6161 GB, free: 7.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.4172, allocations: 1.546 MB / 0.6176 GB, free: 5.684 MB / 430.1 MB Notification: Performance of SimCode: time 0.01035/0.4276, allocations: 6.357 MB / 0.6238 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04947/0.477, allocations: 31.14 MB / 0.6542 GB, free: 0.5039 MB / 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)