Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.627/1.627, allocations: 171.2 MB / 186.8 MB, free: 1.105 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 233.3 MB, free: 0.8203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08202, allocations: 38.77 MB / 272.1 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5029, allocations: 105.1 MB / 377.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5033, allocations: 91.94 kB / 377.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.514/1.017, allocations: 61.52 MB / 438.8 MB, free: 85.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.017, allocations: 4.297 kB / 438.9 MB, free: 85.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003546/1.018, allocations: 77.34 kB / 438.9 MB, free: 85.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.01325/1.031, allocations: 3.388 MB / 442.3 MB, free: 84.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.031, allocations: 7.844 kB / 442.3 MB, free: 84.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002134/1.033, allocations: 459.4 kB / 442.8 MB, free: 84.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/1.036, allocations: 481.4 kB / 443.2 MB, free: 84.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006722/1.043, allocations: 1.989 MB / 445.2 MB, free: 83.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/1.043, allocations: 391.1 kB / 445.6 MB, free: 83.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.045, allocations: 280.4 kB / 445.9 MB, free: 83.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.056, allocations: 3.664 MB / 449.5 MB, free: 82.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/1.056, allocations: 9.75 kB / 449.6 MB, free: 82.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004997/1.057, allocations: 125.7 kB / 449.7 MB, free: 82.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.057, allocations: 111.5 kB / 449.8 MB, free: 82.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/1.067, allocations: 2.937 MB / 452.7 MB, free: 81.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/1.098, allocations: 11.79 MB / 464.5 MB, free: 75.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/1.104, allocations: 2.859 MB / 467.4 MB, free: 73.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/1.104, allocations: 133.6 kB / 467.5 MB, free: 73.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/1.107, allocations: 1.174 MB / 468.7 MB, free: 72.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 5.43e-06/1.107, allocations: 0 / 468.7 MB, free: 72.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=178): time 0.03882/1.146, allocations: 9.925 MB / 478.6 MB, free: 69.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.146, allocations: 339.9 kB / 478.9 MB, free: 68.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/1.15, allocations: 1.773 MB / 480.7 MB, free: 67.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/1.151, allocations: 65.03 kB / 480.8 MB, free: 67.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/1.152, allocations: 1.259 MB / 482 MB, free: 66.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/1.153, allocations: 0.5907 MB / 482.6 MB, free: 65.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.153, allocations: 40 kB / 482.7 MB, free: 65.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/1.153, allocations: 395 kB / 483 MB, free: 65.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/1.156, allocations: 1.046 MB / 484.1 MB, free: 64.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.159, allocations: 1.585 MB / 485.7 MB, free: 62.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/1.162, allocations: 1.245 MB / 486.9 MB, free: 61.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.162, allocations: 7.953 kB / 486.9 MB, free: 61.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00942/1.171, allocations: 3.573 MB / 490.5 MB, free: 58.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/1.171, allocations: 12 kB / 490.5 MB, free: 58.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.171, allocations: 12 kB / 490.5 MB, free: 58.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/1.176, allocations: 1.199 MB / 491.7 MB, free: 57.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/1.179, allocations: 382.1 kB / 492.1 MB, free: 56.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.2, allocations: 14.85 MB / 0.4951 GB, free: 41.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/1.204, allocations: 179.8 kB / 0.4952 GB, free: 41.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004035/1.205, allocations: 79.98 kB / 0.4953 GB, free: 41.07 MB / 346.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].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * 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.002609/1.207, allocations: 0.9047 MB / 0.4962 GB, free: 40.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007528/1.208, allocations: 229.3 kB / 0.4964 GB, free: 39.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.218, allocations: 3.497 MB / 0.4998 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.218, allocations: 16 kB / 0.4999 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.218, allocations: 4 kB / 0.4999 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/1.218, allocations: 7.969 kB / 0.4999 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/1.237, allocations: 6.711 MB / 0.5064 GB, free: 29.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/1.237, allocations: 7.938 kB / 0.5064 GB, free: 29.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.239, allocations: 203.7 kB / 0.5066 GB, free: 29.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006185/1.245, allocations: 1.42 MB / 0.508 GB, free: 27.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/1.246, allocations: 47.97 kB / 0.508 GB, free: 27.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/1.272, allocations: 15.16 MB / 0.5229 GB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.272, allocations: 4 kB / 0.5229 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.285, allocations: 4.926 MB / 0.5277 GB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.287, allocations: 0.5215 MB / 0.5282 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/1.288, allocations: 55.97 kB / 0.5282 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.291, allocations: 132.6 kB / 0.5284 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009606/1.292, allocations: 234 kB / 0.5286 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.292, allocations: 51.98 kB / 0.5286 GB, free: 6.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003195/1.295, allocations: 1.37 MB / 0.53 GB, free: 4.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.295, allocations: 0 / 0.53 GB, free: 4.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004318/1.3, allocations: 0.7499 MB / 0.5307 GB, free: 3.93 MB / 346.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].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * 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.01486/1.314, allocations: 6.168 MB / 0.5367 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.326, allocations: 3.679 MB / 0.5403 GB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.326, allocations: 3.938 kB / 0.5403 GB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007369/1.333, allocations: 2.354 MB / 0.5426 GB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/1.338, allocations: 0.4946 MB / 0.5431 GB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3046/1.642, allocations: 27.91 MB / 0.5704 GB, free: 77.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.646, allocations: 2.257 MB / 0.5726 GB, free: 76.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/1.649, allocations: 1.14 MB / 0.5737 GB, free: 76.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/1.649, allocations: 2.25 kB / 0.5737 GB, free: 76.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.369/6.018, allocations: 131.2 MB / 0.7018 GB, free: 103.8 MB / 378.7 MB