Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.121/1.121, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.502e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 25.16 MB / 179.5 MB, free: 0.8203 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06113/0.2326, allocations: 33.62 MB / 213.1 MB, free: 15.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.2329, allocations: 59.97 kB / 213.2 MB, free: 15.42 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.2516, allocations: 4.26 MB / 217.5 MB, free: 11.14 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2517, allocations: 4 kB / 217.5 MB, free: 11.13 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.2517, allocations: 4 kB / 217.5 MB, free: 11.13 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009089/0.2526, allocations: 486.4 kB / 217.9 MB, free: 10.61 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.2527, allocations: 12.03 kB / 217.9 MB, free: 10.6 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.588e-05/0.2528, allocations: 62.55 kB / 218 MB, free: 10.53 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.2529, allocations: 27.62 kB / 218 MB, free: 10.5 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2531, allocations: 199.4 kB / 218.2 MB, free: 10.26 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.2531, allocations: 16.56 kB / 218.2 MB, free: 10.25 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.2532, allocations: 24 kB / 218.3 MB, free: 10.22 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.2538, allocations: 227.6 kB / 218.5 MB, free: 9.988 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2538, allocations: 8 kB / 218.5 MB, free: 9.98 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.2539, allocations: 4 kB / 218.5 MB, free: 9.977 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2539, allocations: 12 kB / 218.5 MB, free: 9.965 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.2543, allocations: 156.4 kB / 218.7 MB, free: 9.812 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2558, allocations: 0.7186 MB / 219.4 MB, free: 9.039 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.2563, allocations: 237.2 kB / 219.6 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.2566, allocations: 93.72 kB / 219.7 MB, free: 8.691 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.2566, allocations: 4 kB / 219.7 MB, free: 8.688 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2567, allocations: 34.56 kB / 219.8 MB, free: 8.645 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/0.2567, allocations: 4 kB / 219.8 MB, free: 8.641 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.003705/0.2604, allocations: 1.543 MB / 221.3 MB, free: 6.926 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.2605, allocations: 81.11 kB / 221.4 MB, free: 6.828 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.2608, allocations: 155.1 kB / 221.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.2608, allocations: 41.64 kB / 221.6 MB, free: 6.617 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.261, allocations: 195.1 kB / 221.8 MB, free: 6.426 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.2611, allocations: 153.8 kB / 221.9 MB, free: 6.273 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.2612, allocations: 8 kB / 221.9 MB, free: 6.266 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2613, allocations: 330.8 kB / 222.2 MB, free: 5.934 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.2616, allocations: 92.88 kB / 222.3 MB, free: 5.844 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2619, allocations: 131.8 kB / 222.5 MB, free: 5.707 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2622, allocations: 111.8 kB / 222.6 MB, free: 5.598 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2622, allocations: 0 / 222.6 MB, free: 5.598 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007478/0.263, allocations: 313.3 kB / 222.9 MB, free: 5.285 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.263, allocations: 4 kB / 222.9 MB, free: 5.281 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.263, allocations: 4 kB / 222.9 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2631, allocations: 0 / 222.9 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.2638, allocations: 99.84 kB / 223 MB, free: 5.18 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.2638, allocations: 4 kB / 223 MB, free: 5.176 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.264, allocations: 8 kB / 223 MB, free: 5.168 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.2641, allocations: 16 kB / 223 MB, free: 5.152 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2642, allocations: 128.9 kB / 223.1 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2643, allocations: 23.72 kB / 223.2 MB, free: 4.996 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.2645, allocations: 37.64 kB / 223.2 MB, free: 4.957 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2645, allocations: 4 kB / 223.2 MB, free: 4.953 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2645, allocations: 3.953 kB / 223.2 MB, free: 4.949 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2645, allocations: 4 kB / 223.2 MB, free: 4.945 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.2664, allocations: 0.8931 MB / 224.1 MB, free: 3.988 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.2665, allocations: 7.953 kB / 224.1 MB, free: 3.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.2673, allocations: 83.91 kB / 224.2 MB, free: 3.898 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/0.2673, allocations: 8.062 kB / 224.2 MB, free: 3.891 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.2673, allocations: 4 kB / 224.2 MB, free: 3.887 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.2674, allocations: 7.984 kB / 224.2 MB, free: 3.879 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.2674, allocations: 3.938 kB / 224.2 MB, free: 3.875 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2685, allocations: 0.6137 MB / 224.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2686, allocations: 96.73 kB / 224.9 MB, free: 3.102 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.2687, allocations: 12 kB / 224.9 MB, free: 3.09 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.269, allocations: 8 kB / 224.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.269, allocations: 35.8 kB / 225 MB, free: 3.047 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.2691, allocations: 8 kB / 225 MB, free: 3.039 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.2692, allocations: 136.2 kB / 225.1 MB, free: 2.906 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2693, allocations: 4 kB / 225.1 MB, free: 2.902 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005137/0.2698, allocations: 76 kB / 225.2 MB, free: 2.828 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/0.2713, allocations: 1.364 MB / 226.6 MB, free: 1.418 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.272, allocations: 259.7 kB / 226.8 MB, free: 1.168 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2721, allocations: 0 / 226.8 MB, free: 1.168 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.2724, allocations: 135.8 kB / 226.9 MB, free: 1.035 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.2731, allocations: 55.02 kB / 227 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2756, allocations: 0.9628 MB / 228 MB, free: 15.97 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.276, allocations: 0.7722 MB / 228.7 MB, free: 15.17 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.2763, allocations: 91.41 kB / 228.8 MB, free: 15.08 MB / 202.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2763, allocations: 0 / 228.8 MB, free: 15.08 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/2.805, allocations: 4.541 MB / 233.4 MB, free: 10.54 MB / 202.7 MB