Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03776/0.03776, allocations: 8.794 MB / 25.53 MB, free: 3.738 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 251.3 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 117.2 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 366 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.179, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01147/0.1905, allocations: 15.74 MB / 433.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007491/0.198, allocations: 5.24 MB / 438.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.2009, allocations: 91.69 kB / 438.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.2046, allocations: 1.069 MB / 439.7 MB, free: 14.68 MB / 314.7 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.004428/0.2091, allocations: 1.391 MB / 441.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.2114, allocations: 0.906 MB / 442 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006138/0.2176, allocations: 4.887 MB / 446.9 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.2213, allocations: 2.879 MB / 449.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.2237, allocations: 1.685 MB / 451.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.2261, allocations: 2.148 MB / 453.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006129/0.2268, allocations: 340 kB / 453.9 MB, free: 356 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.2281, allocations: 0.5427 MB / 454.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.2289, allocations: 1 MB / 455.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.2311, allocations: 2.123 MB / 457.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006169/0.2373, allocations: 7.08 MB / 464.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2373, allocations: 0 / 464.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.2374, allocations: 3.984 kB / 464.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.2375, allocations: 0 / 464.6 MB, free: 5.559 MB / 330.7 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.01162/0.2491, allocations: 4.803 MB / 469.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2492, allocations: 12.03 kB / 469.5 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004706/0.2539, allocations: 0.9484 MB / 470.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.2593, allocations: 2.558 MB / 473 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.2596, allocations: 275.8 kB / 473.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/0.2605, allocations: 380 kB / 473.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007849/0.2683, allocations: 4.68 MB / 478.3 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.2684, allocations: 7.938 kB / 478.3 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.2687, allocations: 152 kB / 478.4 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.2689, allocations: 155.3 kB / 478.6 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.2751, allocations: 3.901 MB / 482.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.3003, allocations: 15.57 MB / 498.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.162/0.4623, allocations: 6.063 MB / 0.4923 GB, free: 64.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.4651, allocations: 1.378 MB / 0.4937 GB, free: 64.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.4719, allocations: 4.236 MB / 0.4978 GB, free: 61.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.472, allocations: 48.39 kB / 0.4978 GB, free: 61.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=133): time 2.946e-06/0.472, allocations: 0 / 0.4978 GB, free: 61.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.008192/0.4802, allocations: 5.177 MB / 0.5029 GB, free: 59.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.4802, allocations: 64.59 kB / 0.503 GB, free: 59.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.4829, allocations: 2.014 MB / 0.5049 GB, free: 58.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.483, allocations: 47.2 kB / 0.505 GB, free: 58.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008137/0.4838, allocations: 1.662 MB / 0.5066 GB, free: 56.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.4841, allocations: 476.4 kB / 0.507 GB, free: 56.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.4847, allocations: 367.6 kB / 0.5074 GB, free: 56.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.4847, allocations: 306.2 kB / 0.5077 GB, free: 56.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/0.4857, allocations: 0.6622 MB / 0.5083 GB, free: 55.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.4868, allocations: 1.382 MB / 0.5097 GB, free: 54.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.4889, allocations: 2.199 MB / 0.5118 GB, free: 53.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.4889, allocations: 3.938 kB / 0.5118 GB, free: 53.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003376/0.4923, allocations: 2.487 MB / 0.5143 GB, free: 51.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4923, allocations: 13.31 kB / 0.5143 GB, free: 51.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.4924, allocations: 24.42 kB / 0.5143 GB, free: 51.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.4927, allocations: 148 kB / 0.5144 GB, free: 51.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4941, allocations: 459.9 kB / 0.5149 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.4955, allocations: 1.947 MB / 0.5168 GB, free: 50.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4971, allocations: 80.64 kB / 0.5169 GB, free: 50.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.4972, allocations: 99.2 kB / 0.517 GB, free: 50.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00149/0.4987, allocations: 1.066 MB / 0.518 GB, free: 49.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.4991, allocations: 213.3 kB / 0.5182 GB, free: 49.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.5018, allocations: 2.033 MB / 0.5202 GB, free: 47.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.5018, allocations: 12 kB / 0.5202 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.5018, allocations: 4 kB / 0.5202 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5018, allocations: 7.969 kB / 0.5202 GB, free: 47.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/0.5078, allocations: 4.951 MB / 0.525 GB, free: 42.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5078, allocations: 4 kB / 0.525 GB, free: 42.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.5086, allocations: 207.7 kB / 0.5252 GB, free: 42.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.5094, allocations: 330.5 kB / 0.5256 GB, free: 41.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.5095, allocations: 32 kB / 0.5256 GB, free: 41.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/0.5142, allocations: 6.522 MB / 0.532 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5142, allocations: 8.031 kB / 0.532 GB, free: 34.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/0.5356, allocations: 19.69 MB / 0.5512 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.5363, allocations: 434.3 kB / 0.5516 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.5365, allocations: 32.08 kB / 0.5516 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/0.5374, allocations: 59.97 kB / 0.5517 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5376, allocations: 108.6 kB / 0.5518 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.667e-05/0.5377, allocations: 39.98 kB / 0.5518 GB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.5392, allocations: 1.359 MB / 0.5532 GB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5392, allocations: 0 / 0.5532 GB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002471/0.5417, allocations: 0.8269 MB / 0.554 GB, free: 11.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003651/0.5421, allocations: 160.4 kB / 0.5541 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.5448, allocations: 1.879 MB / 0.556 GB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5449, allocations: 4.125 kB / 0.556 GB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.5463, allocations: 1.224 MB / 0.5572 GB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.5487, allocations: 0.542 MB / 0.5577 GB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.56, allocations: 8.935 MB / 0.5664 GB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.5623, allocations: 2.441 MB / 0.5688 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001942/0.5643, allocations: 478.6 kB / 0.5693 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.5647, allocations: 147.4 kB / 0.5694 GB, free: 11.6 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5647, allocations: 3.938 kB / 0.5694 GB, free: 11.6 MB / 378.7 MB Notification: Performance of Templates: time 0.05523/0.6199, allocations: 32.44 MB / 0.6011 GB, free: 11.5 MB / 410.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)