Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.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.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.327/1.327, allocations: 222.9 MB / 240.1 MB, free: 4.398 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.001343/0.001343, allocations: 192.4 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03545/0.03545, allocations: 8.803 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 83.88 kB / 464.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.08364, allocations: 51.57 MB / 0.5041 GB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.01714/0.1008, allocations: 17.26 MB / 0.5209 GB, free: 8.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.2914, allocations: 8.207 MB / 0.529 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.294, allocations: 103.1 kB / 0.5291 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.2966, allocations: 1.296 MB / 0.5303 GB, free: 5.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.3001, allocations: 1.704 MB / 0.532 GB, free: 5.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.3048, allocations: 2.542 MB / 0.5345 GB, free: 5.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004802/0.3096, allocations: 5.196 MB / 0.5395 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/0.3132, allocations: 3.433 MB / 0.5429 GB, free: 4.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.3161, allocations: 2.254 MB / 0.5451 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.3197, allocations: 2.527 MB / 0.5476 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.3207, allocations: 0.6005 MB / 0.5481 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.3228, allocations: 0.9424 MB / 0.5491 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3239, allocations: 1.332 MB / 0.5504 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.3265, allocations: 2.563 MB / 0.5529 GB, free: 1.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007235/0.3338, allocations: 7.936 MB / 0.5606 GB, free: 13.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3338, allocations: 0 / 0.5606 GB, free: 13.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3338, allocations: 0 / 0.5606 GB, free: 13.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.334, allocations: 0 / 0.5606 GB, free: 13.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01217/0.3461, allocations: 5.283 MB / 0.5658 GB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3462, allocations: 8.25 kB / 0.5658 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.3514, allocations: 0.989 MB / 0.5668 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.3566, allocations: 2.982 MB / 0.5697 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.3568, allocations: 280.2 kB / 0.5699 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.3573, allocations: 376.4 kB / 0.5703 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007901/0.3652, allocations: 4.909 MB / 0.5751 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/0.3653, allocations: 4 kB / 0.5751 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/0.3657, allocations: 152 kB / 0.5752 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.3658, allocations: 167.4 kB / 0.5754 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006801/0.3726, allocations: 4.199 MB / 0.5795 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.396, allocations: 16.28 MB / 0.5954 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007861/0.4039, allocations: 8.177 MB / 0.6034 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.4068, allocations: 1.863 MB / 0.6052 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009382/0.4162, allocations: 5.38 MB / 0.6105 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4163, allocations: 56.56 kB / 0.6105 GB, free: 12.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.579e-06/0.4163, allocations: 0 / 0.6105 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.01362/0.4299, allocations: 7.434 MB / 0.6178 GB, free: 4.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.43, allocations: 176.2 kB / 0.6179 GB, free: 4.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.4332, allocations: 2.286 MB / 0.6202 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.4334, allocations: 61.64 kB / 0.6202 GB, free: 2.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.4345, allocations: 1.715 MB / 0.6219 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.435, allocations: 0.642 MB / 0.6225 GB, free: 24 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.4356, allocations: 412.3 kB / 0.6229 GB, free: 15.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.4357, allocations: 301.1 kB / 0.6232 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.4372, allocations: 0.9321 MB / 0.6241 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.439, allocations: 1.569 MB / 0.6256 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.4424, allocations: 2.581 MB / 0.6282 GB, free: 9.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4424, allocations: 8 kB / 0.6282 GB, free: 9.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004948/0.4474, allocations: 3.238 MB / 0.6313 GB, free: 6.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4474, allocations: 16 kB / 0.6314 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.4474, allocations: 23.98 kB / 0.6314 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.4485, allocations: 0.4893 MB / 0.6319 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.4505, allocations: 0.4953 MB / 0.6323 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00845/0.459, allocations: 9.205 MB / 0.6413 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4606, allocations: 99.84 kB / 0.6414 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4607, allocations: 96 kB / 0.6415 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002793/0.4635, allocations: 1.893 MB / 0.6434 GB, free: 9.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001826/0.4654, allocations: 1.558 MB / 0.6449 GB, free: 7.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003326/0.4687, allocations: 2.558 MB / 0.6474 GB, free: 4.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.861e-05/0.4687, allocations: 4 kB / 0.6474 GB, free: 4.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.005018/0.4738, allocations: 3.214 MB / 0.6505 GB, free: 1.578 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4738, allocations: 16 kB / 0.6505 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/0.4738, allocations: 20 kB / 0.6506 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.4749, allocations: 0.5008 MB / 0.651 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4768, allocations: 499.2 kB / 0.6515 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.4853, allocations: 9.206 MB / 0.6605 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4872, allocations: 100 kB / 0.6606 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.4873, allocations: 95.98 kB / 0.6607 GB, free: 6.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/0.4878, allocations: 331.7 kB / 0.661 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.4883, allocations: 264.8 kB / 0.6613 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005029/0.4933, allocations: 2.975 MB / 0.6642 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.4933, allocations: 7.969 kB / 0.6642 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4933, allocations: 0 / 0.6642 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.4944, allocations: 0.5291 MB / 0.6647 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.4948, allocations: 40 kB / 0.6647 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.496, allocations: 79.94 kB / 0.6648 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.4963, allocations: 149.6 kB / 0.665 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005823/0.5021, allocations: 2.881 MB / 0.6678 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004641/0.5068, allocations: 3.336 MB / 0.671 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/0.5081, allocations: 0.9603 MB / 0.672 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002303/0.5104, allocations: 1.55 MB / 0.6735 GB, free: 9.387 MB / 494.1 MB Notification: Performance of Backend: time 3.41e-07/0.5104, allocations: 7.938 kB / 0.6735 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006934/0.5173, allocations: 4.537 MB / 0.6779 GB, free: 4.707 MB / 494.1 MB Notification: Performance of SimCode: time 0.01142/0.5288, allocations: 7.676 MB / 0.6854 GB, free: 13 MB / 0.4981 GB Notification: Performance of Templates: time 0.2539/0.7827, allocations: 53.67 MB / 0.7378 GB, free: 178.1 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier.pipe 2>&1)