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.001342/0.001342, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.456/1.456, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001559/0.001559, allocations: 192.5 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03296/0.03296, allocations: 8.793 MB / 350.1 MB, free: 4.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 13.84 kB / 413.1 MB, free: 43.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09661, allocations: 52.56 MB / 465.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01496/0.1116, allocations: 12.82 MB / 478.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009973/0.1216, allocations: 5.072 MB / 483.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.1242, allocations: 79.69 kB / 483.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.1275, allocations: 0.925 MB / 484.6 MB, free: 10.7 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.006766/0.1343, allocations: 1.383 MB / 485.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.1371, allocations: 0.6779 MB / 486.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006149/0.1432, allocations: 3.14 MB / 489.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004002/0.1472, allocations: 2.413 MB / 492.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.1498, allocations: 1.401 MB / 493.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.1528, allocations: 1.646 MB / 495.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008542/0.1537, allocations: 232 kB / 495.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.1556, allocations: 411.6 kB / 495.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1567, allocations: 0.802 MB / 496.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.1578, allocations: 0.8239 MB / 497.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.1639, allocations: 5.925 MB / 0.4916 GB, free: 7.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1639, allocations: 0 / 0.4916 GB, free: 7.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.164, allocations: 0 / 0.4916 GB, free: 7.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000204/0.1642, allocations: 0 / 0.4916 GB, free: 7.77 MB / 334.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.01039/0.1746, allocations: 4.101 MB / 0.4956 GB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1746, allocations: 8.031 kB / 0.4956 GB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.1798, allocations: 0.9475 MB / 0.4965 GB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.1853, allocations: 2.519 MB / 0.499 GB, free: 64 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.1856, allocations: 283.4 kB / 0.4993 GB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006919/0.1863, allocations: 363.9 kB / 0.4996 GB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008581/0.1949, allocations: 4.608 MB / 0.5041 GB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-05/0.195, allocations: 15.89 kB / 0.5041 GB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/0.1954, allocations: 148 kB / 0.5043 GB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.1955, allocations: 155.3 kB / 0.5044 GB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008815/0.2043, allocations: 3.874 MB / 0.5082 GB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.2341, allocations: 15.41 MB / 0.5232 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006574/0.2407, allocations: 5.941 MB / 0.529 GB, free: 24 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1981/0.4388, allocations: 4.122 MB / 0.5331 GB, free: 61.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4389, allocations: 52.14 kB / 0.5331 GB, free: 61.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 2.595e-06/0.4389, allocations: 0.6562 kB / 0.5331 GB, free: 61.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=149): time 0.01068/0.4496, allocations: 5.369 MB / 0.5384 GB, free: 60.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4497, allocations: 70.44 kB / 0.5384 GB, free: 60.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.4529, allocations: 2.127 MB / 0.5405 GB, free: 60.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.453, allocations: 54.14 kB / 0.5406 GB, free: 60.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.4545, allocations: 1.718 MB / 0.5422 GB, free: 59.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.4549, allocations: 0.5151 MB / 0.5427 GB, free: 59.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.455, allocations: 48.66 kB / 0.5428 GB, free: 59.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4551, allocations: 393.6 kB / 0.5432 GB, free: 58.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4563, allocations: 0.7706 MB / 0.5439 GB, free: 58.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4578, allocations: 1.532 MB / 0.5454 GB, free: 57.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.468, allocations: 2.744 MB / 0.5481 GB, free: 56.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.796e-05/0.4681, allocations: 7.625 kB / 0.5481 GB, free: 56.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005863/0.4739, allocations: 2.807 MB / 0.5508 GB, free: 55.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.474, allocations: 16.38 kB / 0.5509 GB, free: 55.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/0.474, allocations: 23.66 kB / 0.5509 GB, free: 55.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007109/0.4747, allocations: 282.2 kB / 0.5511 GB, free: 55.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4763, allocations: 0.5004 MB / 0.5516 GB, free: 55.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.4794, allocations: 3.2 MB / 0.5548 GB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4813, allocations: 90.92 kB / 0.5548 GB, free: 53.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4814, allocations: 107.4 kB / 0.5549 GB, free: 53.09 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: 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 (264): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001769/0.4832, allocations: 1.083 MB / 0.556 GB, free: 52.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.4836, allocations: 224.9 kB / 0.5562 GB, free: 52.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.4863, allocations: 1.819 MB / 0.558 GB, free: 51.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.4863, allocations: 11.72 kB / 0.558 GB, free: 51.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4863, allocations: 11.83 kB / 0.558 GB, free: 51.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4863, allocations: 3.984 kB / 0.558 GB, free: 51.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.4932, allocations: 5.083 MB / 0.563 GB, free: 48.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4932, allocations: 3.172 kB / 0.563 GB, free: 48.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4943, allocations: 268.5 kB / 0.5632 GB, free: 48.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005225/0.4949, allocations: 220.9 kB / 0.5635 GB, free: 48.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.495, allocations: 36.45 kB / 0.5635 GB, free: 48.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.4977, allocations: 3.071 MB / 0.5665 GB, free: 45.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4977, allocations: 7.844 kB / 0.5665 GB, free: 45.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.5011, allocations: 2.884 MB / 0.5693 GB, free: 42.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.5021, allocations: 466.3 kB / 0.5698 GB, free: 41.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.5024, allocations: 31.98 kB / 0.5698 GB, free: 41.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.5034, allocations: 65.16 kB / 0.5699 GB, free: 41.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.5035, allocations: 101.1 kB / 0.5699 GB, free: 41.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.5036, allocations: 47.98 kB / 0.57 GB, free: 41.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.5055, allocations: 1.423 MB / 0.5714 GB, free: 40.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5055, allocations: 0 / 0.5714 GB, free: 40.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003008/0.5085, allocations: 0.6367 MB / 0.572 GB, free: 39.64 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 (130): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003636/0.5089, allocations: 167.5 kB / 0.5722 GB, free: 39.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.5118, allocations: 2.178 MB / 0.5743 GB, free: 37.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5118, allocations: 0 / 0.5743 GB, free: 37.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.513, allocations: 0.9742 MB / 0.5752 GB, free: 36.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5153, allocations: 0.5336 MB / 0.5758 GB, free: 35.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.5249, allocations: 7.27 MB / 0.5829 GB, free: 28.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.5265, allocations: 2.482 MB / 0.5853 GB, free: 25.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001804/0.5283, allocations: 0.5035 MB / 0.5858 GB, free: 25.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.5287, allocations: 147.4 kB / 0.5859 GB, free: 25.29 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5287, allocations: 0 / 0.5859 GB, free: 25.29 MB / 366.1 MB Notification: Performance of Templates: time 0.04243/0.5711, allocations: 28.27 MB / 0.6135 GB, free: 13.31 MB / 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: