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.001151/0.001151, 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.001202/0.001202, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7077/0.7077, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 64.66 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1384, allocations: 80.2 MB / 0.5795 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002641/0.1411, allocations: 1.492 MB / 0.581 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1424, allocations: 0.8149 MB / 0.5818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.1424, allocations: 4 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.1424, allocations: 7.922 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.1425, allocations: 0 / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1429, allocations: 102.8 kB / 0.5819 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.143, allocations: 35.86 kB / 0.5819 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.143, allocations: 7.984 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.1431, allocations: 11.98 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.1432, allocations: 23.91 kB / 0.5819 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1432, allocations: 4 kB / 0.5819 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.1436, allocations: 311.4 kB / 0.5822 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1436, allocations: 7.969 kB / 0.5822 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1436, allocations: 15.94 kB / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1439, allocations: 195.9 kB / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1439, allocations: 0 / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1439, allocations: 0 / 0.5824 GB, free: 6.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1439, allocations: 0 / 0.5824 GB, free: 6.121 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.0004553/0.1444, allocations: 371.4 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1444, allocations: 8.031 kB / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.1445, allocations: 30.75 kB / 0.5828 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.1449, allocations: 72.75 kB / 0.5829 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.368e-05/0.145, allocations: 168.3 kB / 0.5831 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.145, allocations: 8.375 kB / 0.5831 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.145, allocations: 384 / 0.5831 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.1453, allocations: 81.75 kB / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1453, allocations: 0 / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1454, allocations: 0 / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1454, allocations: 4 kB / 0.5832 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.1458, allocations: 95.89 kB / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.1462, allocations: 300.7 kB / 0.5835 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1466, allocations: 102.4 kB / 0.5836 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1468, allocations: 52.86 kB / 0.5837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1468, allocations: 4 kB / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1468, allocations: 30.56 kB / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1468, allocations: 0 / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006596/0.1475, allocations: 173.6 kB / 0.5839 GB, free: 4.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1475, allocations: 51.41 kB / 0.5839 GB, free: 4.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/0.1476, allocations: 101.9 kB / 0.584 GB, free: 4.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1476, allocations: 29.7 kB / 0.5841 GB, free: 4.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.1477, allocations: 88.03 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1477, allocations: 4 kB / 0.5841 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.1477, allocations: 21.69 kB / 0.5842 GB, free: 4.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1478, allocations: 314.8 kB / 0.5845 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.148, allocations: 47.94 kB / 0.5845 GB, free: 3.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1482, allocations: 47.95 kB / 0.5846 GB, free: 3.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.1485, allocations: 88.83 kB / 0.5846 GB, free: 3.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1486, allocations: 0 / 0.5846 GB, free: 3.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004097/0.149, allocations: 125.5 kB / 0.5848 GB, free: 3.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.149, allocations: 10.02 kB / 0.5848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.149, allocations: 0 / 0.5848 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.149, allocations: 4 kB / 0.5848 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1492, allocations: 20.02 kB / 0.5848 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1492, allocations: 3.984 kB / 0.5848 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1493, allocations: 15.98 kB / 0.5848 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1493, allocations: 0 / 0.5848 GB, free: 3.465 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.1494, allocations: 114.4 kB / 0.5849 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1494, allocations: 11.98 kB / 0.5849 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.1494, allocations: 3.125 kB / 0.5849 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1494, allocations: 0 / 0.5849 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1495, allocations: 0 / 0.5849 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1495, allocations: 0 / 0.5849 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1496, allocations: 173.6 kB / 0.5851 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1496, allocations: 3.938 kB / 0.5851 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1498, allocations: 19.98 kB / 0.5851 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1498, allocations: 7.984 kB / 0.5851 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1498, allocations: 0 / 0.5851 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1498, allocations: 0 / 0.5851 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1498, allocations: 0 / 0.5851 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.1502, allocations: 227.2 kB / 0.5854 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.1503, allocations: 81.11 kB / 0.5854 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1503, allocations: 0 / 0.5854 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1504, allocations: 16.02 kB / 0.5854 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1505, allocations: 11.98 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1505, allocations: 256 / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.1505, allocations: 83.28 kB / 0.5855 GB, free: 2.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1505, allocations: 0 / 0.5855 GB, free: 2.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1508, allocations: 19.98 kB / 0.5856 GB, free: 2.609 MB / 494.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 (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.0006876/0.1515, allocations: 0.7592 MB / 0.5863 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.1519, allocations: 95.92 kB / 0.5864 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1519, allocations: 0 / 0.5864 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.1521, allocations: 47.95 kB / 0.5864 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1524, allocations: 8.062 kB / 0.5864 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.153, allocations: 204.8 kB / 0.5866 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1532, allocations: 0.677 MB / 0.5873 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.1533, allocations: 8 kB / 0.5873 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.1533, allocations: 15.36 kB / 0.5873 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1533, allocations: 0 / 0.5873 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.713/2.867, allocations: 1.464 MB / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/2.867, allocations: 190 kB / 0.5889 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/4.492, allocations: 0 / 0.5889 GB, free: 15.1 MB / 0.4981 GB (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/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)