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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03704/0.03704, allocations: 8.792 MB / 25.52 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 251.3 MB, free: 7.273 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 102.3 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01103/0.1896, allocations: 15.74 MB / 433.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007051/0.1967, allocations: 5.228 MB / 438.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.1989, allocations: 91.69 kB / 438.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.2016, allocations: 1.073 MB / 439.7 MB, free: 14.68 MB / 314.7 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.003966/0.2056, allocations: 1.385 MB / 441 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.2075, allocations: 0.9196 MB / 442 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005627/0.2131, allocations: 4.885 MB / 446.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.2164, allocations: 2.89 MB / 449.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.2183, allocations: 1.681 MB / 451.4 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.2202, allocations: 2.144 MB / 453.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004358/0.2207, allocations: 336 kB / 453.9 MB, free: 360 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2217, allocations: 0.5388 MB / 454.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007058/0.2224, allocations: 1 MB / 455.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.2242, allocations: 2.123 MB / 457.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.2293, allocations: 7.08 MB / 464.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2293, allocations: 0 / 464.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2293, allocations: 0 / 464.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.649e-05/0.2294, allocations: 0 / 464.6 MB, free: 5.57 MB / 330.7 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.01199/0.2414, allocations: 4.814 MB / 469.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.2415, allocations: 8.031 kB / 469.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.2461, allocations: 0.9407 MB / 470.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.251, allocations: 2.562 MB / 473 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.2511, allocations: 275.8 kB / 473.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.2517, allocations: 372 kB / 473.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008179/0.2599, allocations: 4.667 MB / 478.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-05/0.2599, allocations: 4 kB / 478.3 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.2602, allocations: 144 kB / 478.4 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.2604, allocations: 159.3 kB / 478.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005875/0.2663, allocations: 3.905 MB / 482.5 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/0.2875, allocations: 15.38 MB / 497.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1634/0.4509, allocations: 5.946 MB / 0.492 GB, free: 64.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.4535, allocations: 1.263 MB / 0.4932 GB, free: 64.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.4595, allocations: 4.171 MB / 0.4973 GB, free: 62.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4595, allocations: 46.19 kB / 0.4973 GB, free: 62.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 3.346e-06/0.4595, allocations: 0 / 0.4973 GB, free: 62.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.009189/0.4687, allocations: 5.308 MB / 0.5025 GB, free: 59.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4688, allocations: 66.78 kB / 0.5026 GB, free: 59.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.4715, allocations: 2.176 MB / 0.5047 GB, free: 58.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.4716, allocations: 47.02 kB / 0.5048 GB, free: 58.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.4724, allocations: 1.723 MB / 0.5064 GB, free: 57.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.4727, allocations: 0.4989 MB / 0.5069 GB, free: 56.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/0.4733, allocations: 413.8 kB / 0.5073 GB, free: 56.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.4733, allocations: 306.3 kB / 0.5076 GB, free: 56.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009803/0.4743, allocations: 0.7701 MB / 0.5084 GB, free: 56.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4757, allocations: 1.543 MB / 0.5099 GB, free: 54.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.4865, allocations: 4.764 MB / 0.5145 GB, free: 52.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.4866, allocations: 7.562 kB / 0.5145 GB, free: 52.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003765/0.4903, allocations: 2.801 MB / 0.5173 GB, free: 50.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.4904, allocations: 19.94 kB / 0.5173 GB, free: 50.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.4904, allocations: 24.59 kB / 0.5173 GB, free: 50.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.4911, allocations: 285.5 kB / 0.5176 GB, free: 50.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.4926, allocations: 499.2 kB / 0.5181 GB, free: 49.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.4954, allocations: 3.163 MB / 0.5211 GB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.4972, allocations: 91.81 kB / 0.5212 GB, free: 46.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.4973, allocations: 104 kB / 0.5213 GB, free: 46.44 MB / 362.7 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.001592/0.4989, allocations: 1.091 MB / 0.5224 GB, free: 45.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.4992, allocations: 221.3 kB / 0.5226 GB, free: 45.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.5018, allocations: 1.788 MB / 0.5244 GB, free: 43.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5018, allocations: 16 kB / 0.5244 GB, free: 43.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5018, allocations: 2.688 kB / 0.5244 GB, free: 43.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5018, allocations: 11.97 kB / 0.5244 GB, free: 43.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/0.5079, allocations: 5.025 MB / 0.5293 GB, free: 38.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5079, allocations: 4 kB / 0.5293 GB, free: 38.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009851/0.5089, allocations: 259.6 kB / 0.5295 GB, free: 37.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005472/0.5094, allocations: 228.9 kB / 0.5298 GB, free: 37.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/0.5095, allocations: 28 kB / 0.5298 GB, free: 37.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.5121, allocations: 3.034 MB / 0.5327 GB, free: 34.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5121, allocations: 7.938 kB / 0.5328 GB, free: 34.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.5299, allocations: 15.25 MB / 0.5476 GB, free: 18.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/0.5305, allocations: 462.1 kB / 0.5481 GB, free: 18.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.5307, allocations: 35.92 kB / 0.5481 GB, free: 18.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009182/0.5317, allocations: 60.03 kB / 0.5482 GB, free: 18.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.5319, allocations: 97.11 kB / 0.5483 GB, free: 18.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.5319, allocations: 43.98 kB / 0.5483 GB, free: 18.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00149/0.5334, allocations: 1.462 MB / 0.5497 GB, free: 16.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5334, allocations: 4 kB / 0.5497 GB, free: 16.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002035/0.5355, allocations: 0.8582 MB / 0.5506 GB, free: 15.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * 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 simulation (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002083/0.5357, allocations: 157.6 kB / 0.5507 GB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.5381, allocations: 2.158 MB / 0.5528 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5381, allocations: 0 / 0.5528 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.5392, allocations: 0.959 MB / 0.5538 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.5412, allocations: 0.5447 MB / 0.5543 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00838/0.5495, allocations: 8.663 MB / 0.5628 GB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.5511, allocations: 2.462 MB / 0.5652 GB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001728/0.5528, allocations: 0.5034 MB / 0.5657 GB, free: 332 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.5533, allocations: 163.4 kB / 0.5658 GB, free: 172 kB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5533, allocations: 0 / 0.5658 GB, free: 172 kB / 362.7 MB Notification: Performance of Templates: time 0.05226/0.6056, allocations: 33.62 MB / 0.5987 GB, free: 14.88 MB / 410.7 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)