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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.052/1.052, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.758e-05, allocations: 0 / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06422/0.06428, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.3007, allocations: 32.94 MB / 206.3 MB, free: 4.973 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.301, allocations: 60.84 kB / 206.4 MB, free: 4.973 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01807/0.3191, allocations: 4.203 MB / 210.6 MB, free: 4.352 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3191, allocations: 0 / 210.6 MB, free: 4.352 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3192, allocations: 5.156 kB / 210.6 MB, free: 4.352 MB / 170.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.0008965/0.3201, allocations: 498.2 kB / 211.1 MB, free: 3.945 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.3201, allocations: 9.344 kB / 211.1 MB, free: 3.945 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3203, allocations: 26.19 kB / 211.1 MB, free: 3.934 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3205, allocations: 202.6 kB / 211.3 MB, free: 3.707 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3205, allocations: 10.62 kB / 211.3 MB, free: 3.707 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.3206, allocations: 17.17 kB / 211.3 MB, free: 3.707 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004218/0.321, allocations: 137.9 kB / 211.5 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.3215, allocations: 196.7 kB / 211.7 MB, free: 3.645 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3215, allocations: 1.125 kB / 211.7 MB, free: 3.645 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.3216, allocations: 4 kB / 211.7 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3216, allocations: 6.844 kB / 211.7 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3231, allocations: 0.6657 MB / 212.3 MB, free: 3.273 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3236, allocations: 218.1 kB / 212.6 MB, free: 3.219 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3238, allocations: 85 kB / 212.6 MB, free: 3.203 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3238, allocations: 2.719 kB / 212.6 MB, free: 3.203 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3239, allocations: 40.56 kB / 212.7 MB, free: 3.16 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 3.627e-06/0.3239, allocations: 0 / 212.7 MB, free: 3.16 MB / 170.7 MB Notification: Performance of matching and sorting (n=42): time 0.003207/0.3271, allocations: 1.423 MB / 214.1 MB, free: 2.223 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3272, allocations: 89.09 kB / 214.2 MB, free: 2.121 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3275, allocations: 137.2 kB / 214.3 MB, free: 2.027 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.3275, allocations: 25.7 kB / 214.4 MB, free: 1.996 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3277, allocations: 204.9 kB / 214.6 MB, free: 1.824 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3279, allocations: 156.9 kB / 214.7 MB, free: 1.719 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.3279, allocations: 0 / 214.7 MB, free: 1.719 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.328, allocations: 328.8 kB / 215 MB, free: 1.406 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.3284, allocations: 77.03 kB / 215.1 MB, free: 1.406 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.3288, allocations: 127.4 kB / 215.2 MB, free: 1.371 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.3292, allocations: 95.44 kB / 215.3 MB, free: 1.371 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3293, allocations: 0 / 215.3 MB, free: 1.371 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001071/0.3303, allocations: 289.3 kB / 215.6 MB, free: 1.316 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3304, allocations: 3.875 kB / 215.6 MB, free: 1.316 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3304, allocations: 4.062 kB / 215.6 MB, free: 1.312 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/0.3305, allocations: 3.75 kB / 215.6 MB, free: 1.312 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.3316, allocations: 89.95 kB / 215.7 MB, free: 1.305 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3317, allocations: 3.875 kB / 215.7 MB, free: 1.305 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.332, allocations: 3.953 kB / 215.7 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.3321, allocations: 14.81 kB / 215.7 MB, free: 1.301 MB / 170.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.0001581/0.3323, allocations: 108.8 kB / 215.8 MB, free: 1.191 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009424/0.3332, allocations: 250.7 kB / 216.1 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3334, allocations: 30.56 kB / 216.1 MB, free: 1.125 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.3336, allocations: 31.23 kB / 216.1 MB, free: 1.117 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3336, allocations: 7.625 kB / 216.1 MB, free: 1.113 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3336, allocations: 3.953 kB / 216.1 MB, free: 1.109 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.3337, allocations: 2.953 kB / 216.2 MB, free: 1.109 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.3362, allocations: 0.8161 MB / 217 MB, free: 0.7188 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.3363, allocations: 1.438 kB / 217 MB, free: 0.7188 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.3377, allocations: 91.02 kB / 217.1 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/0.3377, allocations: 6.828 kB / 217.1 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.3378, allocations: 0 / 217.1 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.3378, allocations: 3.906 kB / 217.1 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.3379, allocations: 8 kB / 217.1 MB, free: 0.7031 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.339, allocations: 0.5793 MB / 217.7 MB, free: 412 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.3392, allocations: 100.5 kB / 217.8 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.3392, allocations: 3.844 kB / 217.8 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.3395, allocations: 0 / 217.8 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.3396, allocations: 28.17 kB / 217.8 MB, free: 296 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3396, allocations: 15.62 kB / 217.8 MB, free: 292 kB / 170.7 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.3397, allocations: 114.9 kB / 217.9 MB, free: 216 kB / 170.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3397, allocations: 0 / 217.9 MB, free: 216 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.3403, allocations: 56.62 kB / 218 MB, free: 216 kB / 170.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.001355/0.3416, allocations: 1.329 MB / 219.3 MB, free: 15.18 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.3423, allocations: 228.2 kB / 219.5 MB, free: 15.16 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3423, allocations: 0 / 219.5 MB, free: 15.16 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.3426, allocations: 122.2 kB / 219.6 MB, free: 15.16 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.3435, allocations: 43 kB / 219.7 MB, free: 15.15 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3461, allocations: 0.9272 MB / 220.6 MB, free: 14.52 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3466, allocations: 0.7786 MB / 221.4 MB, free: 13.82 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.3468, allocations: 88.42 kB / 221.5 MB, free: 13.81 MB / 186.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3468, allocations: 0 / 221.5 MB, free: 13.81 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.234, allocations: 4.478 MB / 226 MB, free: 12.06 MB / 186.7 MB