Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 211.7 MB, free: 2.852 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.00052, allocations: 11.98 kB / 264.6 MB, free: 12.87 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1061, allocations: 44.5 MB / 309.1 MB, free: 304 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5605, allocations: 115 MB / 424.1 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5608, allocations: 92.23 kB / 424.2 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3918/0.9527, allocations: 101.5 MB / 0.5133 GB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.9527, allocations: 3.938 kB / 0.5134 GB, free: 9.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005661/0.9533, allocations: 111.9 kB / 0.5135 GB, free: 9.68 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.02176/0.9751, allocations: 4.656 MB / 0.518 GB, free: 4.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.9751, allocations: 8.031 kB / 0.518 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008325/0.9835, allocations: 0.9546 MB / 0.5189 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2932/1.277, allocations: 3.945 MB / 0.5228 GB, free: 70.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/1.277, allocations: 477.7 kB / 0.5233 GB, free: 69.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/1.279, allocations: 406.8 kB / 0.5236 GB, free: 69.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/1.296, allocations: 5.254 MB / 0.5288 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/1.296, allocations: 11.94 kB / 0.5288 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009484/1.297, allocations: 168.9 kB / 0.5289 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/1.298, allocations: 167.9 kB / 0.5291 GB, free: 69.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.313, allocations: 4.297 MB / 0.5333 GB, free: 69.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/1.358, allocations: 17.64 MB / 0.5505 GB, free: 65.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.369, allocations: 8.252 MB / 0.5586 GB, free: 60.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/1.386, allocations: 4.667 MB / 0.5631 GB, free: 59.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004557/1.391, allocations: 1.307 MB / 0.5644 GB, free: 58.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 8.286e-06/1.391, allocations: 0 / 0.5644 GB, free: 58.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.04176/1.432, allocations: 9.375 MB / 0.5736 GB, free: 56.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/1.433, allocations: 339.6 kB / 0.5739 GB, free: 56.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008438/1.441, allocations: 2.397 MB / 0.5762 GB, free: 55.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.442, allocations: 68.89 kB / 0.5763 GB, free: 55.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/1.445, allocations: 1.887 MB / 0.5781 GB, free: 53.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.446, allocations: 0.7472 MB / 0.5789 GB, free: 53.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.446, allocations: 50.47 kB / 0.5789 GB, free: 53.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/1.447, allocations: 404.5 kB / 0.5793 GB, free: 52.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/1.449, allocations: 1.141 MB / 0.5804 GB, free: 52.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/1.453, allocations: 1.867 MB / 0.5822 GB, free: 51.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/1.456, allocations: 1.421 MB / 0.5836 GB, free: 50.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.457, allocations: 3.188 kB / 0.5836 GB, free: 50.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.01123/1.468, allocations: 4.222 MB / 0.5878 GB, free: 48.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004009/1.468, allocations: 0.6384 MB / 0.5884 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/1.468, allocations: 17.62 kB / 0.5884 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004072/1.472, allocations: 1.07 MB / 0.5894 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/1.476, allocations: 490.3 kB / 0.5899 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/1.497, allocations: 15.04 MB / 0.6046 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/1.501, allocations: 165.6 kB / 0.6048 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/1.501, allocations: 109.7 kB / 0.6049 GB, free: 36.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.501, allocations: 3.906 kB / 0.6049 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01464/1.516, allocations: 3.924 MB / 0.6087 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.516, allocations: 17.25 kB / 0.6087 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007069/1.523, allocations: 1.065 MB / 0.6098 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/1.527, allocations: 483.7 kB / 0.6102 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.549, allocations: 15.03 MB / 0.6249 GB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/1.553, allocations: 162 kB / 0.6251 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/1.554, allocations: 102.5 kB / 0.6252 GB, free: 23.09 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.003424/1.557, allocations: 1.349 MB / 0.6265 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008435/1.558, allocations: 276.8 kB / 0.6267 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.568, allocations: 3.524 MB / 0.6302 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/1.568, allocations: 20.62 kB / 0.6302 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.568, allocations: 3.141 kB / 0.6302 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-05/1.568, allocations: 11.11 kB / 0.6302 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.588, allocations: 7.46 MB / 0.6375 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.588, allocations: 0 / 0.6375 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.59, allocations: 304.4 kB / 0.6378 GB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004418/1.595, allocations: 1.096 MB / 0.6389 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.595, allocations: 66.88 kB / 0.6389 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02118/1.616, allocations: 12.57 MB / 0.6512 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.616, allocations: 3.938 kB / 0.6512 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.628, allocations: 4.895 MB / 0.656 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.63, allocations: 0.6076 MB / 0.6566 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008704/1.631, allocations: 71.45 kB / 0.6566 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.634, allocations: 139.2 kB / 0.6568 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000769/1.635, allocations: 239.1 kB / 0.657 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.635, allocations: 63.64 kB / 0.6571 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004864/1.64, allocations: 1.7 MB / 0.6587 GB, free: 15.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.314e-06/1.64, allocations: 0 / 0.6587 GB, free: 15.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008996/1.649, allocations: 1.538 MB / 0.6602 GB, free: 14.11 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.001263/1.65, allocations: 423.1 kB / 0.6606 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0194/1.67, allocations: 6.786 MB / 0.6673 GB, free: 7.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.67, allocations: 5.938 kB / 0.6673 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006033/1.676, allocations: 2.252 MB / 0.6695 GB, free: 5.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.681, allocations: 0.6172 MB / 0.6701 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4136/2.094, allocations: 9.392 MB / 0.6792 GB, free: 72.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008053/2.102, allocations: 2.905 MB / 0.6821 GB, free: 71.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007485/2.11, allocations: 0.6998 MB / 0.6828 GB, free: 71.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.112, allocations: 176.6 kB / 0.6829 GB, free: 71.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.595e-06/2.112, allocations: 4.281 kB / 0.6829 GB, free: 71.22 MB / 426.7 MB Notification: Performance of Templates: time 0.1736/2.286, allocations: 52.69 MB / 0.7344 GB, free: 68.82 MB / 426.7 MB