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.0009466/0.0009467, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.309/1.309, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001073/0.001073, allocations: 180.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03288/0.03288, allocations: 8.801 MB / 350.5 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003491, allocations: 14.47 kB / 413.8 MB, free: 42.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07787, allocations: 52.56 MB / 466.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01394/0.09185, allocations: 15.01 MB / 481.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009558/0.1015, allocations: 5.181 MB / 486.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.1043, allocations: 87.69 kB / 486.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.1085, allocations: 1.069 MB / 487.7 MB, free: 7.691 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.006671/0.1152, allocations: 1.372 MB / 489.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.1184, allocations: 0.902 MB / 490 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00763/0.1261, allocations: 4.822 MB / 494.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004985/0.1311, allocations: 2.859 MB / 497.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.1336, allocations: 1.455 MB / 499.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.1366, allocations: 1.874 MB / 0.4893 GB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008778/0.1375, allocations: 232 kB / 0.4895 GB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1392, allocations: 455.7 kB / 0.4899 GB, free: 9.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.1404, allocations: 0.8404 MB / 0.4907 GB, free: 8.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.143, allocations: 1.968 MB / 0.4927 GB, free: 6.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005893/0.1489, allocations: 6.84 MB / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1489, allocations: 0 / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1489, allocations: 4 kB / 0.4993 GB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.1491, allocations: 0 / 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.009739/0.1588, allocations: 4.07 MB / 0.5033 GB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1589, allocations: 8.031 kB / 0.5033 GB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.1641, allocations: 0.9485 MB / 0.5043 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004837/0.169, allocations: 2.566 MB / 0.5068 GB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.1692, allocations: 283.8 kB / 0.507 GB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/0.1699, allocations: 372 kB / 0.5074 GB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008748/0.1787, allocations: 4.674 MB / 0.5119 GB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/0.1788, allocations: 3.938 kB / 0.512 GB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/0.1791, allocations: 152 kB / 0.5121 GB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.1793, allocations: 151.3 kB / 0.5122 GB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007091/0.1864, allocations: 3.902 MB / 0.5161 GB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.227/0.4134, allocations: 15.46 MB / 0.5311 GB, free: 59.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/0.419, allocations: 5.947 MB / 0.537 GB, free: 55.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.4211, allocations: 1.261 MB / 0.5382 GB, free: 55.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006717/0.4278, allocations: 4.173 MB / 0.5423 GB, free: 53.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4279, allocations: 52.97 kB / 0.5423 GB, free: 53.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 3.427e-06/0.4279, allocations: 0 / 0.5423 GB, free: 53.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.01213/0.44, allocations: 5.315 MB / 0.5475 GB, free: 52.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.4401, allocations: 68.25 kB / 0.5476 GB, free: 52.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/0.4456, allocations: 2.178 MB / 0.5497 GB, free: 52.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.446, allocations: 50.61 kB / 0.5497 GB, free: 52.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4476, allocations: 1.731 MB / 0.5514 GB, free: 51.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.4481, allocations: 0.4909 MB / 0.5519 GB, free: 51.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.4484, allocations: 181.8 kB / 0.5521 GB, free: 51.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.4485, allocations: 301.1 kB / 0.5524 GB, free: 50.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4499, allocations: 0.772 MB / 0.5531 GB, free: 50.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.4516, allocations: 1.542 MB / 0.5546 GB, free: 49.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.4643, allocations: 4.764 MB / 0.5593 GB, free: 46.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/0.4644, allocations: 11 kB / 0.5593 GB, free: 46.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004628/0.469, allocations: 2.804 MB / 0.562 GB, free: 45.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.4691, allocations: 16.84 kB / 0.562 GB, free: 45.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/0.4691, allocations: 25.22 kB / 0.5621 GB, free: 45.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007667/0.4699, allocations: 293.8 kB / 0.5624 GB, free: 45.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.4715, allocations: 495.6 kB / 0.5628 GB, free: 45.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.4748, allocations: 3.173 MB / 0.5659 GB, free: 42.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.4768, allocations: 102 kB / 0.566 GB, free: 42.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.477, allocations: 103.5 kB / 0.5661 GB, free: 42.45 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[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.001775/0.4788, allocations: 1.085 MB / 0.5672 GB, free: 41.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.4794, allocations: 225.6 kB / 0.5674 GB, free: 41.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.4824, allocations: 1.78 MB / 0.5691 GB, free: 40.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4824, allocations: 15.41 kB / 0.5691 GB, free: 40.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4825, allocations: 4.656 kB / 0.5692 GB, free: 40.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4825, allocations: 7.969 kB / 0.5692 GB, free: 40.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008939/0.4914, allocations: 5.036 MB / 0.5741 GB, free: 36.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4915, allocations: 0.6875 kB / 0.5741 GB, free: 36.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.4926, allocations: 265.6 kB / 0.5743 GB, free: 36.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006281/0.4932, allocations: 220.7 kB / 0.5745 GB, free: 36.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.4933, allocations: 32 kB / 0.5746 GB, free: 36.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/0.4963, allocations: 3.053 MB / 0.5776 GB, free: 33.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4963, allocations: 4 kB / 0.5776 GB, free: 33.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.5, allocations: 2.674 MB / 0.5802 GB, free: 30.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/0.501, allocations: 469.9 kB / 0.5806 GB, free: 30.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/0.5016, allocations: 32 kB / 0.5806 GB, free: 30.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.503, allocations: 59.97 kB / 0.5807 GB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.5032, allocations: 105 kB / 0.5808 GB, free: 29.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.5033, allocations: 39.98 kB / 0.5808 GB, free: 29.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002726/0.5061, allocations: 1.466 MB / 0.5823 GB, free: 28.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5061, allocations: 0 / 0.5823 GB, free: 28.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003125/0.5092, allocations: 0.6289 MB / 0.5829 GB, free: 27.73 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.000364/0.5096, allocations: 160 kB / 0.583 GB, free: 27.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.5129, allocations: 2.159 MB / 0.5852 GB, free: 25.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5129, allocations: 4 kB / 0.5852 GB, free: 25.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5143, allocations: 0.9461 MB / 0.5861 GB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.5179, allocations: 0.549 MB / 0.5866 GB, free: 23.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/0.5273, allocations: 7.661 MB / 0.5941 GB, free: 16.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.5289, allocations: 2.423 MB / 0.5965 GB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001895/0.5308, allocations: 0.4956 MB / 0.5969 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.5312, allocations: 147.4 kB / 0.5971 GB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.744e-06/0.5312, allocations: 0 / 0.5971 GB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.04793/0.5792, allocations: 29.18 MB / 0.6256 GB, free: 184 kB / 382.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: