Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003625, allocations: 15.98 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08134, allocations: 44.5 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4569, allocations: 115 MB / 423.5 MB, free: 8.652 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4572, allocations: 90.27 kB / 423.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3714/0.8286, allocations: 101.5 MB / 0.5128 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.014e-06/0.8286, allocations: 4 kB / 0.5128 GB, free: 12.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004227/0.829, allocations: 103.9 kB / 0.5129 GB, free: 12.29 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01697/0.846, allocations: 4.656 MB / 0.5174 GB, free: 7.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8461, allocations: 15.97 kB / 0.5174 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/0.8531, allocations: 0.9585 MB / 0.5184 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.8677, allocations: 3.941 MB / 0.5222 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/0.8684, allocations: 478.3 kB / 0.5227 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.8699, allocations: 407.9 kB / 0.5231 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2466/1.117, allocations: 5.249 MB / 0.5282 GB, free: 69.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/1.117, allocations: 6.188 kB / 0.5282 GB, free: 69.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009092/1.118, allocations: 173.9 kB / 0.5284 GB, free: 69.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/1.118, allocations: 169.5 kB / 0.5285 GB, free: 69.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/1.13, allocations: 4.289 MB / 0.5327 GB, free: 69.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03726/1.167, allocations: 17.64 MB / 0.5499 GB, free: 66.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008619/1.176, allocations: 8.265 MB / 0.558 GB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/1.186, allocations: 4.659 MB / 0.5625 GB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002505/1.189, allocations: 1.305 MB / 0.5638 GB, free: 59.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 5.632e-06/1.189, allocations: 0 / 0.5638 GB, free: 59.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.02488/1.214, allocations: 9.353 MB / 0.573 GB, free: 57.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/1.214, allocations: 344.8 kB / 0.5733 GB, free: 57.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/1.218, allocations: 2.128 MB / 0.5754 GB, free: 56.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/1.219, allocations: 71.27 kB / 0.5754 GB, free: 56.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.22, allocations: 1.757 MB / 0.5771 GB, free: 55.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008325/1.221, allocations: 0.7406 MB / 0.5779 GB, free: 54.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/1.221, allocations: 54.66 kB / 0.5779 GB, free: 54.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/1.221, allocations: 414.4 kB / 0.5783 GB, free: 54.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/1.224, allocations: 1.135 MB / 0.5794 GB, free: 53.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/1.227, allocations: 1.87 MB / 0.5813 GB, free: 52.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/1.23, allocations: 1.415 MB / 0.5826 GB, free: 51.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.23, allocations: 9.5 kB / 0.5826 GB, free: 51.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008967/1.239, allocations: 4.05 MB / 0.5866 GB, free: 50.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001436/1.24, allocations: 7.329 MB / 0.5938 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/1.24, allocations: 17.09 kB / 0.5938 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/1.244, allocations: 1.067 MB / 0.5948 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/1.247, allocations: 493.8 kB / 0.5953 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.266, allocations: 15.03 MB / 0.61 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.269, allocations: 168.7 kB / 0.6101 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/1.269, allocations: 110.8 kB / 0.6102 GB, free: 30.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.269, allocations: 3.938 kB / 0.6102 GB, free: 30.67 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008619/1.278, allocations: 3.921 MB / 0.6141 GB, free: 29.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.514e-05/1.278, allocations: 21.5 kB / 0.6141 GB, free: 29.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/1.281, allocations: 1.056 MB / 0.6151 GB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/1.284, allocations: 476.9 kB / 0.6156 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/1.303, allocations: 15.04 MB / 0.6303 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.305, allocations: 162.9 kB / 0.6304 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/1.305, allocations: 109.3 kB / 0.6305 GB, free: 17.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003254/1.308, allocations: 1.34 MB / 0.6318 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007394/1.309, allocations: 286.6 kB / 0.6321 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/1.318, allocations: 3.526 MB / 0.6355 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/1.318, allocations: 21.44 kB / 0.6356 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.685e-06/1.318, allocations: 0 / 0.6356 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/1.318, allocations: 13.56 kB / 0.6356 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.334, allocations: 7.451 MB / 0.6429 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.335, allocations: 3.953 kB / 0.6429 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.336, allocations: 314.3 kB / 0.6432 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/1.34, allocations: 1.091 MB / 0.6442 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/1.341, allocations: 61.56 kB / 0.6443 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/1.36, allocations: 12.57 MB / 0.6566 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-06/1.36, allocations: 4 kB / 0.6566 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.373, allocations: 5.106 MB / 0.6616 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.375, allocations: 0.6189 MB / 0.6622 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/1.376, allocations: 63.75 kB / 0.6622 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.378, allocations: 136.2 kB / 0.6623 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006795/1.379, allocations: 238.2 kB / 0.6626 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.379, allocations: 59.36 kB / 0.6626 GB, free: 13.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003613/1.382, allocations: 1.633 MB / 0.6642 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.68e-07/1.382, allocations: 4 kB / 0.6642 GB, free: 11.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007355/1.39, allocations: 1.529 MB / 0.6657 GB, free: 10.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 60,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009061/1.391, allocations: 420.1 kB / 0.6661 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01505/1.406, allocations: 6.788 MB / 0.6728 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.406, allocations: 0.8125 kB / 0.6728 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004842/1.411, allocations: 2.193 MB / 0.6749 GB, free: 1.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.414, allocations: 0.6151 MB / 0.6755 GB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2563/1.671, allocations: 9.433 MB / 0.6847 GB, free: 73.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/1.675, allocations: 2.851 MB / 0.6875 GB, free: 73.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.676, allocations: 197 kB / 0.6877 GB, free: 73.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.555e-06/1.676, allocations: 0 / 0.6877 GB, free: 73.04 MB / 426.7 MB Notification: Performance of Templates: time 0.445/2.121, allocations: 159.2 MB / 0.8432 GB, free: 91.16 MB / 442.7 MB