Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03783/0.03783, allocations: 8.793 MB / 25.52 MB, free: 3.75 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.336/1.336, allocations: 222.9 MB / 251.3 MB, free: 7.402 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.001008/0.001008, allocations: 98.86 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.83 kB / 366 MB, free: 172 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2299, allocations: 51.55 MB / 417.5 MB, free: 20.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01203/0.2419, allocations: 16.5 MB / 434 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.2507, allocations: 5.387 MB / 439.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002925/0.2536, allocations: 91.69 kB / 439.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.2569, allocations: 1.112 MB / 440.6 MB, free: 13.73 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/SMEE_DOL.mo:12:3-13:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004001/0.2609, allocations: 1.465 MB / 442.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.2628, allocations: 0.9704 MB / 443.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005197/0.268, allocations: 5.362 MB / 448.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.2718, allocations: 3.657 MB / 452.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.2739, allocations: 1.868 MB / 454 MB, free: 304 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.2763, allocations: 2.443 MB / 456.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.2768, allocations: 368 kB / 456.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.2781, allocations: 0.5894 MB / 457.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008576/0.2789, allocations: 1.16 MB / 458.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.2811, allocations: 2.368 MB / 460.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.2872, allocations: 7.843 MB / 468.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2872, allocations: 0 / 468.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2872, allocations: 0 / 468.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.2873, allocations: 0 / 468.7 MB, free: 1.48 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01102/0.2984, allocations: 5.382 MB / 474.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2984, allocations: 8.031 kB / 474.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.3029, allocations: 0.9986 MB / 475.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/0.308, allocations: 2.851 MB / 478 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.3082, allocations: 304.7 kB / 478.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.3087, allocations: 407.8 kB / 478.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008395/0.3171, allocations: 5.225 MB / 483.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/0.3172, allocations: 11.91 kB / 483.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.3176, allocations: 160 kB / 484 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3177, allocations: 172 kB / 484.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/0.325, allocations: 4.466 MB / 488.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/0.514, allocations: 16.83 MB / 0.4937 GB, free: 60.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.5195, allocations: 8.449 MB / 0.5019 GB, free: 54.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.522, allocations: 1.711 MB / 0.5036 GB, free: 53.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007775/0.5298, allocations: 5.039 MB / 0.5085 GB, free: 51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.5299, allocations: 50.25 kB / 0.5085 GB, free: 50.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=158): time 4.008e-06/0.5299, allocations: 0 / 0.5085 GB, free: 50.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=161): time 0.01007/0.54, allocations: 6.183 MB / 0.5146 GB, free: 47.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.5401, allocations: 71.5 kB / 0.5147 GB, free: 47.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.5426, allocations: 2.316 MB / 0.5169 GB, free: 46.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.5427, allocations: 53.33 kB / 0.517 GB, free: 46.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/0.5435, allocations: 1.846 MB / 0.5188 GB, free: 45.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.5437, allocations: 0.5489 MB / 0.5193 GB, free: 44.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.5442, allocations: 400.1 kB / 0.5197 GB, free: 44.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.5442, allocations: 301.1 kB / 0.52 GB, free: 44.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5454, allocations: 0.8488 MB / 0.5208 GB, free: 43.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5468, allocations: 1.566 MB / 0.5223 GB, free: 42.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.5493, allocations: 2.573 MB / 0.5248 GB, free: 40.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.5493, allocations: 7.547 kB / 0.5249 GB, free: 40.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.003699/0.553, allocations: 2.901 MB / 0.5277 GB, free: 38.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.5531, allocations: 16 kB / 0.5277 GB, free: 38.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.5531, allocations: 24 kB / 0.5277 GB, free: 38.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.5534, allocations: 117.7 kB / 0.5278 GB, free: 38.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.5551, allocations: 0.5421 MB / 0.5284 GB, free: 37.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.5563, allocations: 1.826 MB / 0.5301 GB, free: 35.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.5578, allocations: 115.2 kB / 0.5303 GB, free: 35.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.558, allocations: 99.98 kB / 0.5304 GB, free: 35.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (270): * Single equations (assignments): 268 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.5594, allocations: 1.204 MB / 0.5315 GB, free: 34.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.5597, allocations: 245 kB / 0.5318 GB, free: 33.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.563, allocations: 2.472 MB / 0.5342 GB, free: 31.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.563, allocations: 16 kB / 0.5342 GB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.563, allocations: 4 kB / 0.5342 GB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5631, allocations: 7.969 kB / 0.5342 GB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/0.5704, allocations: 5.842 MB / 0.5399 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5704, allocations: 0 / 0.5399 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.5715, allocations: 287.8 kB / 0.5402 GB, free: 25.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/0.5722, allocations: 310.3 kB / 0.5405 GB, free: 24.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.724e-05/0.5723, allocations: 46.48 kB / 0.5405 GB, free: 24.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.5766, allocations: 6.407 MB / 0.5468 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5766, allocations: 0 / 0.5468 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/0.6019, allocations: 21.59 MB / 0.5679 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.603, allocations: 0.4941 MB / 0.5683 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.6033, allocations: 39.94 kB / 0.5684 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.6045, allocations: 79.92 kB / 0.5685 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.6048, allocations: 125.1 kB / 0.5686 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.6049, allocations: 45.52 kB / 0.5686 GB, free: 10.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002682/0.6076, allocations: 1.568 MB / 0.5702 GB, free: 9.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6076, allocations: 0 / 0.5702 GB, free: 9.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002978/0.6106, allocations: 0.9205 MB / 0.5711 GB, free: 8.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,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,mechanicalSensor.flange_a.phi) * 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 (133): * Single equations (assignments): 130 * 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,5,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.0003569/0.611, allocations: 169.8 kB / 0.5712 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.6148, allocations: 2.284 MB / 0.5734 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6148, allocations: 0 / 0.5734 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.6171, allocations: 1.457 MB / 0.5749 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.62, allocations: 0.5668 MB / 0.5754 GB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.6354, allocations: 10.13 MB / 0.5853 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/0.6386, allocations: 2.716 MB / 0.588 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002305/0.641, allocations: 0.5708 MB / 0.5885 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.6417, allocations: 171.4 kB / 0.5887 GB, free: 6.086 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6417, allocations: 0 / 0.5887 GB, free: 6.086 MB / 394.7 MB Notification: Performance of Templates: time 0.06092/0.7026, allocations: 35.86 MB / 0.6237 GB, free: 2.578 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1)