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.001058/0.001058, allocations: 109.7 kB / 16.42 MB, free: 6.516 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.315/1.315, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001325/0.001325, 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.03658/0.03658, allocations: 8.792 MB / 349.3 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.88 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07817, allocations: 51.59 MB / 0.5041 GB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01339/0.09159, allocations: 13.13 MB / 0.5169 GB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.0986, allocations: 4.337 MB / 0.5211 GB, free: 7.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.1001, allocations: 83.69 kB / 0.5212 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.1026, allocations: 1.029 MB / 0.5222 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.1056, allocations: 1.277 MB / 0.5235 GB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1073, allocations: 0.855 MB / 0.5243 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.1108, allocations: 4.034 MB / 0.5282 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1727/0.2836, allocations: 3.52 MB / 0.5317 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.2857, allocations: 1.94 MB / 0.5336 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.2882, allocations: 2.132 MB / 0.5357 GB, free: 4.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006936/0.2889, allocations: 0.5256 MB / 0.5362 GB, free: 4.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2902, allocations: 0.7219 MB / 0.5369 GB, free: 4.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.291, allocations: 1.143 MB / 0.538 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.2927, allocations: 2.179 MB / 0.5401 GB, free: 4.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.299, allocations: 6.891 MB / 0.5468 GB, free: 3.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.299, allocations: 0.5312 kB / 0.5468 GB, free: 3.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.299, allocations: 0 / 0.5468 GB, free: 3.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.2991, allocations: 0.5 kB / 0.5468 GB, free: 3.668 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.01004/0.3092, allocations: 4.438 MB / 0.5512 GB, free: 2.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3092, allocations: 8.781 kB / 0.5512 GB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/0.3135, allocations: 0.8244 MB / 0.552 GB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.3172, allocations: 2.479 MB / 0.5544 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3173, allocations: 249.3 kB / 0.5547 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/0.3178, allocations: 331.3 kB / 0.555 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007351/0.3252, allocations: 4.509 MB / 0.5594 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/0.3253, allocations: 9.016 kB / 0.5594 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.3256, allocations: 140.8 kB / 0.5595 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.3258, allocations: 156.9 kB / 0.5597 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005995/0.3318, allocations: 3.811 MB / 0.5634 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.3496, allocations: 14.02 MB / 0.5771 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005947/0.3556, allocations: 6.147 MB / 0.5831 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.3574, allocations: 1.181 MB / 0.5842 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004767/0.3622, allocations: 3.298 MB / 0.5875 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3623, allocations: 47.56 kB / 0.5875 GB, free: 5.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.3623, allocations: 0 / 0.5875 GB, free: 5.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.009732/0.372, allocations: 5.222 MB / 0.5926 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3721, allocations: 64.41 kB / 0.5927 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.3742, allocations: 1.69 MB / 0.5943 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.274e-05/0.3743, allocations: 49.7 kB / 0.5944 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009081/0.3753, allocations: 1.494 MB / 0.5958 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.3755, allocations: 419.8 kB / 0.5962 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.376, allocations: 295.2 kB / 0.5965 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.3761, allocations: 305.1 kB / 0.5968 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.3771, allocations: 0.6169 MB / 0.5974 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3784, allocations: 1.138 MB / 0.5985 GB, free: 9.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.3809, allocations: 1.867 MB / 0.6003 GB, free: 7.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3809, allocations: 4 kB / 0.6003 GB, free: 7.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003299/0.3842, allocations: 2.192 MB / 0.6025 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3842, allocations: 12 kB / 0.6025 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3843, allocations: 20 kB / 0.6025 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.3846, allocations: 134.5 kB / 0.6026 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.3861, allocations: 395 kB / 0.603 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.3886, allocations: 3.356 MB / 0.6063 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.3897, allocations: 83.8 kB / 0.6064 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3898, allocations: 68 kB / 0.6064 GB, free: 1.117 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.001462/0.3913, allocations: 1.037 MB / 0.6074 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.3915, allocations: 178.1 kB / 0.6076 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.395, allocations: 2.049 MB / 0.6096 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.395, allocations: 7.969 kB / 0.6096 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3951, allocations: 0 / 0.6096 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.3956, allocations: 394.8 kB / 0.61 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.3958, allocations: 28 kB / 0.61 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008227/0.3967, allocations: 59.95 kB / 0.6101 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3969, allocations: 104.8 kB / 0.6102 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004093/0.401, allocations: 1.959 MB / 0.6121 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003133/0.4041, allocations: 2.255 MB / 0.6143 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008928/0.405, allocations: 0.6246 MB / 0.6149 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.4065, allocations: 1.15 MB / 0.616 GB, free: 7.238 MB / 430.1 MB Notification: Performance of Backend: time 2.81e-07/0.4065, allocations: 3.844 kB / 0.616 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.4093, allocations: 1.552 MB / 0.6175 GB, free: 5.703 MB / 430.1 MB Notification: Performance of SimCode: time 0.009292/0.4186, allocations: 6.355 MB / 0.6238 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Templates: time 0.04941/0.468, allocations: 31.13 MB / 0.6541 GB, free: 0.5273 MB / 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)