Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.216/1.216, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 15.98 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06498/0.06534, allocations: 25.17 MB / 183.5 MB, free: 5.926 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003893/0.0693, allocations: 1.758 MB / 185.3 MB, free: 4.164 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.07114, allocations: 0.5862 MB / 185.9 MB, free: 3.574 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.0712, allocations: 0 / 185.9 MB, free: 3.574 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.07131, allocations: 15.94 kB / 185.9 MB, free: 3.559 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.07146, allocations: 0 / 185.9 MB, free: 3.559 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.07245, allocations: 147.7 kB / 186 MB, free: 3.414 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.07254, allocations: 19.91 kB / 186 MB, free: 3.395 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.0726, allocations: 0 / 186 MB, free: 3.395 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.07266, allocations: 12 kB / 186 MB, free: 3.383 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.07276, allocations: 19.91 kB / 186.1 MB, free: 3.363 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.07279, allocations: 0 / 186.1 MB, free: 3.363 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.07315, allocations: 103.9 kB / 186.2 MB, free: 3.262 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.07319, allocations: 4 kB / 186.2 MB, free: 3.258 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.07323, allocations: 29.64 kB / 186.2 MB, free: 3.223 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.07352, allocations: 79.8 kB / 186.3 MB, free: 3.145 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.07354, allocations: 3.938 kB / 186.3 MB, free: 3.141 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.07355, allocations: 0 / 186.3 MB, free: 3.141 MB / 154.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.07357, allocations: 0 / 186.3 MB, free: 3.141 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004538/0.07404, allocations: 359.5 kB / 186.6 MB, free: 2.742 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.0741, allocations: 8.031 kB / 186.6 MB, free: 2.734 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.07417, allocations: 38.53 kB / 186.7 MB, free: 2.688 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.07421, allocations: 0 / 186.7 MB, free: 2.688 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.07441, allocations: 167.1 kB / 186.8 MB, free: 2.484 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.07444, allocations: 0 / 186.8 MB, free: 2.484 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.07446, allocations: 0 / 186.8 MB, free: 2.484 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.07459, allocations: 37.69 kB / 186.9 MB, free: 2.441 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.07461, allocations: 0 / 186.9 MB, free: 2.441 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.07464, allocations: 7.953 kB / 186.9 MB, free: 2.434 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.07466, allocations: 0 / 186.9 MB, free: 2.434 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.07471, allocations: 7.938 kB / 186.9 MB, free: 2.426 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.07519, allocations: 392 kB / 187.3 MB, free: 1.992 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.07532, allocations: 173.1 kB / 187.4 MB, free: 1.812 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.07538, allocations: 79.28 kB / 187.5 MB, free: 1.734 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.792e-05/0.07547, allocations: 117.8 kB / 187.6 MB, free: 1.609 MB / 154.7 MB Notification: Performance of pre-optimization done (n=0): time 4.148e-06/0.07549, allocations: 0 / 187.6 MB, free: 1.609 MB / 154.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001073/0.07561, allocations: 37.55 kB / 187.7 MB, free: 1.566 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.07573, allocations: 152.4 kB / 187.8 MB, free: 1.398 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.0759, allocations: 113.8 kB / 187.9 MB, free: 1.277 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.07594, allocations: 25.7 kB / 188 MB, free: 1.246 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.07606, allocations: 154.6 kB / 188.1 MB, free: 1.094 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.07608, allocations: 7.984 kB / 188.1 MB, free: 1.086 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.07609, allocations: 0 / 188.1 MB, free: 1.086 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.07625, allocations: 314.8 kB / 188.4 MB, free: 0.7695 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.07629, allocations: 0 / 188.4 MB, free: 0.7695 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.07633, allocations: 4 kB / 188.4 MB, free: 0.7656 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.07637, allocations: 7.938 kB / 188.4 MB, free: 0.7578 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.07639, allocations: 0 / 188.4 MB, free: 0.7578 MB / 154.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001631/0.07656, allocations: 45.72 kB / 188.5 MB, free: 0.707 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.0766, allocations: 8.031 kB / 188.5 MB, free: 0.6992 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.07662, allocations: 3.953 kB / 188.5 MB, free: 0.6953 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.07665, allocations: 0 / 188.5 MB, free: 0.6953 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.07673, allocations: 4 kB / 188.5 MB, free: 0.6914 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.07675, allocations: 320 / 188.5 MB, free: 0.6914 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.07682, allocations: 0 / 188.5 MB, free: 0.6914 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.07686, allocations: 0 / 188.5 MB, free: 0.6914 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001521/0.07702, allocations: 189.1 kB / 188.7 MB, free: 0.4961 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.07714, allocations: 108.9 kB / 188.8 MB, free: 392 kB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.07724, allocations: 124.4 kB / 188.9 MB, free: 260 kB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.711e-05/0.07734, allocations: 180.2 kB / 189.1 MB, free: 72 kB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001201/0.07747, allocations: 180.2 kB / 189.3 MB, free: 15.89 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/0.07758, allocations: 184.2 kB / 189.4 MB, free: 15.7 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.07798, allocations: 409.2 kB / 189.8 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-05/0.07806, allocations: 105 kB / 189.9 MB, free: 15.13 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.07813, allocations: 101 kB / 190 MB, free: 15.03 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-05/0.07824, allocations: 180.2 kB / 190.2 MB, free: 14.84 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/0.07834, allocations: 180.3 kB / 190.4 MB, free: 14.66 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.941e-05/0.07846, allocations: 192.2 kB / 190.6 MB, free: 14.46 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.354e-05/0.07856, allocations: 184.2 kB / 190.8 MB, free: 14.28 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.07878, allocations: 303.8 kB / 191.1 MB, free: 13.96 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.07894, allocations: 186.1 kB / 191.2 MB, free: 13.75 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.07907, allocations: 180.2 kB / 191.4 MB, free: 13.57 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.07926, allocations: 101 kB / 191.5 MB, free: 13.46 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.07938, allocations: 188.2 kB / 191.7 MB, free: 13.27 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.07946, allocations: 112.9 kB / 191.8 MB, free: 13.15 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.07958, allocations: 91.28 kB / 191.9 MB, free: 13.06 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.07959, allocations: 0 / 191.9 MB, free: 13.06 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005969/0.0802, allocations: 39.98 kB / 191.9 MB, free: 13.02 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.001124/0.08134, allocations: 0.9116 MB / 192.8 MB, free: 12.09 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.08146, allocations: 11.94 kB / 192.9 MB, free: 12.08 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.08148, allocations: 0 / 192.9 MB, free: 12.08 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.0815, allocations: 4 kB / 192.9 MB, free: 12.08 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.08198, allocations: 0.5146 MB / 193.4 MB, free: 11.56 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.08299, allocations: 477.6 kB / 193.8 MB, free: 11.04 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.08335, allocations: 0.677 MB / 194.5 MB, free: 10.33 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.08342, allocations: 11.44 kB / 194.5 MB, free: 10.32 MB / 170.7 MB Notification: Performance of SimCode: time 1.222e-06/0.08343, allocations: 0 / 194.5 MB, free: 10.32 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/2.715, allocations: 1.376 MB / 195.9 MB, free: 8.949 MB / 170.7 MB