Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 114.4 kB / 16.42 MB, free: 6.457 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.331/1.331, 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.00126/0.00126, allocations: 187.8 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03603/0.03603, allocations: 8.796 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 464.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07834, allocations: 51.56 MB / 0.5041 GB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01526/0.09363, allocations: 15.93 MB / 0.5197 GB, free: 9.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.101, allocations: 5.294 MB / 0.5249 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.102, allocations: 99.69 kB / 0.525 GB, free: 4.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.1042, allocations: 1.219 MB / 0.5261 GB, free: 2.773 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.002721/0.107, allocations: 1.518 MB / 0.5276 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1087, allocations: 0.9858 MB / 0.5286 GB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1758/0.2845, allocations: 4.585 MB / 0.5331 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.288, allocations: 3.487 MB / 0.5365 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.2902, allocations: 2.06 MB / 0.5385 GB, free: 5.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.2925, allocations: 2.335 MB / 0.5408 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007218/0.2932, allocations: 0.5601 MB / 0.5413 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.2946, allocations: 0.7693 MB / 0.5421 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009349/0.2956, allocations: 1.236 MB / 0.5433 GB, free: 4.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.2976, allocations: 2.379 MB / 0.5456 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.304, allocations: 7.317 MB / 0.5527 GB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3041, allocations: 0 / 0.5527 GB, free: 3.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3041, allocations: 0 / 0.5527 GB, free: 3.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3042, allocations: 0 / 0.5527 GB, free: 3.211 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01086/0.3151, allocations: 4.836 MB / 0.5575 GB, free: 264 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3151, allocations: 8.719 kB / 0.5575 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.3204, allocations: 0.9339 MB / 0.5584 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.3253, allocations: 2.746 MB / 0.5611 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3254, allocations: 280.8 kB / 0.5613 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005082/0.326, allocations: 367.8 kB / 0.5617 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/0.3336, allocations: 4.668 MB / 0.5662 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/0.3337, allocations: 2.125 kB / 0.5662 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.3341, allocations: 149.3 kB / 0.5664 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3342, allocations: 160.8 kB / 0.5665 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/0.3403, allocations: 3.894 MB / 0.5703 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.3605, allocations: 15.15 MB / 0.5851 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005494/0.366, allocations: 5.949 MB / 0.5909 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.3681, allocations: 1.261 MB / 0.5922 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006093/0.3742, allocations: 4.13 MB / 0.5962 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3742, allocations: 43.56 kB / 0.5963 GB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=118): time 2.635e-06/0.3742, allocations: 0 / 0.5963 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01047/0.3847, allocations: 5.255 MB / 0.6014 GB, free: 7.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3848, allocations: 68.72 kB / 0.6015 GB, free: 7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.3877, allocations: 2.149 MB / 0.6035 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.3878, allocations: 53.7 kB / 0.6036 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.3889, allocations: 1.727 MB / 0.6053 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.3892, allocations: 0.499 MB / 0.6058 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005831/0.3898, allocations: 407.7 kB / 0.6062 GB, free: 2.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.3899, allocations: 309 kB / 0.6065 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3912, allocations: 0.7618 MB / 0.6072 GB, free: 1.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.3929, allocations: 1.543 MB / 0.6087 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/0.4061, allocations: 4.737 MB / 0.6133 GB, free: 10.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.4061, allocations: 8 kB / 0.6133 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004421/0.4106, allocations: 2.789 MB / 0.6161 GB, free: 7.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4106, allocations: 16 kB / 0.6161 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.4106, allocations: 28.03 kB / 0.6161 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007515/0.4114, allocations: 273.5 kB / 0.6164 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.4132, allocations: 497.5 kB / 0.6168 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.4172, allocations: 3.383 MB / 0.6201 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4188, allocations: 95.94 kB / 0.6202 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.419, allocations: 108 kB / 0.6203 GB, free: 3.059 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001723/0.4207, allocations: 1.078 MB / 0.6214 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.4211, allocations: 225.2 kB / 0.6216 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.4242, allocations: 1.784 MB / 0.6234 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.4243, allocations: 3.984 kB / 0.6234 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4243, allocations: 3.984 kB / 0.6234 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007643/0.425, allocations: 446.2 kB / 0.6238 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.4254, allocations: 31.98 kB / 0.6238 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4265, allocations: 63.91 kB / 0.6239 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4267, allocations: 97.16 kB / 0.624 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003763/0.4304, allocations: 1.799 MB / 0.6257 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003523/0.434, allocations: 2.563 MB / 0.6282 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009141/0.4349, allocations: 0.6701 MB / 0.6289 GB, free: 10.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002082/0.437, allocations: 1.439 MB / 0.6303 GB, free: 8.852 MB / 446.1 MB Notification: Performance of Backend: time 4.3e-07/0.437, allocations: 4 kB / 0.6303 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.4404, allocations: 1.818 MB / 0.6321 GB, free: 7.094 MB / 446.1 MB Notification: Performance of SimCode: time 0.01005/0.4505, allocations: 6.48 MB / 0.6384 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of Templates: time 0.05653/0.5071, allocations: 35.81 MB / 0.6734 GB, free: 13.15 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)