Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001827/0.001827, allocations: 195.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8943/0.8943, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.72 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 80.92 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002543/0.1451, allocations: 1.485 MB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1463, allocations: 0.8071 MB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.1464, allocations: 4 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.1464, allocations: 0 / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.1465, allocations: 7.938 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1469, allocations: 95.73 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.147, allocations: 35.86 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.1471, allocations: 4 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.1471, allocations: 15.98 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.1472, allocations: 23.91 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1472, allocations: 4 kB / 0.5862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.1476, allocations: 319.3 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.1476, allocations: 3.984 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1477, allocations: 15.92 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.148, allocations: 191.9 kB / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.148, allocations: 0 / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.148, allocations: 0 / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.148, allocations: 0 / 0.5867 GB, free: 1.875 MB / 494.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.0004953/0.1485, allocations: 379.4 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1486, allocations: 8.031 kB / 0.5871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1486, allocations: 38.75 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.1491, allocations: 64.84 kB / 0.5872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1492, allocations: 168.3 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1492, allocations: 384 / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1492, allocations: 4.359 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1495, allocations: 89.75 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1496, allocations: 0 / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1496, allocations: 0 / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1496, allocations: 7.938 kB / 0.5875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.15, allocations: 91.84 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.1505, allocations: 300.8 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.1509, allocations: 98.47 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1512, allocations: 48.88 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1512, allocations: 4 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1512, allocations: 38.5 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1512, allocations: 0 / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007061/0.1519, allocations: 165.5 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.152, allocations: 51.41 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.152, allocations: 110 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1521, allocations: 25.7 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.1521, allocations: 84.05 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1521, allocations: 0 / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1522, allocations: 17.72 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.1523, allocations: 318.8 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1525, allocations: 47.95 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.1527, allocations: 43.95 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.1531, allocations: 92.77 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1531, allocations: 4 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004332/0.1535, allocations: 125.5 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1535, allocations: 4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1535, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1536, allocations: 4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1537, allocations: 19.97 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1537, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1539, allocations: 20.02 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1539, allocations: 0 / 0.5891 GB, free: 15.22 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.154, allocations: 117.8 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.154, allocations: 4 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.154, allocations: 3.125 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.154, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.154, allocations: 7.875 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.154, allocations: 3.938 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1542, allocations: 177.8 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1542, allocations: 4 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1544, allocations: 23.97 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1544, allocations: 0 / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1544, allocations: 0 / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1544, allocations: 0 / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1544, allocations: 0 / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.1549, allocations: 223.4 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1549, allocations: 85.02 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.155, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1551, allocations: 15.97 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1552, allocations: 4 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1552, allocations: 0 / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.1552, allocations: 87.27 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.483e-06/0.1552, allocations: 4.031 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002445/0.1555, allocations: 19.94 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000748/0.1562, allocations: 0.7514 MB / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.1567, allocations: 99.92 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1567, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1569, allocations: 51.95 kB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1572, allocations: 10.34 kB / 0.5907 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.1579, allocations: 204.9 kB / 0.5909 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1581, allocations: 0.677 MB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.1581, allocations: 12 kB / 0.5916 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.1582, allocations: 7.438 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1582, allocations: 4 kB / 0.5916 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.1689, allocations: 1.465 MB / 0.593 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.1691, allocations: 193 kB / 0.5932 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.795, allocations: 0 / 0.5932 GB, free: 10.86 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)