Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") translateModel(HanserModelica.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=120000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 116.2 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.311/1.311, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001294/0.001294, allocations: 188.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03629/0.03629, allocations: 8.805 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07913, allocations: 51.56 MB / 0.5041 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_LoadDump): time 0.01679/0.09595, allocations: 17.23 MB / 0.5209 GB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008857/0.1048, allocations: 5.8 MB / 0.5266 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.106, allocations: 103.6 kB / 0.5267 GB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.1084, allocations: 1.293 MB / 0.5279 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1655/0.2739, allocations: 1.68 MB / 0.5296 GB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.2767, allocations: 1.175 MB / 0.5307 GB, free: 5.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00527/0.282, allocations: 5.399 MB / 0.536 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004303/0.2863, allocations: 4.36 MB / 0.5403 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.2892, allocations: 2.443 MB / 0.5426 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.2923, allocations: 2.785 MB / 0.5454 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.2932, allocations: 0.6456 MB / 0.546 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2947, allocations: 0.8604 MB / 0.5468 GB, free: 4.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2958, allocations: 1.504 MB / 0.5483 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.2981, allocations: 2.769 MB / 0.551 GB, free: 3.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.3046, allocations: 8.408 MB / 0.5592 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3046, allocations: 0 / 0.5592 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3046, allocations: 1.25 kB / 0.5592 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.3047, allocations: 0 / 0.5592 GB, free: 15.2 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: 1073 * Number of variables: 1073 Notification: Performance of Generate backend data structure: time 0.01224/0.317, allocations: 5.706 MB / 0.5648 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.317, allocations: 9.625 kB / 0.5648 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.3222, allocations: 1.033 MB / 0.5658 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.3274, allocations: 3.199 MB / 0.5689 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.3277, allocations: 483.2 kB / 0.5694 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005371/0.3282, allocations: 412.1 kB / 0.5698 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008615/0.3368, allocations: 5.391 MB / 0.5751 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-05/0.3369, allocations: 7.906 kB / 0.5751 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.3373, allocations: 170 kB / 0.5752 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.3375, allocations: 172.2 kB / 0.5754 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/0.3448, allocations: 4.559 MB / 0.5798 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.3679, allocations: 17.57 MB / 0.597 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007229/0.3751, allocations: 8.258 MB / 0.6051 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.378, allocations: 1.863 MB / 0.6069 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008254/0.3862, allocations: 5.493 MB / 0.6122 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/0.3881, allocations: 1.263 MB / 0.6135 GB, free: 10.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.286e-06/0.3882, allocations: 0 / 0.6135 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=214): time 0.01875/0.4069, allocations: 9.037 MB / 0.6223 GB, free: 1.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.4071, allocations: 342.4 kB / 0.6226 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/0.4107, allocations: 2.476 MB / 0.625 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4108, allocations: 73.69 kB / 0.6251 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.4124, allocations: 1.93 MB / 0.627 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.413, allocations: 0.7135 MB / 0.6277 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/0.4137, allocations: 465.2 kB / 0.6281 GB, free: 11.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.4138, allocations: 305.1 kB / 0.6284 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.4156, allocations: 1.121 MB / 0.6295 GB, free: 9.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.418, allocations: 1.911 MB / 0.6314 GB, free: 7.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004129/0.4221, allocations: 3.013 MB / 0.6343 GB, free: 4.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.4221, allocations: 8 kB / 0.6343 GB, free: 4.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006706/0.4288, allocations: 4.058 MB / 0.6383 GB, free: 228 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4289, allocations: 13.41 kB / 0.6383 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.4289, allocations: 20 kB / 0.6383 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.4314, allocations: 1.012 MB / 0.6393 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.4332, allocations: 487.2 kB / 0.6398 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.4489, allocations: 15.49 MB / 0.6549 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.4511, allocations: 163.8 kB / 0.6551 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.4514, allocations: 108 kB / 0.6552 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00357/0.4549, allocations: 2.215 MB / 0.6573 GB, free: 11.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002302/0.4572, allocations: 1.891 MB / 0.6592 GB, free: 9.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004057/0.4613, allocations: 3.001 MB / 0.6621 GB, free: 6.391 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-05/0.4613, allocations: 4 kB / 0.6621 GB, free: 6.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006591/0.4679, allocations: 4.043 MB / 0.6661 GB, free: 2.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.468, allocations: 16 kB / 0.6661 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.468, allocations: 20 kB / 0.6661 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.4704, allocations: 1.005 MB / 0.6671 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4721, allocations: 483.2 kB / 0.6675 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.4878, allocations: 15.51 MB / 0.6827 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.49, allocations: 175.9 kB / 0.6829 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.4902, allocations: 116 kB / 0.683 GB, free: 152 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 3 systems {(2,22,100.0%), (3,21,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005141/0.4907, allocations: 359.6 kB / 0.6833 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.4912, allocations: 284.6 kB / 0.6836 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006551/0.4977, allocations: 3.345 MB / 0.6868 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.4978, allocations: 11.95 kB / 0.6869 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4978, allocations: 0 / 0.6869 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.4988, allocations: 0.5915 MB / 0.6874 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/0.4993, allocations: 51.98 kB / 0.6875 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.5008, allocations: 123.8 kB / 0.6876 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/0.5012, allocations: 197.7 kB / 0.6878 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007409/0.5086, allocations: 3.411 MB / 0.6911 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00596/0.5146, allocations: 4.095 MB / 0.6951 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001676/0.5162, allocations: 1.175 MB / 0.6963 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002461/0.5187, allocations: 1.686 MB / 0.6979 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of Backend: time 3.81e-07/0.5187, allocations: 4 kB / 0.6979 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009651/0.5284, allocations: 5.899 MB / 0.7037 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01267/0.5411, allocations: 8.201 MB / 0.7117 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of Templates: time 0.2523/0.7934, allocations: 58.88 MB / 0.7692 GB, free: 162.2 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_LoadDump.pipe 2>&1)