Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 92 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7799/0.7799, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 11.98 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4175, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001406/0.419, allocations: 1.15 MB / 0.5843 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.42, allocations: 0.7374 MB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.4201, allocations: 0.7188 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.4201, allocations: 0.6094 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.265e-05/0.4202, allocations: 5.531 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.4206, allocations: 98.84 kB / 0.5851 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.4207, allocations: 26.62 kB / 0.5851 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.4208, allocations: 7.625 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.4208, allocations: 17.39 kB / 0.5851 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.4209, allocations: 20.77 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4209, allocations: 0.7812 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.4214, allocations: 307.5 kB / 0.5855 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.4214, allocations: 7.406 kB / 0.5855 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.4215, allocations: 27.14 kB / 0.5855 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.4217, allocations: 137 kB / 0.5856 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4217, allocations: 1.906 kB / 0.5856 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4217, allocations: 0 / 0.5856 GB, free: 2.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.4218, allocations: 0 / 0.5856 GB, free: 2.418 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004653/0.4222, allocations: 378.3 kB / 0.586 GB, free: 2.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4223, allocations: 9.156 kB / 0.586 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.4223, allocations: 36.14 kB / 0.586 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.4228, allocations: 77.36 kB / 0.5861 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.4229, allocations: 170.1 kB / 0.5863 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4229, allocations: 5 kB / 0.5863 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.4229, allocations: 1.531 kB / 0.5863 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.4232, allocations: 96.44 kB / 0.5864 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4232, allocations: 3.984 kB / 0.5864 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4232, allocations: 0.8125 kB / 0.5864 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4232, allocations: 1.625 kB / 0.5864 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.4236, allocations: 118.4 kB / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.4241, allocations: 304.7 kB / 0.5868 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4245, allocations: 114 kB / 0.5869 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.4247, allocations: 70.55 kB / 0.5869 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4247, allocations: 4.984 kB / 0.5869 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.4248, allocations: 31.86 kB / 0.587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4248, allocations: 0 / 0.587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007275/0.4255, allocations: 209.2 kB / 0.5872 GB, free: 1.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4255, allocations: 56.06 kB / 0.5872 GB, free: 1.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.4256, allocations: 102 kB / 0.5873 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4256, allocations: 30.23 kB / 0.5874 GB, free: 1.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.4257, allocations: 82.88 kB / 0.5874 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.4257, allocations: 8.625 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4257, allocations: 0.9375 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.4258, allocations: 317 kB / 0.5877 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.426, allocations: 56.88 kB / 0.5878 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.4262, allocations: 57.88 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4264, allocations: 55.81 kB / 0.5879 GB, free: 0.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4264, allocations: 0 / 0.5879 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004929/0.4269, allocations: 148.5 kB / 0.5881 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.427, allocations: 4.719 kB / 0.5881 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.427, allocations: 4.906 kB / 0.5881 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.427, allocations: 0.7969 kB / 0.5881 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4272, allocations: 26.45 kB / 0.5881 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4272, allocations: 4.641 kB / 0.5881 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4273, allocations: 26.75 kB / 0.5881 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4273, allocations: 1.484 kB / 0.5881 GB, free: 0.5625 MB / 430.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 (2): * Single equations (assignments): 2 * 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 5.519e-05/0.4274, allocations: 109.3 kB / 0.5882 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4274, allocations: 5.891 kB / 0.5882 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.4275, allocations: 9.438 kB / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4275, allocations: 0 / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4275, allocations: 0.8125 kB / 0.5882 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4275, allocations: 7.953 kB / 0.5882 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.4277, allocations: 173.3 kB / 0.5884 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4277, allocations: 0 / 0.5884 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.4278, allocations: 26.66 kB / 0.5884 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4278, allocations: 0.7031 kB / 0.5884 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4278, allocations: 5.312 kB / 0.5884 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4278, allocations: 4.703 kB / 0.5884 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4278, allocations: 0.875 kB / 0.5884 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.4283, allocations: 248.1 kB / 0.5887 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.4284, allocations: 78.72 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4284, allocations: 1.438 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4285, allocations: 25.55 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4286, allocations: 3.953 kB / 0.5888 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4286, allocations: 5.234 kB / 0.5888 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.4287, allocations: 85.16 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4287, allocations: 0 / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.4289, allocations: 16.19 kB / 0.5889 GB, free: 15.88 MB / 446.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 (2): * Single equations (assignments): 2 * 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.0008642/0.4298, allocations: 0.7864 MB / 0.5897 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004706/0.4303, allocations: 121 kB / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4303, allocations: 0.6875 kB / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.4305, allocations: 60.36 kB / 0.5898 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4308, allocations: 2.781 kB / 0.5898 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.4316, allocations: 207.6 kB / 0.59 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.432, allocations: 0.6777 MB / 0.5907 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.4321, allocations: 7.781 kB / 0.5907 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4322, allocations: 14.45 kB / 0.5907 GB, free: 14.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4322, allocations: 5.312 kB / 0.5907 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.4441, allocations: 1.395 MB / 0.5921 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.4443, allocations: 172.3 kB / 0.5922 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.085, allocations: 0.7188 kB / 0.5922 GB, free: 13.9 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: