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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001273/0.001273, allocations: 108 kB / 15.6 MB, free: 132 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.001185/0.001185, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9282/0.9282, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.62 kB / 0.5055 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001923/0.1471, allocations: 0.5805 MB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.1474, allocations: 95.72 kB / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.1474, allocations: 0 / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.1475, allocations: 0 / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.1475, allocations: 0 / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1478, allocations: 19.98 kB / 0.5852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.1478, allocations: 11.92 kB / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1479, allocations: 4 kB / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.1479, allocations: 7.938 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.148, allocations: 3.984 kB / 0.5852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.148, allocations: 0 / 0.5852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.1481, allocations: 15.98 kB / 0.5852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1481, allocations: 0 / 0.5852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1481, allocations: 4 kB / 0.5852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.1482, allocations: 19.91 kB / 0.5852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1482, allocations: 4 kB / 0.5852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1482, allocations: 0 / 0.5852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1482, allocations: 0 / 0.5852 GB, free: 3.699 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.0003639/0.1486, allocations: 319.6 kB / 0.5855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1487, allocations: 12.02 kB / 0.5855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1487, allocations: 30.75 kB / 0.5856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.1489, allocations: 12.92 kB / 0.5856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.913e-05/0.149, allocations: 160.4 kB / 0.5857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.149, allocations: 384 / 0.5857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.149, allocations: 4.375 kB / 0.5857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.1492, allocations: 46.19 kB / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1492, allocations: 3.938 kB / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1492, allocations: 3.984 kB / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1492, allocations: 0 / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.1493, allocations: 15.98 kB / 0.5858 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.1495, allocations: 149.6 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1496, allocations: 46.61 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.1497, allocations: 12.91 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1497, allocations: 3.984 kB / 0.586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1497, allocations: 38.5 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1497, allocations: 0 / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002159/0.15, allocations: 65.52 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.15, allocations: 55.41 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.1501, allocations: 89.86 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1501, allocations: 25.7 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.1501, allocations: 80.14 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1501, allocations: 8.125 kB / 0.5864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1502, allocations: 21.7 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.1503, allocations: 310.8 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.1503, allocations: 8 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.1504, allocations: 15.92 kB / 0.5867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.1505, allocations: 24.78 kB / 0.5867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1505, allocations: 4 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.1506, allocations: 49.69 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1506, allocations: 4 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1506, allocations: 3.938 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1506, allocations: 0 / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.1511, allocations: 47.92 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1524, allocations: 1.401 MB / 0.5882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.1525, allocations: 0 / 0.5882 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1525, allocations: 3.984 kB / 0.5882 GB, free: 288 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 7.228e-05/0.1525, allocations: 113.8 kB / 0.5883 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1526, allocations: 3.984 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1526, allocations: 7.5 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1526, allocations: 64 / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1526, allocations: 4 kB / 0.5883 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1526, allocations: 4 kB / 0.5883 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.1527, allocations: 149.8 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1527, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.1531, allocations: 51.86 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1531, allocations: 4 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1532, allocations: 4 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1543, allocations: 1.4 MB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1543, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1545, allocations: 81.17 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1545, allocations: 77.11 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.1545, allocations: 3.938 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.1545, allocations: 7.922 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.1546, allocations: 4 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1546, allocations: 4 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.1546, allocations: 79.28 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002023/0.1548, allocations: 4 kB / 0.5901 GB, free: 14.05 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.0004016/0.1552, allocations: 0.6162 MB / 0.5907 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.1557, allocations: 63.91 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1557, allocations: 3.938 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.156, allocations: 35.97 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1562, allocations: 4.266 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.1567, allocations: 126.5 kB / 0.591 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.1569, allocations: 0.6729 MB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.1569, allocations: 7.984 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.157, allocations: 19.42 kB / 0.5916 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.157, allocations: 0 / 0.5916 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1751, allocations: 1.235 MB / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.65, allocations: 9.109 kB / 0.5929 GB, free: 11.3 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)