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.004429/0.004429, allocations: 102 kB / 15.73 MB, free: 6.062 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.001235/0.001235, allocations: 192 kB / 16.67 MB, free: 5.973 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 64.2 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1288, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002254/0.1311, allocations: 1.445 MB / 0.6606 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1322, allocations: 0.7913 MB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.1322, allocations: 0 / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.1323, allocations: 3.938 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.1323, allocations: 4 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1327, allocations: 127.5 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.1328, allocations: 39.84 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.1329, allocations: 4 kB / 0.6615 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.1329, allocations: 19.98 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.133, allocations: 19.92 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.133, allocations: 3.984 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.1334, allocations: 315.4 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.1335, allocations: 7.984 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1335, allocations: 11.94 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1338, allocations: 203.7 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1338, allocations: 0 / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1338, allocations: 0 / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.1338, allocations: 0 / 0.6621 GB, free: 7.719 MB / 0.4981 GB 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.000505/0.1343, allocations: 379 kB / 0.6625 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1344, allocations: 12.03 kB / 0.6625 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.1344, allocations: 34.69 kB / 0.6625 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.1348, allocations: 68.84 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.135, allocations: 164.3 kB / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.135, allocations: 384 / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.135, allocations: 4.375 kB / 0.6627 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1353, allocations: 93.75 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1353, allocations: 0 / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1353, allocations: 3.938 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1354, allocations: 0 / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.1358, allocations: 99.88 kB / 0.6629 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.1363, allocations: 300.8 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.1366, allocations: 90.5 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.1369, allocations: 60.8 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1369, allocations: 0 / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1369, allocations: 34.56 kB / 0.6634 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1369, allocations: 0 / 0.6634 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006959/0.1376, allocations: 165.5 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1377, allocations: 55.39 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.1377, allocations: 106 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1378, allocations: 25.7 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1378, allocations: 80.14 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1378, allocations: 11.94 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1379, allocations: 13.72 kB / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.138, allocations: 318.8 kB / 0.6641 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1382, allocations: 43.95 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1384, allocations: 47.94 kB / 0.6642 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1388, allocations: 92.83 kB / 0.6643 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1388, allocations: 4 kB / 0.6643 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004418/0.1393, allocations: 121.5 kB / 0.6644 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1393, allocations: 8 kB / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1393, allocations: 0 / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1393, allocations: 0 / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1395, allocations: 20.22 kB / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1395, allocations: 0 / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1396, allocations: 28 kB / 0.6645 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1396, allocations: 0 / 0.6645 GB, free: 5.051 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.848e-05/0.1397, allocations: 118.7 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1397, allocations: 0 / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.1398, allocations: 7.109 kB / 0.6646 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1398, allocations: 4 kB / 0.6646 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1398, allocations: 3.938 kB / 0.6646 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1398, allocations: 0 / 0.6646 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.14, allocations: 173.5 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.14, allocations: 4 kB / 0.6648 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.1401, allocations: 19.97 kB / 0.6648 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1401, allocations: 0 / 0.6648 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1401, allocations: 4 kB / 0.6648 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1401, allocations: 3.984 kB / 0.6648 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1401, allocations: 0 / 0.6648 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.1406, allocations: 227.3 kB / 0.665 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1407, allocations: 81.09 kB / 0.6651 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1407, allocations: 0 / 0.6651 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1409, allocations: 15.98 kB / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1409, allocations: 7.984 kB / 0.6651 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1409, allocations: 7.938 kB / 0.6651 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.141, allocations: 79.28 kB / 0.6652 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 32 / 0.6652 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002236/0.1412, allocations: 12 kB / 0.6652 GB, free: 4.199 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.0007879/0.142, allocations: 0.7591 MB / 0.666 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.1424, allocations: 95.94 kB / 0.666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1424, allocations: 0 / 0.666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.1427, allocations: 56 kB / 0.6661 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1429, allocations: 4 kB / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.1435, allocations: 191 kB / 0.6663 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1438, allocations: 0.6768 MB / 0.6669 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.281e-05/0.1439, allocations: 12 kB / 0.667 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1439, allocations: 15.42 kB / 0.667 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1439, allocations: 0 / 0.667 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08968/0.2336, allocations: 1.674 MB / 0.6686 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.445, allocations: 6.812 kB / 0.6686 GB, free: 0.7227 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)