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.007282/0.007282, allocations: 99.09 kB / 15.73 MB, free: 6.066 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.001873/0.001873, allocations: 195.4 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.436/1.436, 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-master/package.mo): time 0.8448/0.8448, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 73.48 kB / 0.5858 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 81.02 MB / 0.6649 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001609/0.1455, allocations: 0.5759 MB / 0.6655 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.1458, allocations: 94.39 kB / 0.6656 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1459, allocations: 0 / 0.6656 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1459, allocations: 3.938 kB / 0.6656 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.1459, allocations: 3.938 kB / 0.6656 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1461, allocations: 7.984 kB / 0.6656 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.1462, allocations: 15.97 kB / 0.6656 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1462, allocations: 8 kB / 0.6656 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.1463, allocations: 0 / 0.6656 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.1463, allocations: 7.938 kB / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1463, allocations: 0 / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.1464, allocations: 15.98 kB / 0.6656 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1464, allocations: 0 / 0.6656 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.1464, allocations: 3.938 kB / 0.6656 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.1465, allocations: 19.95 kB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1465, allocations: 4 kB / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1465, allocations: 0 / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1466, allocations: 4 kB / 0.6656 GB, free: 4.848 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.0003674/0.1469, allocations: 320.1 kB / 0.666 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.147, allocations: 13.11 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.147, allocations: 34.69 kB / 0.666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1471, allocations: 8.922 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1473, allocations: 160.4 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1473, allocations: 384 / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1473, allocations: 4.375 kB / 0.6662 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1475, allocations: 42.25 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1475, allocations: 3.938 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1475, allocations: 0 / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1475, allocations: 0 / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.1476, allocations: 15.92 kB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1478, allocations: 153.7 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1479, allocations: 38.61 kB / 0.6664 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.148, allocations: 28.84 kB / 0.6664 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.148, allocations: 0 / 0.6664 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.148, allocations: 30.56 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.148, allocations: 0 / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.1483, allocations: 61.73 kB / 0.6665 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1483, allocations: 55.41 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.1484, allocations: 93.86 kB / 0.6667 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.1484, allocations: 25.7 kB / 0.6667 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1485, allocations: 80.14 kB / 0.6668 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1485, allocations: 15.84 kB / 0.6668 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1486, allocations: 17.7 kB / 0.6668 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1487, allocations: 314.8 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.1488, allocations: 4 kB / 0.6671 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.1488, allocations: 15.97 kB / 0.6671 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.44e-05/0.1489, allocations: 24.78 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1489, allocations: 0 / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000115/0.149, allocations: 49.69 kB / 0.6672 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1491, allocations: 4 kB / 0.6672 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1491, allocations: 3.938 kB / 0.6672 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1491, allocations: 4 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1495, allocations: 43.92 kB / 0.6672 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1509, allocations: 1.404 MB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.151, allocations: 8.156 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.151, allocations: 3.984 kB / 0.6686 GB, free: 1.422 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 (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 8.361e-05/0.1511, allocations: 109.8 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.1511, allocations: 0 / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.1511, allocations: 11.5 kB / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1511, allocations: 0 / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1511, allocations: 0 / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1511, allocations: 0 / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1512, allocations: 157.5 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1512, allocations: 4 kB / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.1516, allocations: 47.92 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1516, allocations: 0 / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1516, allocations: 0 / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.153, allocations: 1.413 MB / 0.6703 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.153, allocations: 3.938 kB / 0.6703 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.1531, allocations: 77.08 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1532, allocations: 81.2 kB / 0.6705 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.1532, allocations: 7.938 kB / 0.6705 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.1532, allocations: 3.984 kB / 0.6705 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1533, allocations: 0 / 0.6705 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1533, allocations: 4 kB / 0.6705 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.1533, allocations: 75.28 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1533, allocations: 0 / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001952/0.1535, allocations: 8 kB / 0.6706 GB, free: 15.2 MB / 0.5137 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.0004543/0.154, allocations: 0.6162 MB / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.1544, allocations: 63.91 kB / 0.6712 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1545, allocations: 0 / 0.6712 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1547, allocations: 31.97 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1548, allocations: 9.703 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.1552, allocations: 126.5 kB / 0.6714 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1556, allocations: 0.6729 MB / 0.672 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.1556, allocations: 0 / 0.672 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.1557, allocations: 19.36 kB / 0.6721 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1557, allocations: 0 / 0.6721 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1791, allocations: 1.291 MB / 0.6733 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.29, allocations: 7.812 kB / 0.6733 GB, free: 12.39 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)