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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.724/0.724, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.88 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3499, allocations: 80.21 MB / 0.5797 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002311/0.3522, allocations: 1.492 MB / 0.5811 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.3532, allocations: 0.7981 MB / 0.5819 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.3532, allocations: 1.625 kB / 0.5819 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.3533, allocations: 4.688 kB / 0.5819 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.3533, allocations: 0 / 0.5819 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3537, allocations: 107.5 kB / 0.582 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.3538, allocations: 35.98 kB / 0.5821 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.3539, allocations: 7.875 kB / 0.5821 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.3539, allocations: 13.44 kB / 0.5821 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.354, allocations: 24.62 kB / 0.5821 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.354, allocations: 2.844 kB / 0.5821 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.3544, allocations: 316.8 kB / 0.5824 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.3545, allocations: 7.094 kB / 0.5824 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.3545, allocations: 16.75 kB / 0.5824 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3548, allocations: 196.9 kB / 0.5826 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3548, allocations: 0 / 0.5826 GB, free: 2.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3548, allocations: 0 / 0.5826 GB, free: 2.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3548, allocations: 0 / 0.5826 GB, free: 2.711 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.0004287/0.3553, allocations: 377.2 kB / 0.583 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3553, allocations: 9.781 kB / 0.583 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.3554, allocations: 39.67 kB / 0.583 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.3558, allocations: 70.58 kB / 0.5831 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.773e-05/0.3559, allocations: 167.2 kB / 0.5832 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3559, allocations: 5.75 kB / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.356, allocations: 1.531 kB / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3562, allocations: 85.98 kB / 0.5833 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3563, allocations: 0 / 0.5833 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3563, allocations: 1.5 kB / 0.5833 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3563, allocations: 4 kB / 0.5833 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3567, allocations: 89.25 kB / 0.5834 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3571, allocations: 295.9 kB / 0.5837 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.3575, allocations: 96.44 kB / 0.5838 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3577, allocations: 52.34 kB / 0.5839 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3578, allocations: 0 / 0.5839 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.3578, allocations: 40.36 kB / 0.5839 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3578, allocations: 0 / 0.5839 GB, free: 1.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007127/0.3585, allocations: 168.1 kB / 0.5841 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.3585, allocations: 56.98 kB / 0.5841 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.3586, allocations: 106 kB / 0.5842 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3586, allocations: 25.7 kB / 0.5842 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.3586, allocations: 87.36 kB / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3586, allocations: 4.812 kB / 0.5843 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3587, allocations: 22.88 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.3587, allocations: 320 kB / 0.5846 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3589, allocations: 42.86 kB / 0.5847 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3591, allocations: 46.48 kB / 0.5847 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.3595, allocations: 90.27 kB / 0.5848 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3595, allocations: 0 / 0.5848 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004223/0.36, allocations: 122.6 kB / 0.5849 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.36, allocations: 5.375 kB / 0.5849 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.36, allocations: 4.875 kB / 0.5849 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.36, allocations: 1 kB / 0.5849 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3602, allocations: 24.28 kB / 0.585 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3602, allocations: 0.75 kB / 0.585 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3603, allocations: 17.59 kB / 0.585 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3603, allocations: 0.75 kB / 0.585 GB, free: 0.8477 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.3604, allocations: 119.1 kB / 0.5851 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3604, allocations: 1.594 kB / 0.5851 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.3604, allocations: 7.781 kB / 0.5851 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3604, allocations: 0.7031 kB / 0.5851 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3605, allocations: 1.5 kB / 0.5851 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3605, allocations: 0 / 0.5851 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.3606, allocations: 176 kB / 0.5853 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3606, allocations: 1.438 kB / 0.5853 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3607, allocations: 24.36 kB / 0.5853 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3608, allocations: 0.6562 kB / 0.5853 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3608, allocations: 2.125 kB / 0.5853 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3608, allocations: 0 / 0.5853 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3608, allocations: 0.9688 kB / 0.5853 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.3612, allocations: 225.9 kB / 0.5855 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.3613, allocations: 79.31 kB / 0.5856 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3613, allocations: 1.766 kB / 0.5856 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3614, allocations: 20.08 kB / 0.5856 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3615, allocations: 11.77 kB / 0.5856 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3615, allocations: 4.812 kB / 0.5856 GB, free: 252 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.3615, allocations: 85.67 kB / 0.5857 GB, free: 172 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3615, allocations: 0 / 0.5857 GB, free: 172 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3618, allocations: 10.97 kB / 0.5857 GB, free: 172 kB / 430.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.00075/0.3625, allocations: 0.7621 MB / 0.5865 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.363, allocations: 100.6 kB / 0.5866 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.363, allocations: 0 / 0.5866 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3632, allocations: 49.31 kB / 0.5866 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3635, allocations: 7.812 kB / 0.5866 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.3641, allocations: 201.6 kB / 0.5868 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3644, allocations: 0.6774 MB / 0.5875 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.3644, allocations: 7.312 kB / 0.5875 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3645, allocations: 11.14 kB / 0.5875 GB, free: 14.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3645, allocations: 0 / 0.5875 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/0.5764, allocations: 1.505 MB / 0.589 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.5766, allocations: 193.8 kB / 0.5891 GB, free: 14.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.576, allocations: 4 kB / 0.5892 GB, free: 14.07 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/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)