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.0009958/0.0009958, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.224/1.224, allocations: 222.9 MB / 238.9 MB, free: 4.766 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.001158/0.001158, allocations: 188.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03152/0.03152, allocations: 8.791 MB / 348.1 MB, free: 4.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 74.3 kB / 410.4 MB, free: 42.42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07895/0.08024, allocations: 51.56 MB / 461.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01456/0.09484, allocations: 15.74 MB / 477.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1049, allocations: 5.251 MB / 482.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.1067, allocations: 87.69 kB / 483 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.1092, allocations: 1.069 MB / 484.1 MB, free: 8.66 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.003137/0.1124, allocations: 1.379 MB / 485.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.1141, allocations: 0.9072 MB / 486.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004425/0.1185, allocations: 4.824 MB / 491.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.1215, allocations: 2.894 MB / 494.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.1234, allocations: 1.665 MB / 495.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.1254, allocations: 2.155 MB / 497.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.1259, allocations: 340 kB / 498.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.127, allocations: 0.5427 MB / 498.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.1278, allocations: 0.9926 MB / 499.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.1297, allocations: 2.123 MB / 0.4901 GB, free: 6.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005295/0.135, allocations: 7.076 MB / 0.4971 GB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.135, allocations: 0 / 0.4971 GB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.135, allocations: 0 / 0.4971 GB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.1351, allocations: 0 / 0.4971 GB, free: 15.63 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.01016/0.1453, allocations: 4.814 MB / 0.5018 GB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1454, allocations: 12.03 kB / 0.5018 GB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.1501, allocations: 0.9445 MB / 0.5027 GB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.1543, allocations: 2.558 MB / 0.5052 GB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.1545, allocations: 275.8 kB / 0.5055 GB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/0.1549, allocations: 372 kB / 0.5058 GB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007015/0.162, allocations: 4.674 MB / 0.5104 GB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.1621, allocations: 0 / 0.5104 GB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.1624, allocations: 148 kB / 0.5105 GB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.1625, allocations: 151.3 kB / 0.5107 GB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0058/0.1683, allocations: 3.901 MB / 0.5145 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/0.3379, allocations: 15.37 MB / 0.5295 GB, free: 59.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.3421, allocations: 5.952 MB / 0.5353 GB, free: 54.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.344, allocations: 1.262 MB / 0.5365 GB, free: 54.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005902/0.3499, allocations: 4.163 MB / 0.5406 GB, free: 53.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3499, allocations: 48.56 kB / 0.5406 GB, free: 53.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 2.635e-06/0.3499, allocations: 1.188 kB / 0.5406 GB, free: 53.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.009763/0.3597, allocations: 5.3 MB / 0.5458 GB, free: 52.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3598, allocations: 67.12 kB / 0.5459 GB, free: 52.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.3623, allocations: 2.182 MB / 0.548 GB, free: 52.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.3624, allocations: 50.7 kB / 0.5481 GB, free: 52.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/0.3631, allocations: 1.727 MB / 0.5497 GB, free: 51.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.3634, allocations: 0.503 MB / 0.5502 GB, free: 50.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.3639, allocations: 405.9 kB / 0.5506 GB, free: 50.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.364, allocations: 302.2 kB / 0.5509 GB, free: 50.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.365, allocations: 0.7688 MB / 0.5517 GB, free: 50.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.3664, allocations: 1.552 MB / 0.5532 GB, free: 48.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.3776, allocations: 4.754 MB / 0.5578 GB, free: 46.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.3776, allocations: 7.188 kB / 0.5578 GB, free: 46.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003762/0.3814, allocations: 2.805 MB / 0.5606 GB, free: 44.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3815, allocations: 15 kB / 0.5606 GB, free: 44.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3815, allocations: 25.75 kB / 0.5606 GB, free: 44.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/0.3822, allocations: 287.9 kB / 0.5609 GB, free: 44.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.3836, allocations: 0.4895 MB / 0.5614 GB, free: 44.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.3865, allocations: 3.169 MB / 0.5644 GB, free: 42.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.388, allocations: 98.25 kB / 0.5645 GB, free: 42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3882, allocations: 103.8 kB / 0.5646 GB, free: 41.98 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.001403/0.3896, allocations: 1.084 MB / 0.5657 GB, free: 41.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.3899, allocations: 227 kB / 0.5659 GB, free: 41.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.3924, allocations: 1.778 MB / 0.5677 GB, free: 40.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3924, allocations: 10.94 kB / 0.5677 GB, free: 40.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3924, allocations: 5.922 kB / 0.5677 GB, free: 40.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3924, allocations: 8.672 kB / 0.5677 GB, free: 40.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/0.3983, allocations: 5.04 MB / 0.5726 GB, free: 35.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3983, allocations: 0.6875 kB / 0.5726 GB, free: 35.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.3994, allocations: 260 kB / 0.5728 GB, free: 35.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005694/0.3999, allocations: 222 kB / 0.5731 GB, free: 35.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.4, allocations: 35.98 kB / 0.5731 GB, free: 35.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.4026, allocations: 3.036 MB / 0.5761 GB, free: 31.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4027, allocations: 12.69 kB / 0.5761 GB, free: 31.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.4061, allocations: 2.673 MB / 0.5787 GB, free: 29.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/0.4068, allocations: 469.9 kB / 0.5791 GB, free: 28.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.407, allocations: 28 kB / 0.5792 GB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.4079, allocations: 55.97 kB / 0.5792 GB, free: 28.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.4081, allocations: 101.1 kB / 0.5793 GB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.4082, allocations: 43.98 kB / 0.5793 GB, free: 28.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001657/0.4099, allocations: 1.466 MB / 0.5808 GB, free: 27.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4099, allocations: 0 / 0.5808 GB, free: 27.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001755/0.4117, allocations: 0.634 MB / 0.5814 GB, free: 26.4 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.0002406/0.4119, allocations: 175.8 kB / 0.5816 GB, free: 26.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.4143, allocations: 2.151 MB / 0.5837 GB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4144, allocations: 0 / 0.5837 GB, free: 24.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.4154, allocations: 0.9539 MB / 0.5846 GB, free: 23.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4175, allocations: 0.5414 MB / 0.5851 GB, free: 22.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.425, allocations: 7.548 MB / 0.5925 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.4263, allocations: 2.42 MB / 0.5949 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001484/0.4278, allocations: 0.4995 MB / 0.5953 GB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.4281, allocations: 151.4 kB / 0.5955 GB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4282, allocations: 0 / 0.5955 GB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.04288/0.471, allocations: 29.5 MB / 0.6243 GB, free: 14.66 MB / 398.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)