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.0008002/0.0007998, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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: 223.3 MB / 239.4 MB, free: 5.512 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.001281/0.001281, allocations: 168.6 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03353/0.03353, allocations: 8.802 MB / 350.5 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 10.09 kB / 413.8 MB, free: 42.81 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.07862, allocations: 52.55 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01511/0.09378, allocations: 15.01 MB / 481.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009352/0.1032, allocations: 5.189 MB / 486.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.1058, allocations: 91.62 kB / 486.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003063/0.1089, allocations: 1.057 MB / 487.7 MB, free: 7.699 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.004192/0.1131, allocations: 1.376 MB / 489.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.1154, allocations: 0.9003 MB / 490 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006264/0.1217, allocations: 4.832 MB / 494.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.1256, allocations: 2.855 MB / 497.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.1277, allocations: 1.451 MB / 499.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.1304, allocations: 1.87 MB / 0.4893 GB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.131, allocations: 232 kB / 0.4895 GB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.1323, allocations: 455.7 kB / 0.4899 GB, free: 9.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008223/0.1332, allocations: 0.8442 MB / 0.4907 GB, free: 8.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.1356, allocations: 1.968 MB / 0.4927 GB, free: 6.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.1423, allocations: 6.844 MB / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1424, allocations: 0 / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1424, allocations: 0 / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001849/0.1426, allocations: 4 kB / 0.4993 GB, free: 15.94 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.01047/0.153, allocations: 4.062 MB / 0.5033 GB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1531, allocations: 8.031 kB / 0.5033 GB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/0.1589, allocations: 0.9485 MB / 0.5042 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.1641, allocations: 2.569 MB / 0.5068 GB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.1643, allocations: 279.7 kB / 0.507 GB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007122/0.165, allocations: 372 kB / 0.5074 GB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008639/0.1737, allocations: 4.684 MB / 0.5119 GB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.507e-05/0.1738, allocations: 8 kB / 0.512 GB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.1741, allocations: 155.9 kB / 0.5121 GB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.1743, allocations: 163.3 kB / 0.5123 GB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/0.1813, allocations: 3.905 MB / 0.5161 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1999/0.3813, allocations: 15.6 MB / 0.5313 GB, free: 58.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005847/0.3872, allocations: 6.129 MB / 0.5373 GB, free: 54.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.3902, allocations: 1.39 MB / 0.5387 GB, free: 54.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009166/0.3993, allocations: 4.301 MB / 0.5429 GB, free: 52.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3994, allocations: 52.75 kB / 0.5429 GB, free: 52.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=125): time 3.606e-06/0.3994, allocations: 0 / 0.5429 GB, free: 52.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=156): time 0.01612/0.4155, allocations: 6.196 MB / 0.549 GB, free: 51.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.4156, allocations: 71.91 kB / 0.549 GB, free: 51.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.4185, allocations: 2.092 MB / 0.5511 GB, free: 51.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.4186, allocations: 54.77 kB / 0.5511 GB, free: 51.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.4195, allocations: 1.694 MB / 0.5528 GB, free: 50.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.4198, allocations: 0.5373 MB / 0.5533 GB, free: 50.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.42, allocations: 187.3 kB / 0.5535 GB, free: 50.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.4201, allocations: 308.2 kB / 0.5538 GB, free: 49.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.4213, allocations: 0.7814 MB / 0.5545 GB, free: 49.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.4227, allocations: 1.548 MB / 0.556 GB, free: 48.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.4343, allocations: 4.835 MB / 0.5608 GB, free: 45.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.4344, allocations: 7.75 kB / 0.5608 GB, free: 45.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004701/0.4391, allocations: 2.884 MB / 0.5636 GB, free: 44.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4391, allocations: 18.12 kB / 0.5636 GB, free: 44.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.4392, allocations: 26.38 kB / 0.5636 GB, free: 44.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008776/0.44, allocations: 372.2 kB / 0.564 GB, free: 43.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.4415, allocations: 482.8 kB / 0.5644 GB, free: 43.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.4454, allocations: 3.83 MB / 0.5682 GB, free: 40.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4472, allocations: 101.5 kB / 0.5683 GB, free: 40.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.4473, allocations: 102.6 kB / 0.5684 GB, free: 40.8 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 sytem: 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.001755/0.4491, allocations: 1.094 MB / 0.5694 GB, free: 40.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.4494, allocations: 231.6 kB / 0.5697 GB, free: 39.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/0.4523, allocations: 1.999 MB / 0.5716 GB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4523, allocations: 14.78 kB / 0.5716 GB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4524, allocations: 9.781 kB / 0.5716 GB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4524, allocations: 7.969 kB / 0.5717 GB, free: 38.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/0.4593, allocations: 5.503 MB / 0.577 GB, free: 33.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4594, allocations: 0 / 0.577 GB, free: 33.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.4604, allocations: 276 kB / 0.5773 GB, free: 33.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007483/0.4611, allocations: 295.5 kB / 0.5776 GB, free: 32.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-05/0.4612, allocations: 42.83 kB / 0.5776 GB, free: 32.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.4647, allocations: 3.584 MB / 0.5811 GB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.4648, allocations: 5.875 kB / 0.5811 GB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.4685, allocations: 2.949 MB / 0.584 GB, free: 26.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.4694, allocations: 474.3 kB / 0.5844 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.4696, allocations: 36.69 kB / 0.5845 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009783/0.4706, allocations: 67.88 kB / 0.5845 GB, free: 25.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4708, allocations: 109 kB / 0.5847 GB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.4709, allocations: 47.98 kB / 0.5847 GB, free: 25.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001682/0.4726, allocations: 1.414 MB / 0.5861 GB, free: 23.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4726, allocations: 0 / 0.5861 GB, free: 23.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001896/0.4745, allocations: 0.6445 MB / 0.5867 GB, free: 23.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (132): * Single equations (assignments): 131 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.4748, allocations: 166.3 kB / 0.5869 GB, free: 23.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.4778, allocations: 2.293 MB / 0.5891 GB, free: 20.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4778, allocations: 0 / 0.5891 GB, free: 20.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.4792, allocations: 1.075 MB / 0.5902 GB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.4824, allocations: 0.5485 MB / 0.5907 GB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/0.4914, allocations: 7.82 MB / 0.5983 GB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.4932, allocations: 2.44 MB / 0.6007 GB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001802/0.495, allocations: 495.6 kB / 0.6012 GB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.4955, allocations: 155.4 kB / 0.6013 GB, free: 8.223 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4955, allocations: 0 / 0.6013 GB, free: 8.223 MB / 366.1 MB Notification: Performance of Templates: time 0.05229/0.5478, allocations: 30.22 MB / 0.6308 GB, free: 10.28 MB / 398.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: