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.001481/0.001481, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.335/1.335, 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.001293/0.001293, allocations: 188.4 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.03622/0.03622, allocations: 8.799 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.88 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07741/0.07891, allocations: 51.55 MB / 0.5041 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Rectifier): time 0.01635/0.09529, allocations: 17.27 MB / 0.5209 GB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1823/0.2777, allocations: 8.205 MB / 0.529 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.2803, allocations: 101.9 kB / 0.5291 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.2836, allocations: 1.284 MB / 0.5303 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.2881, allocations: 1.65 MB / 0.5319 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00553/0.2937, allocations: 2.538 MB / 0.5344 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006225/0.2999, allocations: 5.188 MB / 0.5395 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.3046, allocations: 3.437 MB / 0.5428 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.3079, allocations: 2.258 MB / 0.545 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.3114, allocations: 2.519 MB / 0.5475 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008758/0.3123, allocations: 0.6008 MB / 0.5481 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3141, allocations: 0.9458 MB / 0.549 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.3151, allocations: 1.332 MB / 0.5503 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002331/0.3175, allocations: 2.561 MB / 0.5528 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006949/0.3244, allocations: 7.933 MB / 0.5605 GB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3245, allocations: 0 / 0.5605 GB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3245, allocations: 0 / 0.5605 GB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3246, allocations: 2.875 kB / 0.5605 GB, free: 12.97 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.01157/0.3362, allocations: 5.28 MB / 0.5657 GB, free: 9.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3362, allocations: 7.531 kB / 0.5657 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005254/0.3415, allocations: 0.9892 MB / 0.5667 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.3463, allocations: 2.98 MB / 0.5696 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3465, allocations: 281.7 kB / 0.5699 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.347, allocations: 377.9 kB / 0.5702 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007849/0.3548, allocations: 4.905 MB / 0.575 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.3549, allocations: 11.94 kB / 0.575 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.3553, allocations: 150.5 kB / 0.5752 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.3555, allocations: 167.4 kB / 0.5753 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.3623, allocations: 4.195 MB / 0.5794 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.3845, allocations: 16.28 MB / 0.5953 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/0.392, allocations: 8.173 MB / 0.6033 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.3948, allocations: 1.87 MB / 0.6051 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008019/0.4029, allocations: 5.374 MB / 0.6104 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4029, allocations: 60.56 kB / 0.6104 GB, free: 12.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.027e-06/0.4029, allocations: 0 / 0.6104 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.01337/0.4163, allocations: 7.438 MB / 0.6177 GB, free: 4.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.4164, allocations: 180.2 kB / 0.6179 GB, free: 4.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.4194, allocations: 2.278 MB / 0.6201 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.4196, allocations: 61.7 kB / 0.6201 GB, free: 2.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4207, allocations: 1.715 MB / 0.6218 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.4212, allocations: 0.6353 MB / 0.6224 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/0.4218, allocations: 420.2 kB / 0.6228 GB, free: 15.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.4219, allocations: 301.1 kB / 0.6231 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4234, allocations: 0.9321 MB / 0.624 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4253, allocations: 1.571 MB / 0.6256 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.4286, allocations: 2.58 MB / 0.6281 GB, free: 9.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.4286, allocations: 8 kB / 0.6281 GB, free: 9.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.004845/0.4335, allocations: 3.23 MB / 0.6313 GB, free: 6.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4335, allocations: 16 kB / 0.6313 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.4336, allocations: 23.98 kB / 0.6313 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.4347, allocations: 0.4958 MB / 0.6318 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.4365, allocations: 0.4914 MB / 0.6323 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.4446, allocations: 9.209 MB / 0.6413 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4464, allocations: 103.8 kB / 0.6414 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4466, allocations: 92 kB / 0.6414 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003055/0.4496, allocations: 1.894 MB / 0.6433 GB, free: 9.375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001783/0.4514, allocations: 1.559 MB / 0.6448 GB, free: 7.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003224/0.4547, allocations: 2.561 MB / 0.6473 GB, free: 4.715 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.048e-05/0.4547, allocations: 7.984 kB / 0.6473 GB, free: 4.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=298) (initialization_lambda0): time 0.00483/0.4595, allocations: 3.206 MB / 0.6505 GB, free: 1.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4596, allocations: 17.09 kB / 0.6505 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.4596, allocations: 23.94 kB / 0.6505 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.4606, allocations: 0.4964 MB / 0.651 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4624, allocations: 495.2 kB / 0.6514 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.4706, allocations: 9.207 MB / 0.6604 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4723, allocations: 96.02 kB / 0.6605 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.4724, allocations: 96 kB / 0.6606 GB, free: 6.477 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.0004528/0.4729, allocations: 327.5 kB / 0.6609 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.4732, allocations: 264.8 kB / 0.6612 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.4782, allocations: 2.979 MB / 0.6641 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.4783, allocations: 8.438 kB / 0.6641 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4783, allocations: 3.984 kB / 0.6641 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/0.4791, allocations: 0.5252 MB / 0.6646 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.4794, allocations: 40 kB / 0.6647 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.4806, allocations: 83.92 kB / 0.6647 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.4809, allocations: 145.7 kB / 0.6649 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005919/0.4868, allocations: 2.889 MB / 0.6677 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00459/0.4914, allocations: 3.34 MB / 0.671 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001319/0.4928, allocations: 0.9642 MB / 0.6719 GB, free: 10.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002245/0.495, allocations: 1.55 MB / 0.6734 GB, free: 9.266 MB / 494.1 MB Notification: Performance of Backend: time 2.6e-07/0.495, allocations: 4 kB / 0.6734 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006917/0.5019, allocations: 4.53 MB / 0.6778 GB, free: 4.598 MB / 494.1 MB Notification: Performance of SimCode: time 0.01166/0.5136, allocations: 7.694 MB / 0.6854 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.2506/0.7642, allocations: 53.66 MB / 0.7378 GB, free: 176.8 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)