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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 114.1 kB / 16.42 MB, free: 6.504 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.355/1.355, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001616/0.001616, allocations: 184.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03569/0.03569, allocations: 8.798 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 75.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 51.57 MB / 0.5041 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01539/0.1207, allocations: 13.14 MB / 0.5169 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.1292, allocations: 4.333 MB / 0.5211 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.1316, allocations: 87.62 kB / 0.5212 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.1351, allocations: 1.068 MB / 0.5223 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.1398, allocations: 1.32 MB / 0.5235 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.1424, allocations: 0.8534 MB / 0.5244 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005159/0.1476, allocations: 4.047 MB / 0.5283 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.194/0.3416, allocations: 3.512 MB / 0.5318 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.3448, allocations: 1.936 MB / 0.5336 GB, free: 5.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.3475, allocations: 2.13 MB / 0.5357 GB, free: 5.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008132/0.3484, allocations: 0.5254 MB / 0.5362 GB, free: 5.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.3498, allocations: 0.7226 MB / 0.5369 GB, free: 5.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008503/0.3507, allocations: 1.15 MB / 0.5381 GB, free: 4.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002174/0.3529, allocations: 2.175 MB / 0.5402 GB, free: 4.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007487/0.3604, allocations: 6.906 MB / 0.5469 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3604, allocations: 2.531 kB / 0.5469 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3604, allocations: 0 / 0.5469 GB, free: 3.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001521/0.3606, allocations: 0 / 0.5469 GB, free: 3.719 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.01093/0.3715, allocations: 4.531 MB / 0.5514 GB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3715, allocations: 13.59 kB / 0.5514 GB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.3759, allocations: 0.8369 MB / 0.5522 GB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004141/0.3801, allocations: 2.492 MB / 0.5546 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3802, allocations: 248.7 kB / 0.5549 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.3808, allocations: 339.7 kB / 0.5552 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007999/0.3888, allocations: 4.505 MB / 0.5596 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-05/0.3889, allocations: 11.2 kB / 0.5596 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.3893, allocations: 141 kB / 0.5597 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.3894, allocations: 161.6 kB / 0.5599 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006398/0.3958, allocations: 3.812 MB / 0.5636 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.4152, allocations: 14.06 MB / 0.5773 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.421, allocations: 6.143 MB / 0.5833 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.423, allocations: 1.175 MB / 0.5845 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005276/0.4283, allocations: 3.311 MB / 0.5877 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4283, allocations: 43.56 kB / 0.5878 GB, free: 5.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.655e-06/0.4283, allocations: 0 / 0.5878 GB, free: 5.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.01006/0.4384, allocations: 5.272 MB / 0.5929 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4384, allocations: 64.41 kB / 0.593 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.441, allocations: 1.686 MB / 0.5946 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.4411, allocations: 45.7 kB / 0.5947 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.442, allocations: 1.533 MB / 0.5962 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.4423, allocations: 450.3 kB / 0.5966 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/0.4428, allocations: 287.5 kB / 0.5969 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.4429, allocations: 301.1 kB / 0.5972 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4439, allocations: 0.6207 MB / 0.5978 GB, free: 10.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.4452, allocations: 1.137 MB / 0.5989 GB, free: 9.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.4477, allocations: 1.867 MB / 0.6007 GB, free: 7.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4477, allocations: 4 kB / 0.6007 GB, free: 7.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003393/0.4511, allocations: 2.201 MB / 0.6028 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4511, allocations: 12 kB / 0.6029 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.4512, allocations: 16 kB / 0.6029 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.4515, allocations: 145.7 kB / 0.603 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4531, allocations: 387.6 kB / 0.6034 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.4559, allocations: 3.365 MB / 0.6067 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4573, allocations: 75.86 kB / 0.6067 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4574, allocations: 74.61 kB / 0.6068 GB, free: 0.8164 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.001867/0.4593, allocations: 1.04 MB / 0.6078 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.4596, allocations: 190.9 kB / 0.608 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.4633, allocations: 2.044 MB / 0.61 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.4633, allocations: 3.984 kB / 0.61 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4633, allocations: 0 / 0.61 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.4641, allocations: 407.7 kB / 0.6104 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.4644, allocations: 31.98 kB / 0.6104 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/0.4652, allocations: 59.95 kB / 0.6105 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.4654, allocations: 100.8 kB / 0.6106 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004034/0.4695, allocations: 1.961 MB / 0.6125 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003195/0.4727, allocations: 2.271 MB / 0.6147 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008999/0.4736, allocations: 0.6246 MB / 0.6153 GB, free: 8.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.4753, allocations: 1.15 MB / 0.6164 GB, free: 6.914 MB / 430.1 MB Notification: Performance of Backend: time 3e-07/0.4753, allocations: 0 / 0.6164 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.4784, allocations: 1.541 MB / 0.618 GB, free: 5.387 MB / 430.1 MB Notification: Performance of SimCode: time 0.009418/0.4879, allocations: 6.465 MB / 0.6243 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Templates: time 0.04974/0.5376, allocations: 31.14 MB / 0.6547 GB, free: 100 kB / 462.1 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)