Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 12 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 44.49 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.772, allocations: 110.6 MB / 419.2 MB, free: 48.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.7724, allocations: 94.17 kB / 419.2 MB, free: 48.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/1.019, allocations: 61.97 MB / 481.2 MB, free: 34.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.02, allocations: 0 / 481.2 MB, free: 34.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003985/1.02, allocations: 75.94 kB / 481.3 MB, free: 34.47 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.01398/1.034, allocations: 3.411 MB / 484.7 MB, free: 31.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.034, allocations: 8.031 kB / 484.7 MB, free: 31.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002252/1.036, allocations: 457.4 kB / 485.2 MB, free: 30.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/1.04, allocations: 479.5 kB / 485.6 MB, free: 30.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007699/1.047, allocations: 2.059 MB / 487.7 MB, free: 28.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004574/1.048, allocations: 384.2 kB / 488.1 MB, free: 28.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.049, allocations: 287 kB / 488.3 MB, free: 28.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/1.062, allocations: 3.635 MB / 492 MB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/1.062, allocations: 4 kB / 492 MB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000971/1.063, allocations: 127.9 kB / 492.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/1.063, allocations: 113.5 kB / 492.2 MB, free: 24.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/1.073, allocations: 2.93 MB / 495.1 MB, free: 21.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03906/1.112, allocations: 11.75 MB / 0.495 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008605/1.121, allocations: 2.869 MB / 0.4978 GB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/1.122, allocations: 139.8 kB / 0.4979 GB, free: 6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004527/1.126, allocations: 1.171 MB / 0.4991 GB, free: 4.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 1.091e-05/1.127, allocations: 4 kB / 0.4991 GB, free: 4.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=178): time 0.06423/1.191, allocations: 9.917 MB / 0.5088 GB, free: 10.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/1.191, allocations: 312.7 kB / 0.5091 GB, free: 10.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007696/1.199, allocations: 1.826 MB / 0.5109 GB, free: 8.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006358/1.2, allocations: 65.7 kB / 0.5109 GB, free: 8.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.202, allocations: 1.356 MB / 0.5122 GB, free: 7.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.204, allocations: 0.5931 MB / 0.5128 GB, free: 6.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.204, allocations: 44 kB / 0.5129 GB, free: 6.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003202/1.205, allocations: 389.9 kB / 0.5132 GB, free: 5.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004527/1.209, allocations: 1.042 MB / 0.5143 GB, free: 4.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.213, allocations: 1.579 MB / 0.5158 GB, free: 3.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.217, allocations: 1.247 MB / 0.517 GB, free: 1.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/1.217, allocations: 4 kB / 0.517 GB, free: 1.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01168/1.229, allocations: 3.648 MB / 0.5206 GB, free: 14.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002161/1.231, allocations: 5.219 MB / 0.5257 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/1.231, allocations: 12 kB / 0.5257 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/1.236, allocations: 1.196 MB / 0.5269 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/1.24, allocations: 375.4 kB / 0.5272 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/1.267, allocations: 14.87 MB / 0.5417 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.271, allocations: 171.8 kB / 0.5419 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.271, allocations: 79.98 kB / 0.542 GB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.271, allocations: 4 kB / 0.542 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/1.282, allocations: 3.406 MB / 0.5453 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/1.282, allocations: 12 kB / 0.5453 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/1.287, allocations: 1.191 MB / 0.5465 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/1.29, allocations: 371.4 kB / 0.5468 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02621/1.317, allocations: 14.85 MB / 0.5613 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.32, allocations: 163.9 kB / 0.5615 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/1.321, allocations: 83.98 kB / 0.5616 GB, free: 2.199 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.002649/1.323, allocations: 0.9689 MB / 0.5625 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/1.324, allocations: 229.3 kB / 0.5627 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2839/1.608, allocations: 3.489 MB / 0.5662 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/1.608, allocations: 17.53 kB / 0.5662 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.608, allocations: 3.75 kB / 0.5662 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/1.608, allocations: 7.641 kB / 0.5662 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.628, allocations: 6.716 MB / 0.5727 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/1.628, allocations: 4.094 kB / 0.5727 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.63, allocations: 202.1 kB / 0.5729 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006116/1.636, allocations: 1.428 MB / 0.5743 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/1.637, allocations: 43.61 kB / 0.5744 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/1.663, allocations: 15.18 MB / 0.5892 GB, free: 95.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.663, allocations: 0 / 0.5892 GB, free: 95.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.676, allocations: 4.934 MB / 0.594 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.678, allocations: 0.5319 MB / 0.5945 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007445/1.678, allocations: 44.41 kB / 0.5946 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.681, allocations: 138.5 kB / 0.5947 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007786/1.682, allocations: 222.2 kB / 0.5949 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.682, allocations: 58.41 kB / 0.595 GB, free: 94.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003337/1.686, allocations: 1.412 MB / 0.5964 GB, free: 94.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.686, allocations: 0 / 0.5964 GB, free: 94.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006244/1.692, allocations: 1.26 MB / 0.5976 GB, free: 94.67 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.01398/1.706, allocations: 6.164 MB / 0.6036 GB, free: 92.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01605/1.722, allocations: 6.348 MB / 0.6098 GB, free: 88.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.722, allocations: 3.656 kB / 0.6098 GB, free: 88.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006501/1.729, allocations: 2.419 MB / 0.6122 GB, free: 87.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/1.733, allocations: 0.513 MB / 0.6127 GB, free: 87.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05405/1.787, allocations: 28.16 MB / 0.6402 GB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/1.79, allocations: 2.303 MB / 0.6424 GB, free: 63.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003526/1.794, allocations: 0.5963 MB / 0.643 GB, free: 63.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/1.797, allocations: 1.142 MB / 0.6441 GB, free: 62.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.797, allocations: 0 / 0.6441 GB, free: 62.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4755/2.272, allocations: 70.8 MB / 0.7133 GB, free: 86.86 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/2.272, allocations: 245.8 kB / 0.7135 GB, free: 86.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/7.592, allocations: 4 kB / 0.7135 GB, free: 86.55 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat