Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.345/1.345, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001223/0.001223, allocations: 188.5 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03613/0.03613, allocations: 8.803 MB / 349.3 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 75.88 kB / 464.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08174, allocations: 51.57 MB / 0.5041 GB, free: 9.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01603/0.0978, allocations: 15.93 MB / 0.5197 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008389/0.1062, allocations: 5.294 MB / 0.5249 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1075, allocations: 99.69 kB / 0.525 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.1099, allocations: 1.211 MB / 0.5261 GB, free: 2.719 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.003098/0.1131, allocations: 1.53 MB / 0.5276 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.1149, allocations: 0.9837 MB / 0.5286 GB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1746/0.2896, allocations: 4.583 MB / 0.5331 GB, free: 6.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.2931, allocations: 3.499 MB / 0.5365 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.2955, allocations: 2.054 MB / 0.5385 GB, free: 5.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.298, allocations: 2.335 MB / 0.5408 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006961/0.2987, allocations: 0.5596 MB / 0.5413 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3001, allocations: 0.7685 MB / 0.5421 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009096/0.301, allocations: 1.236 MB / 0.5433 GB, free: 4.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.3031, allocations: 2.378 MB / 0.5456 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.3091, allocations: 7.315 MB / 0.5527 GB, free: 3.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3091, allocations: 3.938 kB / 0.5527 GB, free: 3.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3091, allocations: 0 / 0.5527 GB, free: 3.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.3093, allocations: 1.438 kB / 0.5527 GB, free: 3.242 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.01029/0.3195, allocations: 4.835 MB / 0.5575 GB, free: 280 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3196, allocations: 8.938 kB / 0.5575 GB, free: 280 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.3247, allocations: 0.9353 MB / 0.5584 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/0.3295, allocations: 2.746 MB / 0.5611 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3297, allocations: 273 kB / 0.5613 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.3302, allocations: 367.8 kB / 0.5617 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007906/0.3381, allocations: 4.682 MB / 0.5663 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.3382, allocations: 5.156 kB / 0.5663 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.3386, allocations: 151.5 kB / 0.5664 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3387, allocations: 156.9 kB / 0.5666 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006204/0.3449, allocations: 3.892 MB / 0.5704 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.3658, allocations: 15.31 MB / 0.5853 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/0.3716, allocations: 6.123 MB / 0.5913 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.3741, allocations: 1.44 MB / 0.5927 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006429/0.3806, allocations: 4.228 MB / 0.5968 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.3807, allocations: 51.56 kB / 0.5969 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=125): time 3.035e-06/0.3807, allocations: 0 / 0.5969 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01256/0.3932, allocations: 6.126 MB / 0.6029 GB, free: 5.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3933, allocations: 64.72 kB / 0.6029 GB, free: 5.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.3962, allocations: 2.061 MB / 0.6049 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.3963, allocations: 53.7 kB / 0.605 GB, free: 3.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.3974, allocations: 1.701 MB / 0.6066 GB, free: 1.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.3978, allocations: 0.5322 MB / 0.6072 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006063/0.3985, allocations: 411.8 kB / 0.6076 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.3986, allocations: 301.1 kB / 0.6078 GB, free: 396 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3998, allocations: 0.7774 MB / 0.6086 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.4016, allocations: 1.542 MB / 0.6101 GB, free: 13.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/0.4149, allocations: 4.794 MB / 0.6148 GB, free: 8.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.4149, allocations: 12 kB / 0.6148 GB, free: 8.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005158/0.4201, allocations: 2.878 MB / 0.6176 GB, free: 5.926 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.4201, allocations: 16 kB / 0.6176 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/0.4202, allocations: 24 kB / 0.6177 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/0.4211, allocations: 356.2 kB / 0.618 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.4229, allocations: 489.1 kB / 0.6185 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.428, allocations: 4.092 MB / 0.6225 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.4299, allocations: 95.78 kB / 0.6225 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4301, allocations: 104 kB / 0.6226 GB, free: 0.6914 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.432, allocations: 1.091 MB / 0.6237 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.4325, allocations: 229.3 kB / 0.6239 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.4362, allocations: 1.987 MB / 0.6259 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.4362, allocations: 7.969 kB / 0.6259 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.4362, allocations: 3.469 kB / 0.6259 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/0.4372, allocations: 458.2 kB / 0.6263 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.4377, allocations: 35.94 kB / 0.6264 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.4389, allocations: 59.95 kB / 0.6264 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.4391, allocations: 113.1 kB / 0.6265 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004284/0.4434, allocations: 2.021 MB / 0.6285 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003971/0.4474, allocations: 2.794 MB / 0.6312 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/0.4484, allocations: 0.756 MB / 0.632 GB, free: 7.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.4508, allocations: 1.387 MB / 0.6333 GB, free: 5.75 MB / 446.1 MB Notification: Performance of Backend: time 4.1e-07/0.4508, allocations: 0 / 0.6333 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00389/0.4547, allocations: 1.912 MB / 0.6352 GB, free: 3.902 MB / 446.1 MB Notification: Performance of SimCode: time 0.01051/0.4652, allocations: 6.539 MB / 0.6416 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Templates: time 0.05869/0.5239, allocations: 36.37 MB / 0.6771 GB, free: 9.312 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)