Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 109.2 kB / 16.42 MB, free: 6.398 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001353/0.001353, allocations: 196.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03566/0.03566, allocations: 8.795 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.88 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09891, allocations: 51.56 MB / 0.5041 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.2249/0.3239, allocations: 27 MB / 0.5304 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.3365, allocations: 8.049 MB / 0.5383 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.3398, allocations: 199.7 kB / 0.5385 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01787/0.3577, allocations: 9.324 MB / 0.5476 GB, free: 3.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00979/0.3675, allocations: 3.322 MB / 0.5508 GB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.372, allocations: 1.805 MB / 0.5526 GB, free: 2.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.3876, allocations: 12.14 MB / 0.5645 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03213/0.4198, allocations: 24.4 MB / 0.5883 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009284/0.4291, allocations: 6.474 MB / 0.5946 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.4404, allocations: 7.168 MB / 0.6016 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003297/0.4437, allocations: 1.84 MB / 0.6034 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.4485, allocations: 2.201 MB / 0.6055 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003177/0.4517, allocations: 3.609 MB / 0.6091 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008962/0.4607, allocations: 6.921 MB / 0.6158 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02731/0.488, allocations: 24.73 MB / 0.64 GB, free: 5.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4881, allocations: 0 / 0.64 GB, free: 5.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4881, allocations: 0 / 0.64 GB, free: 5.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006383/0.4887, allocations: 0 / 0.64 GB, free: 5.691 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0688/0.5575, allocations: 14.48 MB / 0.6541 GB, free: 7.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5576, allocations: 8.031 kB / 0.6541 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08882/0.6464, allocations: 8.486 MB / 0.6624 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.6612, allocations: 7.643 MB / 0.6699 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007395/0.662, allocations: 0.8065 MB / 0.6707 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/0.6654, allocations: 1.062 MB / 0.6717 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/0.6993, allocations: 18.28 MB / 0.6896 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.6996, allocations: 15.91 kB / 0.6896 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.7008, allocations: 449 kB / 0.69 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006151/0.7015, allocations: 0.675 MB / 0.6907 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/0.7318, allocations: 17.54 MB / 0.7078 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4492/1.181, allocations: 58.05 MB / 0.7645 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/1.203, allocations: 37.47 MB / 0.8011 GB, free: 83.38 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/1.208, allocations: 4.104 MB / 0.8051 GB, free: 81.23 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/1.209, allocations: 196.7 kB / 0.8053 GB, free: 81.09 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.209, allocations: 85.53 kB / 0.8054 GB, free: 81.02 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.565e-06/1.209, allocations: 3.844 kB / 0.8054 GB, free: 81.02 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.03729/1.246, allocations: 21.44 MB / 0.8263 GB, free: 68.45 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.246, allocations: 111.5 kB / 0.8264 GB, free: 68.32 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/1.251, allocations: 4.179 MB / 0.8305 GB, free: 64.11 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002959/1.251, allocations: 113.7 kB / 0.8306 GB, free: 64 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.252, allocations: 4.508 MB / 0.835 GB, free: 59.46 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008635/1.253, allocations: 1.775 MB / 0.8367 GB, free: 57.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.255, allocations: 1.347 MB / 0.838 GB, free: 56.34 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.286e-05/1.255, allocations: 308.1 kB / 0.8383 GB, free: 56.04 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/1.259, allocations: 3.453 MB / 0.8417 GB, free: 52.59 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/1.263, allocations: 5.877 MB / 0.8474 GB, free: 45.61 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008997/1.272, allocations: 10.02 MB / 0.8572 GB, free: 34.43 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/1.272, allocations: 24 kB / 0.8573 GB, free: 34.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01374/1.286, allocations: 10.94 MB / 0.8679 GB, free: 23.37 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.286, allocations: 40.06 kB / 0.868 GB, free: 23.33 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.437e-05/1.286, allocations: 80 kB / 0.8681 GB, free: 23.25 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/1.289, allocations: 1.426 MB / 0.8694 GB, free: 21.83 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/1.294, allocations: 1.618 MB / 0.871 GB, free: 20.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.307, allocations: 11.45 MB / 0.8822 GB, free: 8.609 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/1.311, allocations: 411.3 kB / 0.8826 GB, free: 8.207 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/1.312, allocations: 336 kB / 0.8829 GB, free: 7.879 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00472/1.317, allocations: 4.176 MB / 0.887 GB, free: 3.688 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007727/1.317, allocations: 474.2 kB / 0.8875 GB, free: 3.219 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.331, allocations: 8.476 MB / 0.8957 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/1.331, allocations: 31.89 kB / 0.8958 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.331, allocations: 0 / 0.8958 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/1.333, allocations: 1.17 MB / 0.8969 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/1.334, allocations: 88 kB / 0.897 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.336, allocations: 279.7 kB / 0.8973 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006572/1.336, allocations: 375.8 kB / 0.8976 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01334/1.35, allocations: 8.046 MB / 0.9055 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01399/1.364, allocations: 10.41 MB / 0.9156 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004248/1.368, allocations: 3.228 MB / 0.9188 GB, free: 2.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004142/1.372, allocations: 2.815 MB / 0.9215 GB, free: 4 kB / 0.545 GB Notification: Performance of Backend: time 4.11e-07/1.372, allocations: 0 / 0.9215 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.384, allocations: 6.283 MB / 0.9277 GB, free: 9.758 MB / 0.5607 GB Notification: Performance of SimCode: time 0.2137/1.598, allocations: 17.83 MB / 0.9451 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of Templates: time 0.1246/1.722, allocations: 91.6 MB / 1.035 GB, free: 118.5 MB / 0.5607 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1)