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.DCEE_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.DCEE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.4528, allocations: 92.79 MB / 401.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4531, allocations: 83.95 kB / 401.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3525/0.8057, allocations: 26.18 MB / 427.6 MB, free: 88.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8058, allocations: 0 / 427.6 MB, free: 88.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.25e-05/0.8058, allocations: 20.12 kB / 427.6 MB, free: 88.96 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00323/0.8091, allocations: 1.24 MB / 428.9 MB, free: 88.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8092, allocations: 11.66 kB / 428.9 MB, free: 88.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003906/0.8096, allocations: 150.4 kB / 429 MB, free: 88.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.8104, allocations: 176.9 kB / 429.2 MB, free: 88.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.8125, allocations: 0.7717 MB / 430 MB, free: 87.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.8127, allocations: 74.84 kB / 430 MB, free: 87.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.8129, allocations: 94.03 kB / 430.1 MB, free: 87.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.8152, allocations: 0.9178 MB / 431.1 MB, free: 87.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.8153, allocations: 7.812 kB / 431.1 MB, free: 87.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.8154, allocations: 45.27 kB / 431.1 MB, free: 87.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.8155, allocations: 21.97 kB / 431.1 MB, free: 87.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.8174, allocations: 0.6395 MB / 431.8 MB, free: 87.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007042/0.8245, allocations: 3.938 MB / 435.7 MB, free: 84.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.8254, allocations: 367.4 kB / 436.1 MB, free: 84.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.8254, allocations: 3.344 kB / 436.1 MB, free: 84.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.8255, allocations: 37.19 kB / 436.1 MB, free: 84.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.905e-06/0.8255, allocations: 4 kB / 436.1 MB, free: 84.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003357/0.8288, allocations: 1.238 MB / 437.3 MB, free: 83.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.8289, allocations: 88.41 kB / 437.4 MB, free: 83.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.8302, allocations: 0.69 MB / 438.1 MB, free: 82.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.8303, allocations: 29.7 kB / 438.1 MB, free: 82.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.8307, allocations: 0.5625 MB / 438.7 MB, free: 82.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.8308, allocations: 133.9 kB / 438.8 MB, free: 82.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.8309, allocations: 15.38 kB / 438.9 MB, free: 82.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.831, allocations: 337.6 kB / 439.2 MB, free: 81.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.8315, allocations: 153.2 kB / 439.3 MB, free: 81.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.8321, allocations: 472.5 kB / 439.8 MB, free: 81.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.8327, allocations: 229.7 kB / 440 MB, free: 81.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8328, allocations: 2.438 kB / 440 MB, free: 81.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001767/0.8345, allocations: 0.6965 MB / 440.7 MB, free: 80.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.8346, allocations: 12 kB / 440.7 MB, free: 80.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.8346, allocations: 8 kB / 440.7 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.8348, allocations: 35.95 kB / 440.8 MB, free: 80.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.8358, allocations: 173.2 kB / 440.9 MB, free: 80.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/0.8367, allocations: 1.295 MB / 442.2 MB, free: 79.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/0.8377, allocations: 51.3 kB / 442.3 MB, free: 79.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.8378, allocations: 35.94 kB / 442.3 MB, free: 79.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.8384, allocations: 249.6 kB / 442.6 MB, free: 79.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8385, allocations: 82.06 kB / 442.6 MB, free: 78.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.8396, allocations: 401.4 kB / 443 MB, free: 78.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.8396, allocations: 4 kB / 443 MB, free: 78.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8397, allocations: 3.953 kB / 443 MB, free: 78.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.8397, allocations: 7.703 kB / 443.1 MB, free: 78.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.8422, allocations: 1.26 MB / 444.3 MB, free: 77.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.8422, allocations: 0 / 444.3 MB, free: 77.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.8428, allocations: 84.28 kB / 444.4 MB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.843, allocations: 24.38 kB / 444.4 MB, free: 77.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.843, allocations: 11.94 kB / 444.4 MB, free: 77.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008563/0.8439, allocations: 1.272 MB / 445.7 MB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8439, allocations: 4.031 kB / 445.7 MB, free: 75.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.8455, allocations: 0.7471 MB / 446.5 MB, free: 75.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.8459, allocations: 181.5 kB / 446.6 MB, free: 75.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.846, allocations: 10.86 kB / 446.6 MB, free: 75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/0.8467, allocations: 31.38 kB / 446.7 MB, free: 74.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.8468, allocations: 34.2 kB / 446.7 MB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.8468, allocations: 8 kB / 446.7 MB, free: 74.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009366/0.8477, allocations: 0.5292 MB / 447.2 MB, free: 74.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8478, allocations: 0 / 447.2 MB, free: 74.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001108/0.8489, allocations: 224 kB / 447.5 MB, free: 74.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002193/0.8511, allocations: 1.956 MB / 449.4 MB, free: 72.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.8525, allocations: 0.5229 MB / 449.9 MB, free: 71.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8525, allocations: 0 / 449.9 MB, free: 71.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.8531, allocations: 275.9 kB / 450.2 MB, free: 71.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.8547, allocations: 205.4 kB / 450.4 MB, free: 71.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.8663, allocations: 11.82 MB / 462.2 MB, free: 59.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.8669, allocations: 1.012 MB / 463.2 MB, free: 58.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006581/0.8676, allocations: 107 kB / 463.3 MB, free: 58.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.8681, allocations: 367.3 kB / 463.7 MB, free: 57.91 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.8681, allocations: 0 / 463.7 MB, free: 57.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05811/0.9263, allocations: 19.15 MB / 482.9 MB, free: 38.78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/0.9267, allocations: 211.7 kB / 483.1 MB, free: 38.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/4.193, allocations: 3.938 kB / 483.1 MB, free: 38.53 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat