Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 199.7 kB / 18.05 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.847/1.847, allocations: 226.5 MB / 245.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009735/0.0009738, allocations: 90.19 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 8 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.5183, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001169/0.5196, allocations: 231.8 kB / 408.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.5219, allocations: 1.39 MB / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.5219, allocations: 0 / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.522, allocations: 0.5312 kB / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.522, allocations: 1.969 kB / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.5229, allocations: 146.2 kB / 410.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.309e-05/0.523, allocations: 17.95 kB / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.5231, allocations: 0 / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.5232, allocations: 7.938 kB / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.5233, allocations: 7.984 kB / 410.5 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.5233, allocations: 4 kB / 410.5 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.5236, allocations: 112.4 kB / 410.6 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.5236, allocations: 7.984 kB / 410.6 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.5237, allocations: 34.17 kB / 410.6 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.5239, allocations: 80.55 kB / 410.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.5239, allocations: 0 / 410.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.69e-06/0.5239, allocations: 1.969 kB / 410.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.5239, allocations: 0 / 410.7 MB, free: 25.68 MB / 298.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.0005076/0.5244, allocations: 343.5 kB / 411 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.5245, allocations: 12.03 kB / 411.1 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.5248, allocations: 3.875 kB / 411.1 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.525, allocations: 164.4 kB / 411.2 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.525, allocations: 4.375 kB / 411.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.525, allocations: 4.125 kB / 411.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.5252, allocations: 33.69 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5252, allocations: 3.938 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.5253, allocations: 0 / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.5253, allocations: 4 kB / 411.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.948e-05/0.5253, allocations: 4 kB / 411.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.5259, allocations: 481 kB / 411.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.526, allocations: 165.1 kB / 411.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.5261, allocations: 80.14 kB / 412 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.5261, allocations: 83.22 kB / 412.1 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.5262, allocations: 113.8 kB / 412.2 MB, free: 24.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5262, allocations: 0 / 412.2 MB, free: 24.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001206/0.5263, allocations: 37.61 kB / 412.2 MB, free: 23.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.5264, allocations: 77.11 kB / 412.3 MB, free: 23.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.5265, allocations: 109.8 kB / 412.4 MB, free: 23.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5265, allocations: 25.7 kB / 412.4 MB, free: 23.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.5266, allocations: 89.12 kB / 412.5 MB, free: 23.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.5267, allocations: 0 / 412.5 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5267, allocations: 0 / 412.5 MB, free: 23.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5268, allocations: 322.8 kB / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.5268, allocations: 0 / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.5268, allocations: 11.88 kB / 412.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.5269, allocations: 4.859 kB / 412.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5269, allocations: 4.094 kB / 412.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001674/0.527, allocations: 41.69 kB / 412.9 MB, free: 23.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5271, allocations: 4 kB / 412.9 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5271, allocations: 4 kB / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.5271, allocations: 0 / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.5272, allocations: 0 / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5273, allocations: 0 / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.5273, allocations: 4 kB / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5273, allocations: 0 / 412.9 MB, free: 23.25 MB / 298.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.0001288/0.5274, allocations: 189.1 kB / 413.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.5275, allocations: 112.8 kB / 413.2 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.5276, allocations: 112.5 kB / 413.3 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/0.5277, allocations: 180.2 kB / 413.5 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.5277, allocations: 105 kB / 413.6 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.5278, allocations: 186.1 kB / 413.8 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.5279, allocations: 184.2 kB / 413.9 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.528, allocations: 108.9 kB / 414 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.5281, allocations: 184.2 kB / 414.2 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.499e-05/0.5282, allocations: 251.5 kB / 414.5 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001779/0.5284, allocations: 383 kB / 414.8 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.457e-05/0.5284, allocations: 109 kB / 415 MB, free: 21.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.5285, allocations: 87.52 kB / 415 MB, free: 20.97 MB / 298.7 MB Notification: Performance of Backend: time 1.7e-07/0.5285, allocations: 0 / 415 MB, free: 20.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009611/0.5295, allocations: 164.8 kB / 415.2 MB, free: 20.83 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006886/0.5302, allocations: 0.9432 MB / 416.1 MB, free: 19.82 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for x_zero found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: x_zero (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for A found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: A (no alias) initial: 1.0 no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for w found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: w (no alias) initial: 1.0 no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for x_max found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: x_max (no alias) initial: 1.7 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for x_min found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:3: x_min (no alias) initial: -1.7 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for y_zero found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:4: y_zero (no alias) initial: 0.5 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for x_zero found! Error: Internal error GetVarIndexListByMapping: No Element for A found! Error: Internal error GetVarIndexListByMapping: No Element for w found! Error: Internal error GetVarIndexListByMapping: No Element for x_max found! Error: Internal error GetVarIndexListByMapping: No Element for x_min found! Error: Internal error GetVarIndexListByMapping: No Element for y_zero found!