Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",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.0007172/0.0007172, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004445/0.004445, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9414/0.9414, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 8.688 kB / 0.5077 GB, free: 4.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 82.31 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00179/0.1779, allocations: 1.154 MB / 0.5892 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.1782, allocations: 92.66 kB / 0.5893 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.1782, allocations: 4 kB / 0.5893 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1783, allocations: 3.938 kB / 0.5893 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.1783, allocations: 0 / 0.5893 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1785, allocations: 15.98 kB / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.1786, allocations: 19.88 kB / 0.5893 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1787, allocations: 15.97 kB / 0.5893 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.1787, allocations: 4 kB / 0.5893 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.1788, allocations: 15.92 kB / 0.5894 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1788, allocations: 0 / 0.5894 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.1789, allocations: 11.98 kB / 0.5894 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1789, allocations: 8 kB / 0.5894 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.1789, allocations: 33.64 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1791, allocations: 35.88 kB / 0.5895 GB, free: 1.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1791, allocations: 4 kB / 0.5895 GB, free: 1.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1791, allocations: 3.938 kB / 0.5895 GB, free: 1.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1791, allocations: 0 / 0.5895 GB, free: 1.105 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.0004439/0.1795, allocations: 339.7 kB / 0.5898 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1796, allocations: 16.03 kB / 0.5898 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.1796, allocations: 30.75 kB / 0.5898 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.1798, allocations: 16.92 kB / 0.5898 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.18, allocations: 176.3 kB / 0.59 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.18, allocations: 4.312 kB / 0.59 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.18, allocations: 4.375 kB / 0.59 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1802, allocations: 62.23 kB / 0.5901 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1802, allocations: 7.875 kB / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1802, allocations: 3.984 kB / 0.5901 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1802, allocations: 0 / 0.5901 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.1805, allocations: 67.89 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1809, allocations: 261 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1811, allocations: 70.42 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1812, allocations: 32.91 kB / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1812, allocations: 0 / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1812, allocations: 38.55 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1812, allocations: 0 / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004373/0.1817, allocations: 129.7 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1817, allocations: 51.41 kB / 0.5907 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1818, allocations: 101.9 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1818, allocations: 25.7 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1819, allocations: 84.12 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.1819, allocations: 15.84 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.182, allocations: 9.719 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1821, allocations: 314.9 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1822, allocations: 31.97 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1823, allocations: 31.98 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.1825, allocations: 72.73 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1825, allocations: 8 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002525/0.1828, allocations: 89.56 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1828, allocations: 6.5 kB / 0.5915 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1828, allocations: 3.984 kB / 0.5915 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1828, allocations: 8.031 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.183, allocations: 15.98 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.183, allocations: 0 / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.183, allocations: 11.98 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.183, allocations: 4 kB / 0.5915 GB, free: 14.77 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.788e-05/0.1831, allocations: 113.8 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1832, allocations: 4 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.1832, allocations: 11.52 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1832, allocations: 3.938 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1832, allocations: 0 / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1832, allocations: 0 / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1834, allocations: 165.6 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1834, allocations: 0 / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.1835, allocations: 19.92 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1835, allocations: 4 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1835, allocations: 0 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1835, allocations: 256 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1835, allocations: 3.938 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1838, allocations: 195.4 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1839, allocations: 89.02 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1839, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.184, allocations: 11.98 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.184, allocations: 0 / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.184, allocations: 4.031 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.1841, allocations: 91.27 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 0 / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002042/0.1843, allocations: 4 kB / 0.5922 GB, free: 13.96 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.0005629/0.1849, allocations: 0.7202 MB / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1851, allocations: 67.98 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1851, allocations: 0 / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1853, allocations: 36.03 kB / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1856, allocations: 11.52 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.186, allocations: 158.3 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1863, allocations: 0.6848 MB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.1863, allocations: 8 kB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1864, allocations: 11.44 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1864, allocations: 0 / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/0.3332, allocations: 1.177 MB / 0.595 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.3335, allocations: 194.9 kB / 0.5952 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.939, allocations: 0 / 0.5952 GB, free: 10.88 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)