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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005854/0.0005849, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1332, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.589, allocations: 110.6 MB / 419.1 MB, free: 9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5894, allocations: 89.61 kB / 419.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3223/0.9117, allocations: 61.97 MB / 481.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.9118, allocations: 0 / 481.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005289/0.9123, allocations: 75.94 kB / 481.3 MB, free: 6.715 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.01485/0.9272, allocations: 3.413 MB / 484.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.9273, allocations: 8.031 kB / 484.7 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002502/0.9298, allocations: 454 kB / 485.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.9333, allocations: 483.5 kB / 485.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007559/0.9409, allocations: 2.06 MB / 487.7 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.9414, allocations: 383.8 kB / 488 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.9424, allocations: 279.9 kB / 488.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.9536, allocations: 3.635 MB / 491.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.9538, allocations: 4 kB / 491.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004884/0.9543, allocations: 127.9 kB / 492.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.9545, allocations: 113.5 kB / 492.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.9648, allocations: 2.93 MB / 495.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03434/0.9992, allocations: 11.76 MB / 0.495 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/1.005, allocations: 2.869 MB / 0.4978 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/1.006, allocations: 135.8 kB / 0.4979 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00407/1.01, allocations: 1.171 MB / 0.4991 GB, free: 7.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 6.001e-06/1.01, allocations: 0 / 0.4991 GB, free: 7.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.05476/1.065, allocations: 9.925 MB / 0.5088 GB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/1.065, allocations: 308.7 kB / 0.509 GB, free: 13.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006944/1.072, allocations: 1.83 MB / 0.5108 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006084/1.073, allocations: 61.7 kB / 0.5109 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.075, allocations: 1.268 MB / 0.5121 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.076, allocations: 0.5931 MB / 0.5127 GB, free: 9.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/1.076, allocations: 40 kB / 0.5127 GB, free: 9.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/1.077, allocations: 394.8 kB / 0.5131 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/1.081, allocations: 1.042 MB / 0.5141 GB, free: 8.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/1.086, allocations: 1.583 MB / 0.5157 GB, free: 6.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/1.09, allocations: 1.243 MB / 0.5169 GB, free: 5.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/1.09, allocations: 8 kB / 0.5169 GB, free: 5.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01059/1.101, allocations: 3.501 MB / 0.5203 GB, free: 1.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2793/1.38, allocations: 4.979 MB / 0.5252 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/1.38, allocations: 13.03 kB / 0.5252 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005039/1.385, allocations: 1.197 MB / 0.5264 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/1.388, allocations: 381.1 kB / 0.5267 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.412, allocations: 14.86 MB / 0.5413 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/1.416, allocations: 176.3 kB / 0.5414 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003157/1.417, allocations: 80.95 kB / 0.5415 GB, free: 87.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.417, allocations: 6.469 kB / 0.5415 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009479/1.426, allocations: 3.395 MB / 0.5448 GB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/1.426, allocations: 12.81 kB / 0.5448 GB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004263/1.43, allocations: 1.155 MB / 0.546 GB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.433, allocations: 368.3 kB / 0.5463 GB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/1.456, allocations: 15 MB / 0.561 GB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.458, allocations: 160.5 kB / 0.5611 GB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/1.458, allocations: 78.12 kB / 0.5612 GB, free: 79.82 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.002501/1.461, allocations: 0.9774 MB / 0.5621 GB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/1.462, allocations: 239.1 kB / 0.5624 GB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009896/1.472, allocations: 3.482 MB / 0.5658 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.472, allocations: 16.31 kB / 0.5658 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.472, allocations: 3.281 kB / 0.5658 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/1.472, allocations: 10.64 kB / 0.5658 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.489, allocations: 6.726 MB / 0.5724 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.489, allocations: 0 / 0.5724 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/1.491, allocations: 199.3 kB / 0.5726 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/1.497, allocations: 1.425 MB / 0.5739 GB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/1.497, allocations: 42.44 kB / 0.574 GB, free: 76.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02603/1.523, allocations: 15.17 MB / 0.5888 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.523, allocations: 3.781 kB / 0.5888 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.535, allocations: 4.927 MB / 0.5936 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.538, allocations: 0.5292 MB / 0.5941 GB, free: 64.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009307/1.539, allocations: 53.45 kB / 0.5942 GB, free: 64.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003208/1.542, allocations: 139.8 kB / 0.5943 GB, free: 64.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000961/1.543, allocations: 226.7 kB / 0.5945 GB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.543, allocations: 50.42 kB / 0.5946 GB, free: 64.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003247/1.546, allocations: 1.408 MB / 0.596 GB, free: 63.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.546, allocations: 0 / 0.596 GB, free: 63.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006764/1.553, allocations: 1.252 MB / 0.5972 GB, free: 63.72 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.01358/1.567, allocations: 6.17 MB / 0.6032 GB, free: 60.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01593/1.583, allocations: 6.398 MB / 0.6095 GB, free: 57.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.583, allocations: 0 / 0.6095 GB, free: 57.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006386/1.589, allocations: 2.35 MB / 0.6118 GB, free: 55.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.594, allocations: 0.5074 MB / 0.6122 GB, free: 54.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05278/1.647, allocations: 28.17 MB / 0.6398 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.649, allocations: 2.28 MB / 0.642 GB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00243/1.652, allocations: 1.151 MB / 0.6431 GB, free: 24.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.652, allocations: 0 / 0.6431 GB, free: 24.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.456/6.108, allocations: 132.4 MB / 0.7724 GB, free: 33.62 MB / 410.7 MB