Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003566, allocations: 11.98 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08282, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.4852, allocations: 105.1 MB / 377.3 MB, free: 272 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4856, allocations: 87.2 kB / 377.3 MB, free: 224 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5006/0.9862, allocations: 61.53 MB / 438.9 MB, free: 77.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.9863, allocations: 3 kB / 438.9 MB, free: 77.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003851/0.9867, allocations: 79.62 kB / 439 MB, free: 77.16 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.01469/1.001, allocations: 3.388 MB / 442.3 MB, free: 75.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.001, allocations: 9.625 kB / 442.4 MB, free: 75.81 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002272/1.004, allocations: 458.2 kB / 442.8 MB, free: 75.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/1.007, allocations: 483.4 kB / 443.3 MB, free: 75.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/1.015, allocations: 1.987 MB / 445.3 MB, free: 75.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004666/1.015, allocations: 381.8 kB / 445.6 MB, free: 74.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.016, allocations: 290.8 kB / 445.9 MB, free: 74.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/1.028, allocations: 3.66 MB / 449.6 MB, free: 74.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/1.028, allocations: 11.72 kB / 449.6 MB, free: 74.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005093/1.029, allocations: 127.1 kB / 449.7 MB, free: 74.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/1.029, allocations: 116 kB / 449.8 MB, free: 74.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009358/1.039, allocations: 2.94 MB / 452.8 MB, free: 74.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/1.071, allocations: 11.78 MB / 464.5 MB, free: 71.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/1.076, allocations: 2.853 MB / 467.4 MB, free: 69.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/1.076, allocations: 142.9 kB / 467.5 MB, free: 69.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002831/1.079, allocations: 1.162 MB / 468.7 MB, free: 68.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 7.955e-06/1.079, allocations: 0 / 468.7 MB, free: 68.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=178): time 0.03831/1.118, allocations: 9.928 MB / 478.6 MB, free: 65.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.118, allocations: 344.5 kB / 479 MB, free: 64.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/1.122, allocations: 1.777 MB / 480.7 MB, free: 64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/1.122, allocations: 60.14 kB / 480.8 MB, free: 63.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.124, allocations: 1.348 MB / 482.2 MB, free: 62.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008991/1.125, allocations: 0.5951 MB / 482.7 MB, free: 62.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/1.125, allocations: 39.56 kB / 482.8 MB, free: 62.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/1.125, allocations: 393.6 kB / 483.2 MB, free: 62.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.128, allocations: 1.047 MB / 484.2 MB, free: 61.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/1.131, allocations: 1.57 MB / 485.8 MB, free: 60.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.135, allocations: 1.251 MB / 487 MB, free: 60.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.135, allocations: 7.812 kB / 487 MB, free: 60.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01085/1.145, allocations: 3.714 MB / 490.8 MB, free: 58.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/1.146, allocations: 11.91 kB / 490.8 MB, free: 58.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/1.146, allocations: 11.62 kB / 490.8 MB, free: 58.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/1.15, allocations: 1.192 MB / 492 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.153, allocations: 378.8 kB / 492.3 MB, free: 58.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/1.175, allocations: 14.87 MB / 0.4953 GB, free: 45.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.179, allocations: 176.8 kB / 0.4955 GB, free: 45.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/1.18, allocations: 79.84 kB / 0.4956 GB, free: 45.57 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.002484/1.182, allocations: 0.9004 MB / 0.4965 GB, free: 44.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/1.183, allocations: 229.3 kB / 0.4967 GB, free: 44.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.193, allocations: 3.487 MB / 0.5001 GB, free: 41.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.193, allocations: 20 kB / 0.5001 GB, free: 41.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.193, allocations: 4 kB / 0.5001 GB, free: 41.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-05/1.193, allocations: 11.2 kB / 0.5001 GB, free: 41.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.211, allocations: 6.711 MB / 0.5067 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.212, allocations: 4.219 kB / 0.5067 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.213, allocations: 209 kB / 0.5069 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005973/1.219, allocations: 1.409 MB / 0.5082 GB, free: 34.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003633/1.22, allocations: 43.36 kB / 0.5083 GB, free: 34.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/1.246, allocations: 15.16 MB / 0.5231 GB, free: 20.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.246, allocations: 3.75 kB / 0.5231 GB, free: 20.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.258, allocations: 4.93 MB / 0.5279 GB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.26, allocations: 0.5249 MB / 0.5284 GB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009653/1.261, allocations: 55.94 kB / 0.5285 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.265, allocations: 131.9 kB / 0.5286 GB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008576/1.265, allocations: 230 kB / 0.5288 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.266, allocations: 55.97 kB / 0.5289 GB, free: 14.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003067/1.269, allocations: 1.366 MB / 0.5302 GB, free: 13.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.269, allocations: 3.938 kB / 0.5302 GB, free: 13.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004092/1.273, allocations: 0.7538 MB / 0.5309 GB, free: 12.57 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.01538/1.288, allocations: 6.165 MB / 0.537 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009423/1.298, allocations: 3.675 MB / 0.5406 GB, free: 2.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.298, allocations: 0 / 0.5406 GB, free: 2.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006559/1.304, allocations: 2.416 MB / 0.5429 GB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/1.309, allocations: 0.4972 MB / 0.5434 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3039/1.613, allocations: 27.93 MB / 0.5707 GB, free: 76.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00359/1.617, allocations: 2.283 MB / 0.5729 GB, free: 76.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002641/1.619, allocations: 427.8 kB / 0.5733 GB, free: 76.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.622, allocations: 1.134 MB / 0.5744 GB, free: 76.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/1.622, allocations: 0 / 0.5744 GB, free: 76.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/1.772, allocations: 64.41 MB / 0.6373 GB, free: 47.67 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/1.772, allocations: 250.8 kB / 0.6376 GB, free: 47.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.958/6.73, allocations: 4 kB / 0.6376 GB, free: 47.37 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat