Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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: translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001467, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9781/0.9781, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63 kB / 0.5054 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2111, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001953/0.2131, allocations: 0.5766 MB / 0.5849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.2134, allocations: 99.72 kB / 0.585 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.2134, allocations: 0 / 0.585 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.2134, allocations: 3.938 kB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.2135, allocations: 0 / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.2137, allocations: 15.92 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.2138, allocations: 4 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2138, allocations: 11.98 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.2138, allocations: 3.938 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.2139, allocations: 4 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.2139, allocations: 0 / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.214, allocations: 15.98 kB / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.214, allocations: 3.984 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.2141, allocations: 4 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.2141, allocations: 19.92 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2141, allocations: 0 / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2142, allocations: 0 / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2142, allocations: 0 / 0.5851 GB, free: 3.793 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.0003301/0.2145, allocations: 319.6 kB / 0.5854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2145, allocations: 12.03 kB / 0.5854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.2147, allocations: 8.922 kB / 0.5854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2149, allocations: 168.4 kB / 0.5856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2149, allocations: 4.312 kB / 0.5856 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2149, allocations: 4.375 kB / 0.5856 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.215, allocations: 38.25 kB / 0.5857 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.215, allocations: 4.188 kB / 0.5857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2151, allocations: 3.938 kB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2151, allocations: 0 / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.2152, allocations: 11.98 kB / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.2153, allocations: 153.7 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.2155, allocations: 38.5 kB / 0.5859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.2156, allocations: 20.91 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2156, allocations: 4 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2156, allocations: 30.56 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2156, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002217/0.2158, allocations: 65.52 kB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2159, allocations: 51.41 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.5e-05/0.2159, allocations: 89.86 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.216, allocations: 29.7 kB / 0.5861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.216, allocations: 80.14 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.216, allocations: 16.06 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.2161, allocations: 13.72 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2162, allocations: 314.8 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.2162, allocations: 4 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.2163, allocations: 11.98 kB / 0.5866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.2164, allocations: 32.73 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2164, allocations: 0 / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001237/0.2165, allocations: 49.67 kB / 0.5866 GB, free: 2.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2165, allocations: 4 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2165, allocations: 0 / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2166, allocations: 3.938 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.217, allocations: 51.88 kB / 0.5867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.2185, allocations: 1.405 MB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.2185, allocations: 96 / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2186, allocations: 8.031 kB / 0.5881 GB, free: 420 kB / 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.757e-05/0.2187, allocations: 113.7 kB / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.2187, allocations: 0 / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.2187, allocations: 11.48 kB / 0.5882 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2187, allocations: 4 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2187, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2187, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.2188, allocations: 149.6 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2188, allocations: 7.984 kB / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.2192, allocations: 43.94 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2192, allocations: 0 / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2193, allocations: 0 / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.2205, allocations: 1.412 MB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2206, allocations: 0 / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.2207, allocations: 73.23 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.2208, allocations: 81.11 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2208, allocations: 7.938 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.2208, allocations: 0 / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.2208, allocations: 3.984 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2209, allocations: 0 / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.2209, allocations: 75.28 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2209, allocations: 4 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002159/0.2211, allocations: 4 kB / 0.59 GB, free: 14.2 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.2213, allocations: 111.2 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.2218, allocations: 59.91 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2218, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2221, allocations: 39.91 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.2223, allocations: 6.953 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.2227, allocations: 104.8 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.223, allocations: 0.6806 MB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.223, allocations: 4 kB / 0.591 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.2231, allocations: 11.44 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2231, allocations: 0 / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.002645/0.2257, allocations: 410.1 kB / 0.5914 GB, free: 12.72 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)