Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.317/1.317, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001312/0.001312, allocations: 184.4 kB / 290.4 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03622/0.03622, allocations: 8.804 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 83.88 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08845, allocations: 51.55 MB / 0.5041 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02383/0.1123, allocations: 24.86 MB / 0.5283 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.18/0.2923, allocations: 7.984 MB / 0.5361 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.2948, allocations: 181.1 kB / 0.5363 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01516/0.31, allocations: 8.38 MB / 0.5445 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007691/0.3177, allocations: 2.98 MB / 0.5474 GB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.3216, allocations: 1.806 MB / 0.5492 GB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.3329, allocations: 11.11 MB / 0.56 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02907/0.362, allocations: 23.27 MB / 0.5827 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00739/0.3694, allocations: 5.916 MB / 0.5885 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008959/0.3784, allocations: 6.449 MB / 0.5948 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003124/0.3815, allocations: 1.723 MB / 0.5965 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.3867, allocations: 2.128 MB / 0.5986 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.3904, allocations: 3.383 MB / 0.6019 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006972/0.3974, allocations: 6.358 MB / 0.6081 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01909/0.4165, allocations: 23.11 MB / 0.6307 GB, free: 13.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4166, allocations: 0 / 0.6307 GB, free: 13.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4166, allocations: 0 / 0.6307 GB, free: 13.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003062/0.4169, allocations: 4 kB / 0.6307 GB, free: 13.88 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03233/0.4492, allocations: 13.38 MB / 0.6437 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4493, allocations: 15.97 kB / 0.6437 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03497/0.4843, allocations: 6.257 MB / 0.6499 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.4963, allocations: 7.255 MB / 0.6569 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/0.4968, allocations: 0.7182 MB / 0.6576 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.4984, allocations: 0.9469 MB / 0.6586 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/0.525, allocations: 16.14 MB / 0.6743 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/0.5252, allocations: 7.906 kB / 0.6743 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.5263, allocations: 399.6 kB / 0.6747 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004961/0.5268, allocations: 0.563 MB / 0.6753 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/0.5509, allocations: 15.1 MB / 0.69 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4083/0.9592, allocations: 52 MB / 0.7408 GB, free: 120.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/0.9751, allocations: 20.1 MB / 0.7604 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/0.9796, allocations: 3.638 MB / 0.764 GB, free: 106.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.98, allocations: 182.1 kB / 0.7641 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.98, allocations: 76.66 kB / 0.7642 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 6.773e-06/0.98, allocations: 0 / 0.7642 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04351/1.024, allocations: 20.64 MB / 0.7844 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/1.024, allocations: 97.95 kB / 0.7845 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004569/1.028, allocations: 4.494 MB / 0.7889 GB, free: 98.82 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/1.028, allocations: 101 kB / 0.789 GB, free: 98.73 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.03, allocations: 4.193 MB / 0.7931 GB, free: 95.08 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/1.031, allocations: 1.534 MB / 0.7945 GB, free: 93.75 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.032, allocations: 1.191 MB / 0.7957 GB, free: 93.07 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.264e-05/1.032, allocations: 304.9 kB / 0.796 GB, free: 92.77 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/1.036, allocations: 3.06 MB / 0.799 GB, free: 91.11 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/1.04, allocations: 5.217 MB / 0.8041 GB, free: 86.61 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008327/1.048, allocations: 8.871 MB / 0.8127 GB, free: 79.99 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-05/1.048, allocations: 18.97 kB / 0.8128 GB, free: 79.99 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01304/1.061, allocations: 9.863 MB / 0.8224 GB, free: 71.88 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/1.061, allocations: 36 kB / 0.8224 GB, free: 71.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/1.062, allocations: 68 kB / 0.8225 GB, free: 71.78 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/1.065, allocations: 1.403 MB / 0.8239 GB, free: 70.37 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/1.069, allocations: 1.384 MB / 0.8252 GB, free: 68.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.083, allocations: 12.66 MB / 0.8376 GB, free: 56.06 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.087, allocations: 359.5 kB / 0.8379 GB, free: 55.71 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/1.087, allocations: 292 kB / 0.8382 GB, free: 55.43 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004488/1.092, allocations: 3.884 MB / 0.842 GB, free: 51.53 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/1.092, allocations: 466.3 kB / 0.8424 GB, free: 51.07 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.104, allocations: 8.514 MB / 0.8508 GB, free: 42.49 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/1.104, allocations: 19.92 kB / 0.8508 GB, free: 42.47 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.104, allocations: 0 / 0.8508 GB, free: 42.47 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.105, allocations: 1.073 MB / 0.8518 GB, free: 41.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/1.106, allocations: 76 kB / 0.8519 GB, free: 41.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.108, allocations: 227.8 kB / 0.8521 GB, free: 41.08 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/1.109, allocations: 339.1 kB / 0.8524 GB, free: 40.75 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0108/1.119, allocations: 7.116 MB / 0.8594 GB, free: 33.71 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01007/1.13, allocations: 9.144 MB / 0.8683 GB, free: 24.52 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002799/1.132, allocations: 2.781 MB / 0.871 GB, free: 21.74 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003244/1.136, allocations: 3.115 MB / 0.8741 GB, free: 18.61 MB / 0.5138 GB Notification: Performance of Backend: time 4.31e-07/1.136, allocations: 0 / 0.8741 GB, free: 18.61 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009712/1.145, allocations: 6.259 MB / 0.8802 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02149/1.167, allocations: 16.81 MB / 0.8966 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.3726/1.54, allocations: 84.62 MB / 0.9792 GB, free: 171.7 MB / 0.5607 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1)