Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 105.1 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 195 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09686, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2191/0.316, allocations: 16.59 MB / 391.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3274, allocations: 5.445 MB / 396.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.3311, allocations: 92.16 kB / 396.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.3346, allocations: 1.252 MB / 397.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.3405, allocations: 1.604 MB / 399.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.3435, allocations: 1.06 MB / 400.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00881/0.3523, allocations: 5.12 MB / 405.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006543/0.3589, allocations: 3.837 MB / 409.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.3635, allocations: 2.184 MB / 411.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/0.3689, allocations: 2.601 MB / 414.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.3702, allocations: 0.6126 MB / 414.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.3727, allocations: 0.8311 MB / 415.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.3741, allocations: 1.417 MB / 417.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.3777, allocations: 2.635 MB / 419.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.3868, allocations: 8.081 MB / 427.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3869, allocations: 0 / 427.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3869, allocations: 0 / 427.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.387, allocations: 0 / 427.9 MB, free: 10.18 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01344/0.4005, allocations: 5.378 MB / 433.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4005, allocations: 8.031 kB / 433.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.4054, allocations: 0.9869 MB / 434.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.4107, allocations: 2.8 MB / 437 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.411, allocations: 308.5 kB / 437.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/0.4115, allocations: 399.9 kB / 437.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008422/0.42, allocations: 5.209 MB / 442.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.4201, allocations: 7.891 kB / 442.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.4205, allocations: 164 kB / 443.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/0.4207, allocations: 164 kB / 443.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/0.4281, allocations: 4.451 MB / 447.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02551/0.4536, allocations: 16.59 MB / 464.3 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007502/0.4612, allocations: 8.418 MB / 472.7 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.4639, allocations: 1.698 MB / 474.4 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007998/0.4719, allocations: 4.936 MB / 479.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.472, allocations: 59.81 kB / 479.4 MB, free: 4.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.427e-06/0.472, allocations: 0 / 479.4 MB, free: 4.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01147/0.4835, allocations: 6.104 MB / 485.5 MB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4835, allocations: 68.72 kB / 485.6 MB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/0.4869, allocations: 2.298 MB / 487.9 MB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.487, allocations: 53.7 kB / 487.9 MB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.4883, allocations: 1.848 MB / 489.8 MB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/0.4887, allocations: 0.5469 MB / 490.3 MB, free: 9.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/0.4893, allocations: 391.6 kB / 490.7 MB, free: 9.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4894, allocations: 305.1 kB / 491 MB, free: 8.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.4908, allocations: 0.8435 MB / 491.9 MB, free: 7.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.4928, allocations: 1.56 MB / 493.4 MB, free: 6.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/0.4962, allocations: 2.555 MB / 496 MB, free: 3.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4962, allocations: 4 kB / 496 MB, free: 3.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004722/0.5009, allocations: 2.884 MB / 498.9 MB, free: 276 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.501, allocations: 19.94 kB / 498.9 MB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.501, allocations: 24 kB / 498.9 MB, free: 232 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.5013, allocations: 121.7 kB / 499 MB, free: 104 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.5033, allocations: 0.5422 MB / 499.6 MB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.5053, allocations: 1.985 MB / 0.4898 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.5071, allocations: 120 kB / 0.4899 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.5072, allocations: 104 kB / 0.49 GB, free: 13.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (269): * Single equations (assignments): 267 * 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.002269/0.5095, allocations: 1.192 MB / 0.4912 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.51, allocations: 248.9 kB / 0.4914 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.5146, allocations: 2.429 MB / 0.4938 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5146, allocations: 20 kB / 0.4938 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5146, allocations: 4 kB / 0.4938 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5146, allocations: 7.969 kB / 0.4938 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009436/0.5241, allocations: 5.768 MB / 0.4994 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5241, allocations: 4 kB / 0.4994 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5254, allocations: 287.6 kB / 0.4997 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000851/0.5263, allocations: 313.8 kB / 0.5 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5264, allocations: 39.98 kB / 0.5001 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.5335, allocations: 6.958 MB / 0.5068 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5335, allocations: 3.938 kB / 0.5069 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.5393, allocations: 3.548 MB / 0.5103 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.5406, allocations: 0.5018 MB / 0.5108 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.541, allocations: 31.94 kB / 0.5108 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.5421, allocations: 84.11 kB / 0.5109 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.5425, allocations: 121.1 kB / 0.511 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.5426, allocations: 47.92 kB / 0.5111 GB, free: 6.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.5453, allocations: 1.552 MB / 0.5126 GB, free: 5.316 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5453, allocations: 0 / 0.5126 GB, free: 5.316 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002515/0.5478, allocations: 0.664 MB / 0.5132 GB, free: 4.652 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (132): * Single equations (assignments): 129 * 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.0003574/0.5482, allocations: 178.8 kB / 0.5134 GB, free: 4.469 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.552, allocations: 2.267 MB / 0.5156 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.552, allocations: 64 / 0.5156 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.5542, allocations: 1.448 MB / 0.517 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5568, allocations: 0.5907 MB / 0.5176 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.5686, allocations: 6.884 MB / 0.5243 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.571, allocations: 2.665 MB / 0.5269 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001879/0.5729, allocations: 0.5513 MB / 0.5275 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.5734, allocations: 167.4 kB / 0.5276 GB, free: 5.758 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5734, allocations: 0 / 0.5276 GB, free: 5.758 MB / 462.1 MB Notification: Performance of Templates: time 0.2706/0.844, allocations: 31.21 MB / 0.5581 GB, free: 148.6 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)