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.0008703/0.0008703, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008955/0.0008951, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.972/0.972, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 8 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 82.31 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001793/0.1657, allocations: 1.152 MB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.1661, allocations: 82.34 kB / 0.5887 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.1661, allocations: 7.938 kB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1661, allocations: 0 / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.1662, allocations: 0 / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1664, allocations: 15.92 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.1665, allocations: 23.92 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.1666, allocations: 4 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.1666, allocations: 7.984 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.1667, allocations: 11.94 kB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1667, allocations: 0 / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.1668, allocations: 15.98 kB / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1668, allocations: 7.969 kB / 0.5888 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1668, allocations: 29.7 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.236e-05/0.1669, allocations: 15.97 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1669, allocations: 0 / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1669, allocations: 4 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.495e-06/0.167, allocations: 0 / 0.5888 GB, free: 1.492 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.0005516/0.1675, allocations: 351.5 kB / 0.5891 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.1676, allocations: 8.031 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.1677, allocations: 42.44 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.1679, allocations: 11.98 kB / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1681, allocations: 178.9 kB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1681, allocations: 8 kB / 0.5894 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1681, allocations: 0 / 0.5894 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1683, allocations: 65.67 kB / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1684, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1684, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1684, allocations: 0 / 0.5894 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.1686, allocations: 63.94 kB / 0.5895 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.169, allocations: 268.9 kB / 0.5898 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1692, allocations: 62.53 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1693, allocations: 36.91 kB / 0.5899 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1694, allocations: 0 / 0.5899 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1694, allocations: 34.56 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1694, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004258/0.1698, allocations: 133.5 kB / 0.59 GB, free: 76 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1699, allocations: 55.41 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.17, allocations: 101.8 kB / 0.5902 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.17, allocations: 29.83 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.1701, allocations: 92.12 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1701, allocations: 7.844 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1701, allocations: 0 / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1702, allocations: 314.8 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1703, allocations: 27.97 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.1704, allocations: 31.98 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/0.1705, allocations: 31.97 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1705, allocations: 64 / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002372/0.1708, allocations: 97.59 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1708, allocations: 8 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1708, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1708, allocations: 8.016 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1709, allocations: 12 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.171, allocations: 7.969 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.233e-05/0.171, allocations: 11.91 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1711, allocations: 3.953 kB / 0.5908 GB, free: 15.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.1711, allocations: 117.8 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1712, allocations: 4 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1712, allocations: 7.469 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1712, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1712, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1712, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1714, allocations: 177.5 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1714, allocations: 0 / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.1715, allocations: 15.98 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1715, allocations: 4 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1715, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1715, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1715, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1718, allocations: 199.4 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1719, allocations: 81.27 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1719, allocations: 0 / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.172, allocations: 15.98 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.172, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1721, allocations: 4 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.1721, allocations: 91.3 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1723, allocations: 4 kB / 0.5915 GB, free: 14.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005701/0.1729, allocations: 0.7241 MB / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1732, allocations: 67.98 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1732, allocations: 0 / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1733, allocations: 31.97 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1736, allocations: 8.125 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.1741, allocations: 158.2 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1743, allocations: 0.6848 MB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.1744, allocations: 4 kB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.1744, allocations: 19.36 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1744, allocations: 0 / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.1873, allocations: 1.173 MB / 0.5943 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1876, allocations: 174.8 kB / 0.5945 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.825, allocations: 8.062 kB / 0.5945 GB, free: 11.34 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/linux/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) Environment - environmentSimulation: