Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.341/1.341, allocations: 222.9 MB / 240.1 MB, free: 4.391 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.001344/0.001344, allocations: 188.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03513/0.03513, allocations: 8.798 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 79.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09815, allocations: 51.56 MB / 0.5041 GB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01427/0.1125, allocations: 13.6 MB / 0.5173 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008031/0.1205, allocations: 4.442 MB / 0.5217 GB, free: 7.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1226, allocations: 75.75 kB / 0.5218 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.1254, allocations: 1.025 MB / 0.5228 GB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.1294, allocations: 1.336 MB / 0.5241 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.1317, allocations: 0.8913 MB / 0.5249 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2096/0.3414, allocations: 4.174 MB / 0.529 GB, free: 5.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003558/0.345, allocations: 3.185 MB / 0.5321 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.3475, allocations: 1.918 MB / 0.534 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3507, allocations: 2.078 MB / 0.536 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009106/0.3516, allocations: 0.5078 MB / 0.5365 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3533, allocations: 0.7079 MB / 0.5372 GB, free: 4.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000803/0.3541, allocations: 1.095 MB / 0.5383 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002581/0.3567, allocations: 2.143 MB / 0.5404 GB, free: 4.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007767/0.3645, allocations: 6.691 MB / 0.5469 GB, free: 3.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3645, allocations: 2.844 kB / 0.5469 GB, free: 3.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3645, allocations: 0 / 0.5469 GB, free: 3.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001805/0.3647, allocations: 0 / 0.5469 GB, free: 3.363 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01263/0.3773, allocations: 4.413 MB / 0.5512 GB, free: 1.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3774, allocations: 8.906 kB / 0.5512 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.3819, allocations: 0.8182 MB / 0.552 GB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.3868, allocations: 2.442 MB / 0.5544 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.387, allocations: 246.1 kB / 0.5546 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005574/0.3875, allocations: 334.5 kB / 0.555 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007916/0.3955, allocations: 4.32 MB / 0.5592 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.3956, allocations: 3.406 kB / 0.5592 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.3959, allocations: 131.5 kB / 0.5593 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.3961, allocations: 151.4 kB / 0.5595 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006024/0.4021, allocations: 3.592 MB / 0.563 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.4227, allocations: 13.67 MB / 0.5763 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006424/0.4292, allocations: 6.637 MB / 0.5828 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.4315, allocations: 1.401 MB / 0.5842 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006671/0.4382, allocations: 3.659 MB / 0.5877 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.4396, allocations: 0.9398 MB / 0.5887 GB, free: 3.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=143): time 2.955e-06/0.4396, allocations: 0 / 0.5887 GB, free: 3.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=146): time 0.01347/0.4531, allocations: 5.983 MB / 0.5945 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.4533, allocations: 233.3 kB / 0.5947 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.4576, allocations: 1.78 MB / 0.5965 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.4579, allocations: 57.69 kB / 0.5965 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.46, allocations: 1.464 MB / 0.5979 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/0.4608, allocations: 0.4912 MB / 0.5984 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008421/0.4616, allocations: 355.1 kB / 0.5988 GB, free: 9.383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4618, allocations: 304.6 kB / 0.5991 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.4636, allocations: 0.691 MB / 0.5997 GB, free: 8.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.4662, allocations: 1.349 MB / 0.601 GB, free: 6.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.4708, allocations: 2.117 MB / 0.6031 GB, free: 4.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.4708, allocations: 7.844 kB / 0.6031 GB, free: 4.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008025/0.4789, allocations: 2.638 MB / 0.6057 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.479, allocations: 16.06 kB / 0.6057 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/0.479, allocations: 20 kB / 0.6057 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.4809, allocations: 366.8 kB / 0.6061 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.4837, allocations: 398.3 kB / 0.6065 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.4981, allocations: 8.431 MB / 0.6147 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.5014, allocations: 99.92 kB / 0.6148 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/0.5019, allocations: 87.98 kB / 0.6149 GB, free: 8.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003909/0.5058, allocations: 1.033 MB / 0.6159 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008568/0.5067, allocations: 193.7 kB / 0.6161 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/0.5149, allocations: 2.335 MB / 0.6183 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/0.5149, allocations: 7.969 kB / 0.6184 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5149, allocations: 0 / 0.6184 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/0.5168, allocations: 434.5 kB / 0.6188 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007963/0.5176, allocations: 43.94 kB / 0.6188 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.5195, allocations: 60.14 kB / 0.6189 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/0.52, allocations: 129.1 kB / 0.619 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009677/0.5297, allocations: 2.29 MB / 0.6212 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007097/0.5368, allocations: 2.581 MB / 0.6238 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00209/0.5389, allocations: 0.7207 MB / 0.6245 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004012/0.5429, allocations: 1.211 MB / 0.6256 GB, free: 12.98 MB / 446.1 MB Notification: Performance of Backend: time 1.092e-06/0.543, allocations: 0 / 0.6256 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00774/0.5507, allocations: 2.057 MB / 0.6276 GB, free: 10.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.0202/0.5709, allocations: 6.619 MB / 0.6341 GB, free: 4.266 MB / 446.1 MB Notification: Performance of Templates: time 0.1037/0.6747, allocations: 34.55 MB / 0.6679 GB, free: 2.09 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1)