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.DCMachines.DCSE_Start.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.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 211.1 MB, free: 7.781 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 8 kB / 264.1 MB, free: 2.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.288, allocations: 44.5 MB / 308.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4547, allocations: 93.21 MB / 401.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.455, allocations: 83.95 kB / 401.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3885/0.8435, allocations: 28.09 MB / 430 MB, free: 89.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8436, allocations: 0 / 430 MB, free: 89.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.73e-05/0.8437, allocations: 21.28 kB / 430 MB, free: 89.11 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003404/0.8471, allocations: 1.257 MB / 431.2 MB, free: 88.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8472, allocations: 6.438 kB / 431.2 MB, free: 88.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004123/0.8476, allocations: 155 kB / 431.4 MB, free: 88.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.8486, allocations: 193.1 kB / 431.6 MB, free: 88.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.8509, allocations: 0.8009 MB / 432.4 MB, free: 87.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.851, allocations: 72 kB / 432.4 MB, free: 87.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.8512, allocations: 99.72 kB / 432.5 MB, free: 87.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.8536, allocations: 0.926 MB / 433.5 MB, free: 87.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.8537, allocations: 3.422 kB / 433.5 MB, free: 87.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.8538, allocations: 43.06 kB / 433.5 MB, free: 87.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.8539, allocations: 27.55 kB / 433.5 MB, free: 87.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.8558, allocations: 0.6404 MB / 434.2 MB, free: 86.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007232/0.8631, allocations: 3.909 MB / 438.1 MB, free: 84.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009764/0.8641, allocations: 447.8 kB / 438.5 MB, free: 83.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.8642, allocations: 6.75 kB / 438.5 MB, free: 83.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.8642, allocations: 42.45 kB / 438.6 MB, free: 83.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.966e-06/0.8642, allocations: 7.938 kB / 438.6 MB, free: 83.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.004068/0.8683, allocations: 1.444 MB / 440 MB, free: 82.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.8684, allocations: 89.55 kB / 440.1 MB, free: 82.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.8697, allocations: 0.7018 MB / 440.8 MB, free: 82.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.8698, allocations: 33.7 kB / 440.9 MB, free: 82.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.8703, allocations: 0.5512 MB / 441.4 MB, free: 81.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.8704, allocations: 179.1 kB / 441.6 MB, free: 81.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.8705, allocations: 12 kB / 441.6 MB, free: 81.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.8706, allocations: 332.1 kB / 441.9 MB, free: 81.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.8711, allocations: 172.1 kB / 442.1 MB, free: 80.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.8718, allocations: 465.5 kB / 442.5 MB, free: 80.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.8724, allocations: 248.2 kB / 442.8 MB, free: 80.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.8725, allocations: 0 / 442.8 MB, free: 80.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002014/0.8745, allocations: 0.7841 MB / 443.6 MB, free: 79.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.8746, allocations: 8 kB / 443.6 MB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.8746, allocations: 8 kB / 443.6 MB, free: 79.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.875, allocations: 83.97 kB / 443.7 MB, free: 79.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/0.8759, allocations: 166.1 kB / 443.8 MB, free: 79.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.8785, allocations: 2.928 MB / 446.8 MB, free: 76.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.8796, allocations: 35.89 kB / 446.8 MB, free: 75.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.8797, allocations: 36.05 kB / 446.8 MB, free: 75.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005957/0.8803, allocations: 265.9 kB / 447.1 MB, free: 75.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.8804, allocations: 90.92 kB / 447.2 MB, free: 75.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.8818, allocations: 0.491 MB / 447.7 MB, free: 75.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.8818, allocations: 11.95 kB / 447.7 MB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8818, allocations: 0 / 447.7 MB, free: 75.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.8819, allocations: 3.984 kB / 447.7 MB, free: 75.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.8849, allocations: 1.442 MB / 449.1 MB, free: 73.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8849, allocations: 0 / 449.1 MB, free: 73.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.8855, allocations: 71.91 kB / 449.2 MB, free: 73.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.8859, allocations: 73.67 kB / 449.3 MB, free: 73.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.8859, allocations: 8 kB / 449.3 MB, free: 73.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.8883, allocations: 2.92 MB / 452.2 MB, free: 70.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.8883, allocations: 7.891 kB / 452.2 MB, free: 70.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.8902, allocations: 0.8753 MB / 453.1 MB, free: 69.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.8906, allocations: 196 kB / 453.3 MB, free: 69.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.8908, allocations: 12 kB / 453.3 MB, free: 69.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.8915, allocations: 35.97 kB / 453.3 MB, free: 68.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8916, allocations: 39.84 kB / 453.3 MB, free: 68.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.8917, allocations: 16 kB / 453.4 MB, free: 68.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009532/0.8926, allocations: 0.5264 MB / 453.9 MB, free: 68.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.8927, allocations: 4 kB / 453.9 MB, free: 68.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001301/0.894, allocations: 244 kB / 454.1 MB, free: 68.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002599/0.8966, allocations: 2.11 MB / 456.2 MB, free: 66.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.8983, allocations: 0.7005 MB / 456.9 MB, free: 65.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8983, allocations: 4.125 kB / 456.9 MB, free: 65.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008957/0.8992, allocations: 473.2 kB / 457.4 MB, free: 64.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.9008, allocations: 204.7 kB / 457.6 MB, free: 64.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.913, allocations: 11.5 MB / 469.1 MB, free: 52.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.9136, allocations: 1.028 MB / 470.1 MB, free: 51.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007528/0.9144, allocations: 111.3 kB / 470.3 MB, free: 51.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.915, allocations: 375.3 kB / 470.6 MB, free: 51.2 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.915, allocations: 4 kB / 470.6 MB, free: 51.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06104/0.976, allocations: 20.41 MB / 491 MB, free: 30.8 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/0.9764, allocations: 215.6 kB / 491.2 MB, free: 30.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/4.465, allocations: 4 kB / 491.2 MB, free: 30.55 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat