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.DCMachines.DCSE_Start.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.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.596/1.596, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08076/0.08116, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.4735, allocations: 88.09 MB / 360.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.4738, allocations: 84.95 kB / 360.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.5949, allocations: 28.23 MB / 388.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5949, allocations: 3.938 kB / 388.5 MB, free: 9.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.626e-05/0.595, allocations: 20 kB / 388.6 MB, free: 9.133 MB / 314.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.00353/0.5986, allocations: 1.25 MB / 389.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.5987, allocations: 12.47 kB / 389.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/0.599, allocations: 157.7 kB / 390 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.6, allocations: 190.3 kB / 390.2 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.6025, allocations: 0.8004 MB / 391 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.6026, allocations: 72.62 kB / 391 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.6028, allocations: 106.3 kB / 391.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6054, allocations: 0.9231 MB / 392.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.6055, allocations: 0 / 392.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.6057, allocations: 46.19 kB / 392.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.6057, allocations: 24 kB / 392.1 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.6077, allocations: 0.6358 MB / 392.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008749/0.6165, allocations: 3.925 MB / 396.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.6177, allocations: 452.3 kB / 397.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.6178, allocations: 7.938 kB / 397.1 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6178, allocations: 38.56 kB / 397.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.687e-06/0.6178, allocations: 4 kB / 397.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.004497/0.6223, allocations: 1.442 MB / 398.6 MB, free: 208 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.6225, allocations: 89.55 kB / 398.7 MB, free: 100 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.6241, allocations: 0.6994 MB / 399.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.6242, allocations: 37.64 kB / 399.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.6248, allocations: 0.5488 MB / 400 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.625, allocations: 169.6 kB / 400.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.6251, allocations: 12 kB / 400.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6252, allocations: 334 kB / 400.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.6258, allocations: 169.9 kB / 400.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.6266, allocations: 468 kB / 401.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007327/0.6274, allocations: 248.6 kB / 401.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6274, allocations: 0 / 401.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002292/0.6297, allocations: 0.7896 MB / 402.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.6298, allocations: 8 kB / 402.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.6298, allocations: 8 kB / 402.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.6303, allocations: 85.91 kB / 402.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.6314, allocations: 159.7 kB / 402.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.635, allocations: 2.931 MB / 405.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6361, allocations: 35.89 kB / 405.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-05/0.6363, allocations: 36.16 kB / 405.4 MB, free: 8.945 MB / 330.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.0008639/0.6371, allocations: 269.5 kB / 405.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.6374, allocations: 90.97 kB / 405.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.6391, allocations: 0.4949 MB / 406.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6391, allocations: 7.938 kB / 406.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6391, allocations: 0 / 406.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6392, allocations: 3.984 kB / 406.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.643, allocations: 1.435 MB / 407.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.6431, allocations: 0 / 407.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.6437, allocations: 75.91 kB / 407.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.6441, allocations: 73.66 kB / 407.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.6442, allocations: 12.25 kB / 407.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.6474, allocations: 2.919 MB / 410.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6475, allocations: 3.938 kB / 410.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.6498, allocations: 0.8756 MB / 411.7 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.6503, allocations: 196 kB / 411.9 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6505, allocations: 19.98 kB / 411.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.6512, allocations: 27.98 kB / 411.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6514, allocations: 39.89 kB / 411.9 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.6514, allocations: 16 kB / 412 MB, free: 1.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.6526, allocations: 0.5264 MB / 412.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6526, allocations: 0 / 412.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001391/0.654, allocations: 255.9 kB / 412.7 MB, free: 1.137 MB / 330.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.003222/0.6573, allocations: 2.111 MB / 414.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.6592, allocations: 0.6998 MB / 415.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6593, allocations: 8.312 kB / 415.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6604, allocations: 461 kB / 416 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6621, allocations: 214.2 kB / 416.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.6778, allocations: 11.51 MB / 427.7 MB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/0.6787, allocations: 1.024 MB / 428.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008099/0.6795, allocations: 111.3 kB / 428.9 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007365/0.6803, allocations: 375.3 kB / 429.2 MB, free: 124 kB / 346.7 MB Notification: Performance of SimCode: time 1.824e-06/0.6803, allocations: 4 kB / 429.2 MB, free: 120 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.9707, allocations: 20.4 MB / 449.6 MB, free: 95.28 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.971, allocations: 211.1 kB / 449.8 MB, free: 95.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.306, allocations: 0 / 449.8 MB, free: 95.04 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat