Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 91.73 kB / 16.3 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 185.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 8 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09494, allocations: 47.59 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002335/0.09733, allocations: 1.821 MB / 329.5 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.09853, allocations: 0.692 MB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.09859, allocations: 4 kB / 330.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.579e-05/0.09868, allocations: 3.938 kB / 330.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.09882, allocations: 12 kB / 330.2 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.09936, allocations: 163.6 kB / 330.4 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.09943, allocations: 15.92 kB / 330.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.09949, allocations: 7.984 kB / 330.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.09954, allocations: 4 kB / 330.4 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.09961, allocations: 19.92 kB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.09962, allocations: 0 / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.09984, allocations: 115.8 kB / 330.5 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.09986, allocations: 7.922 kB / 330.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.09989, allocations: 33.69 kB / 330.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1001, allocations: 75.88 kB / 330.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1001, allocations: 0 / 330.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1001, allocations: 0 / 330.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1001, allocations: 0 / 330.7 MB, free: 1.109 MB / 270.1 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.0003686/0.1005, allocations: 343.6 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1005, allocations: 12.03 kB / 331 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1006, allocations: 4 kB / 331 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1007, allocations: 174.9 kB / 331.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1008, allocations: 3.953 kB / 331.2 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1008, allocations: 0 / 331.2 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1009, allocations: 37.69 kB / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1009, allocations: 0 / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1009, allocations: 0 / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1009, allocations: 3.938 kB / 331.2 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.101, allocations: 4 kB / 331.2 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1014, allocations: 408 kB / 331.6 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.1015, allocations: 169.1 kB / 331.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1015, allocations: 75.28 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.1015, allocations: 113.8 kB / 332 MB, free: 15.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1015, allocations: 0 / 332 MB, free: 15.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.013e-05/0.1016, allocations: 29.7 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.1017, allocations: 156.4 kB / 332.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1018, allocations: 113.8 kB / 332.3 MB, free: 15.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1018, allocations: 29.7 kB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.1019, allocations: 88.08 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.1019, allocations: 0 / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.1019, allocations: 4 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.102, allocations: 314.8 kB / 332.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.1021, allocations: 8 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.1021, allocations: 7.984 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.1021, allocations: 0 / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1021, allocations: 3.938 kB / 332.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001105/0.1022, allocations: 41.61 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1023, allocations: 8 kB / 332.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1023, allocations: 4.109 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1023, allocations: 4 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.1023, allocations: 0 / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1024, allocations: 4 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.1024, allocations: 0 / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1024, allocations: 320 / 332.8 MB, free: 14.77 MB / 286.1 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.0001063/0.1025, allocations: 189.1 kB / 333 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.1026, allocations: 104.9 kB / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.1027, allocations: 124.3 kB / 333.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-05/0.1027, allocations: 176.3 kB / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/0.1028, allocations: 180.2 kB / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/0.1029, allocations: 176.3 kB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1031, allocations: 413.1 kB / 334.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-05/0.1032, allocations: 109 kB / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.1032, allocations: 109 kB / 334.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.313e-05/0.1033, allocations: 184.1 kB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.1034, allocations: 180.3 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.047e-05/0.1034, allocations: 184.2 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.1035, allocations: 180.2 kB / 335 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1037, allocations: 311.8 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1037, allocations: 189.9 kB / 335.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/0.1038, allocations: 184.2 kB / 335.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.1039, allocations: 101 kB / 335.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.104, allocations: 176.3 kB / 336 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.1041, allocations: 112.9 kB / 336.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.1041, allocations: 99.25 kB / 336.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1041, allocations: 3.938 kB / 336.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1045, allocations: 43.98 kB / 336.2 MB, free: 11.09 MB / 286.1 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.0005406/0.105, allocations: 255.3 kB / 336.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.1051, allocations: 4.328 kB / 336.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1051, allocations: 0 / 336.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.1051, allocations: 3.938 kB / 336.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1055, allocations: 0.5225 MB / 337 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.1057, allocations: 170 kB / 337.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.106, allocations: 0.677 MB / 337.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.1061, allocations: 11.92 kB / 337.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.1061, allocations: 15.44 kB / 337.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1061, allocations: 0 / 337.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of Templates: time 0.003548/0.1097, allocations: 1.061 MB / 338.9 MB, free: 8.32 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) Environment - environmentSimulation: