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.001169/0.001169, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.368/1.368, allocations: 222.9 MB / 239.6 MB, free: 4.781 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.001232/0.001232, allocations: 196.4 kB / 289.9 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.034/0.034, allocations: 8.787 MB / 348.9 MB, free: 4.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 77.75 kB / 411.2 MB, free: 42.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 51.57 MB / 462.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.02686/0.159, allocations: 15.74 MB / 478.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1701, allocations: 5.212 MB / 483.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.1736, allocations: 91.69 kB / 483.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.1782, allocations: 1.073 MB / 484.9 MB, free: 8.613 MB / 318.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.006381/0.1846, allocations: 1.372 MB / 486.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.1884, allocations: 0.9029 MB / 487.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00757/0.196, allocations: 4.698 MB / 491.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005952/0.2019, allocations: 3.485 MB / 495.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.2052, allocations: 1.951 MB / 497.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.2088, allocations: 2.311 MB / 499.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.2105, allocations: 0.5547 MB / 0.4885 GB, free: 9.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.2137, allocations: 0.7732 MB / 0.4892 GB, free: 8.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.2158, allocations: 1.231 MB / 0.4904 GB, free: 7.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005042/0.2208, allocations: 2.365 MB / 0.4927 GB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008865/0.2297, allocations: 6.193 MB / 0.4988 GB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2298, allocations: 0 / 0.4988 GB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.2298, allocations: 0 / 0.4988 GB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002728/0.2301, allocations: 0 / 0.4988 GB, free: 14.64 MB / 350.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.01746/0.2475, allocations: 4.814 MB / 0.5035 GB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.2476, allocations: 16.03 kB / 0.5035 GB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/0.2539, allocations: 0.9445 MB / 0.5044 GB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006693/0.2606, allocations: 2.562 MB / 0.5069 GB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.261, allocations: 275.7 kB / 0.5072 GB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.2624, allocations: 368 kB / 0.5075 GB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.2727, allocations: 4.67 MB / 0.5121 GB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.851e-05/0.2728, allocations: 4 kB / 0.5121 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.2732, allocations: 152 kB / 0.5122 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.2734, allocations: 151.3 kB / 0.5124 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.2815, allocations: 3.905 MB / 0.5162 GB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2539/0.5354, allocations: 15.36 MB / 0.5312 GB, free: 57.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/0.5407, allocations: 5.955 MB / 0.537 GB, free: 53.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.5432, allocations: 1.263 MB / 0.5383 GB, free: 53.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008064/0.5513, allocations: 4.167 MB / 0.5423 GB, free: 52.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.5513, allocations: 47.69 kB / 0.5424 GB, free: 52.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 4.89e-06/0.5514, allocations: 2.625 kB / 0.5424 GB, free: 52.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.01311/0.5645, allocations: 5.306 MB / 0.5476 GB, free: 51.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.5646, allocations: 66.62 kB / 0.5476 GB, free: 51.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/0.5698, allocations: 2.175 MB / 0.5497 GB, free: 50.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.5701, allocations: 50.42 kB / 0.5498 GB, free: 50.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.5714, allocations: 1.728 MB / 0.5515 GB, free: 49.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/0.5719, allocations: 0.4953 MB / 0.552 GB, free: 49.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008238/0.5728, allocations: 414.3 kB / 0.5524 GB, free: 49.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.5728, allocations: 301.1 kB / 0.5526 GB, free: 49.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5744, allocations: 0.7688 MB / 0.5534 GB, free: 48.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.576, allocations: 1.548 MB / 0.5549 GB, free: 47.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.5884, allocations: 4.78 MB / 0.5596 GB, free: 44.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/0.5885, allocations: 11.84 kB / 0.5596 GB, free: 44.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004987/0.5935, allocations: 2.799 MB / 0.5623 GB, free: 43.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.5936, allocations: 16.69 kB / 0.5623 GB, free: 43.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/0.5936, allocations: 26.88 kB / 0.5624 GB, free: 43.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/0.5945, allocations: 284.9 kB / 0.5626 GB, free: 43.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.5963, allocations: 0.4917 MB / 0.5631 GB, free: 43.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.5998, allocations: 3.432 MB / 0.5665 GB, free: 40.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.602, allocations: 97 kB / 0.5666 GB, free: 40.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.6022, allocations: 100.1 kB / 0.5666 GB, free: 40.2 MB / 366.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.002147/0.6044, allocations: 1.09 MB / 0.5677 GB, free: 39.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.6051, allocations: 230.8 kB / 0.5679 GB, free: 39.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.6082, allocations: 1.776 MB / 0.5697 GB, free: 38.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6083, allocations: 18.09 kB / 0.5697 GB, free: 38.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6083, allocations: 3.719 kB / 0.5697 GB, free: 38.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.6083, allocations: 10.23 kB / 0.5697 GB, free: 38.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008537/0.6169, allocations: 5.034 MB / 0.5746 GB, free: 34.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.6169, allocations: 4 kB / 0.5746 GB, free: 34.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.618, allocations: 256 kB / 0.5749 GB, free: 34.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/0.6186, allocations: 224.6 kB / 0.5751 GB, free: 34.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.6188, allocations: 36.61 kB / 0.5751 GB, free: 34.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.6219, allocations: 3.309 MB / 0.5783 GB, free: 30.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6219, allocations: 5.859 kB / 0.5783 GB, free: 30.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.6257, allocations: 2.67 MB / 0.581 GB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.6268, allocations: 462.2 kB / 0.5814 GB, free: 27.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006219/0.6275, allocations: 28 kB / 0.5814 GB, free: 27.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.6289, allocations: 59.95 kB / 0.5815 GB, free: 27.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.6291, allocations: 101.1 kB / 0.5816 GB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.6292, allocations: 40.69 kB / 0.5816 GB, free: 27.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002264/0.6314, allocations: 1.47 MB / 0.5831 GB, free: 25.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6315, allocations: 1.641 kB / 0.5831 GB, free: 25.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002756/0.6342, allocations: 0.6301 MB / 0.5837 GB, free: 25.12 MB / 366.1 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.0004017/0.6346, allocations: 173 kB / 0.5838 GB, free: 24.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004965/0.6396, allocations: 2.515 MB / 0.5863 GB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6397, allocations: 4.062 kB / 0.5863 GB, free: 22.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.641, allocations: 0.9529 MB / 0.5872 GB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.6443, allocations: 0.5853 MB / 0.5878 GB, free: 20.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.6552, allocations: 7.518 MB / 0.5951 GB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.6575, allocations: 2.366 MB / 0.5974 GB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.6582, allocations: 171.4 kB / 0.5976 GB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6582, allocations: 0 / 0.5976 GB, free: 10.78 MB / 366.1 MB Notification: Performance of Templates: time 0.08485/0.7431, allocations: 68.4 MB / 0.6644 GB, free: 6.477 MB / 430.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)