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.001556/0.001556, allocations: 110.3 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.349/1.349, allocations: 222.9 MB / 240.1 MB, free: 4.527 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.001237/0.001237, allocations: 192.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03617/0.03617, allocations: 8.793 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 79.88 kB / 464.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.08043, allocations: 51.56 MB / 0.5041 GB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01358/0.09404, allocations: 13.59 MB / 0.5173 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.1008, allocations: 4.446 MB / 0.5217 GB, free: 7.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009093/0.1018, allocations: 83.69 kB / 0.5218 GB, free: 7.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.1037, allocations: 0.9822 MB / 0.5227 GB, free: 6.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.1063, allocations: 1.304 MB / 0.524 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.1079, allocations: 0.8819 MB / 0.5249 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.1116, allocations: 4.176 MB / 0.5289 GB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1717/0.2832, allocations: 3.184 MB / 0.532 GB, free: 5.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.2855, allocations: 1.921 MB / 0.5339 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.288, allocations: 2.07 MB / 0.5359 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008284/0.2888, allocations: 0.5085 MB / 0.5364 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.2902, allocations: 0.7049 MB / 0.5371 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007295/0.291, allocations: 1.097 MB / 0.5382 GB, free: 4.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.2931, allocations: 2.142 MB / 0.5403 GB, free: 3.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006795/0.2999, allocations: 6.693 MB / 0.5468 GB, free: 3.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2999, allocations: 0 / 0.5468 GB, free: 3.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2999, allocations: 6.125 kB / 0.5468 GB, free: 3.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.3001, allocations: 0 / 0.5468 GB, free: 3.289 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.01089/0.311, allocations: 4.403 MB / 0.5511 GB, free: 1.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.311, allocations: 9.188 kB / 0.5511 GB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.3155, allocations: 0.8247 MB / 0.5519 GB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.3195, allocations: 2.441 MB / 0.5543 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3197, allocations: 248.5 kB / 0.5546 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/0.3203, allocations: 335 kB / 0.5549 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007275/0.3276, allocations: 4.322 MB / 0.5591 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.3277, allocations: 3.219 kB / 0.5591 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.328, allocations: 133.8 kB / 0.5592 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.3282, allocations: 150.3 kB / 0.5594 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.3339, allocations: 3.594 MB / 0.5629 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.3535, allocations: 13.66 MB / 0.5762 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006515/0.3601, allocations: 6.637 MB / 0.5827 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.3625, allocations: 1.398 MB / 0.5841 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005987/0.3685, allocations: 3.665 MB / 0.5877 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.3699, allocations: 0.9474 MB / 0.5886 GB, free: 3.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=143): time 3.246e-06/0.3699, allocations: 0 / 0.5886 GB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=146): time 0.01169/0.3816, allocations: 5.981 MB / 0.5944 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3818, allocations: 226.9 kB / 0.5946 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.3842, allocations: 1.78 MB / 0.5964 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3843, allocations: 61.69 kB / 0.5964 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.3855, allocations: 1.471 MB / 0.5979 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.3859, allocations: 0.4918 MB / 0.5984 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.3864, allocations: 347.2 kB / 0.5987 GB, free: 9.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.3865, allocations: 301.1 kB / 0.599 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3876, allocations: 0.691 MB / 0.5996 GB, free: 8.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.3892, allocations: 1.365 MB / 0.601 GB, free: 6.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.3918, allocations: 2.102 MB / 0.603 GB, free: 4.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.3918, allocations: 7.844 kB / 0.603 GB, free: 4.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004035/0.3959, allocations: 2.649 MB / 0.6056 GB, free: 1.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3959, allocations: 12 kB / 0.6056 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.3959, allocations: 19.94 kB / 0.6057 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/0.3969, allocations: 368.7 kB / 0.606 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3983, allocations: 394.9 kB / 0.6064 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/0.4056, allocations: 8.43 MB / 0.6146 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.4071, allocations: 99.86 kB / 0.6147 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.4072, allocations: 76 kB / 0.6148 GB, free: 7.98 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.001608/0.4088, allocations: 1.041 MB / 0.6158 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.4091, allocations: 189.7 kB / 0.616 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/0.4131, allocations: 2.336 MB / 0.6183 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.4131, allocations: 11.97 kB / 0.6183 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4131, allocations: 3.938 kB / 0.6183 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.4138, allocations: 434.5 kB / 0.6187 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.4141, allocations: 39.98 kB / 0.6187 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.4149, allocations: 56.14 kB / 0.6188 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.4152, allocations: 127.7 kB / 0.6189 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004824/0.42, allocations: 2.286 MB / 0.6211 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003469/0.4235, allocations: 2.585 MB / 0.6237 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009634/0.4245, allocations: 0.7129 MB / 0.6244 GB, free: 14.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001621/0.4261, allocations: 1.215 MB / 0.6255 GB, free: 12.92 MB / 446.1 MB Notification: Performance of Backend: time 2.51e-07/0.4261, allocations: 0 / 0.6255 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003458/0.4296, allocations: 2.062 MB / 0.6276 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 0.009553/0.4391, allocations: 6.609 MB / 0.634 GB, free: 4.215 MB / 446.1 MB Notification: Performance of Templates: time 0.05352/0.4927, allocations: 34.58 MB / 0.6678 GB, free: 2.02 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)