Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09532, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6072, allocations: 110.6 MB / 419.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6075, allocations: 91.2 kB / 419.6 MB, free: 9.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2636/0.8711, allocations: 61.95 MB / 481.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.46e-06/0.8712, allocations: 4 kB / 481.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003774/0.8716, allocations: 75.88 kB / 481.7 MB, free: 6.961 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.014/0.8856, allocations: 3.405 MB / 485.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.8857, allocations: 8.031 kB / 485.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.8888, allocations: 487.5 kB / 485.6 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/0.8965, allocations: 2.064 MB / 487.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/0.897, allocations: 375.8 kB / 488 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.8982, allocations: 283.9 kB / 488.3 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.911, allocations: 3.659 MB / 491.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001866/0.9113, allocations: 0 / 491.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.9124, allocations: 127.9 kB / 492.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.9126, allocations: 121.4 kB / 492.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.924, allocations: 2.93 MB / 495.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.9629, allocations: 11.74 MB / 0.495 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/0.9696, allocations: 2.869 MB / 0.4978 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.9703, allocations: 143.8 kB / 0.4979 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003759/0.974, allocations: 1.171 MB / 0.499 GB, free: 8.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.912e-06/0.9741, allocations: 0 / 0.499 GB, free: 8.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.04537/1.019, allocations: 9.948 MB / 0.5088 GB, free: 14.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/1.02, allocations: 312.7 kB / 0.5091 GB, free: 14.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/1.026, allocations: 2.055 MB / 0.5111 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006104/1.027, allocations: 57.7 kB / 0.5111 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.029, allocations: 1.268 MB / 0.5124 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.03, allocations: 0.597 MB / 0.5129 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.03, allocations: 40 kB / 0.513 GB, free: 10.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/1.031, allocations: 390.8 kB / 0.5134 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.034, allocations: 1.042 MB / 0.5144 GB, free: 8.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/1.039, allocations: 1.59 MB / 0.5159 GB, free: 6.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/1.043, allocations: 1.243 MB / 0.5171 GB, free: 5.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/1.043, allocations: 4 kB / 0.5171 GB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01225/1.055, allocations: 3.513 MB / 0.5206 GB, free: 2.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005021/1.056, allocations: 477.1 kB / 0.521 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/1.056, allocations: 12 kB / 0.521 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/1.061, allocations: 1.201 MB / 0.5222 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3023/1.364, allocations: 374.1 kB / 0.5226 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02546/1.389, allocations: 14.87 MB / 0.5371 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.393, allocations: 174.2 kB / 0.5373 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006449/1.394, allocations: 82.06 kB / 0.5373 GB, free: 91.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.394, allocations: 3.344 kB / 0.5373 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01034/1.404, allocations: 3.404 MB / 0.5407 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/1.405, allocations: 13.19 kB / 0.5407 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/1.409, allocations: 1.153 MB / 0.5418 GB, free: 91.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/1.412, allocations: 370.7 kB / 0.5422 GB, free: 91.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/1.436, allocations: 14.99 MB / 0.5568 GB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.439, allocations: 165.9 kB / 0.557 GB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/1.439, allocations: 82.27 kB / 0.557 GB, free: 83.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (208): * Single equations (assignments): 201 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003365/1.443, allocations: 0.9615 MB / 0.558 GB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/1.444, allocations: 231.8 kB / 0.5582 GB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.455, allocations: 3.492 MB / 0.5616 GB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/1.455, allocations: 19.12 kB / 0.5616 GB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.455, allocations: 3.656 kB / 0.5616 GB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/1.455, allocations: 11.11 kB / 0.5616 GB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.477, allocations: 6.717 MB / 0.5682 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-05/1.477, allocations: 2.438 kB / 0.5682 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.479, allocations: 201 kB / 0.5684 GB, free: 80.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00644/1.485, allocations: 1.42 MB / 0.5698 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/1.486, allocations: 52.66 kB / 0.5698 GB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/1.514, allocations: 15.18 MB / 0.5846 GB, free: 70.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.514, allocations: 2.531 kB / 0.5846 GB, free: 70.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.527, allocations: 4.805 MB / 0.5893 GB, free: 68.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.529, allocations: 0.5287 MB / 0.5899 GB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.53, allocations: 52.58 kB / 0.5899 GB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.533, allocations: 139.3 kB / 0.59 GB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008752/1.534, allocations: 234.3 kB / 0.5903 GB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/1.534, allocations: 50.86 kB / 0.5903 GB, free: 68.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003376/1.537, allocations: 1.417 MB / 0.5917 GB, free: 67.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.537, allocations: 0 / 0.5917 GB, free: 67.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00666/1.544, allocations: 1.243 MB / 0.5929 GB, free: 67.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * 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[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00096/1.545, allocations: 325.9 kB / 0.5932 GB, free: 67.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01661/1.561, allocations: 6.397 MB / 0.5995 GB, free: 64.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.562, allocations: 2.969 kB / 0.5995 GB, free: 64.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006679/1.568, allocations: 2.35 MB / 0.6018 GB, free: 63.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/1.573, allocations: 0.5152 MB / 0.6023 GB, free: 62.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/1.593, allocations: 7.344 MB / 0.6094 GB, free: 58.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/1.597, allocations: 2.28 MB / 0.6117 GB, free: 56.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.599, allocations: 143 kB / 0.6118 GB, free: 56.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/1.599, allocations: 0 / 0.6118 GB, free: 56.37 MB / 410.7 MB Notification: Performance of Templates: time 0.5409/2.14, allocations: 116.9 MB / 0.726 GB, free: 81.8 MB / 410.7 MB