Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.006325/0.006325, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001256/0.001257, allocations: 197 kB / 16.67 MB, free: 5.918 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.98 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001823/0.1729, allocations: 0.5922 MB / 0.6598 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.1732, allocations: 94.25 kB / 0.6599 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.1733, allocations: 0 / 0.6599 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.1733, allocations: 0 / 0.6599 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.1734, allocations: 0 / 0.6599 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1736, allocations: 23.92 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.1737, allocations: 7.938 kB / 0.6599 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1737, allocations: 0 / 0.6599 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1737, allocations: 11.98 kB / 0.6599 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.1738, allocations: 3.984 kB / 0.6599 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1738, allocations: 0 / 0.6599 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.1739, allocations: 15.98 kB / 0.6599 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.1739, allocations: 0 / 0.6599 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.174, allocations: 11.94 kB / 0.66 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.909e-05/0.1741, allocations: 7.984 kB / 0.66 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1741, allocations: 0 / 0.66 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1741, allocations: 0 / 0.66 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1741, allocations: 0 / 0.66 GB, free: 9.961 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.0003525/0.1745, allocations: 327.9 kB / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1745, allocations: 11.97 kB / 0.6603 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.1745, allocations: 30.75 kB / 0.6603 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1747, allocations: 8.922 kB / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1748, allocations: 164.4 kB / 0.6605 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1748, allocations: 384 / 0.6605 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1749, allocations: 384 / 0.6605 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.175, allocations: 42.23 kB / 0.6605 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.175, allocations: 7.938 kB / 0.6605 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.175, allocations: 4 kB / 0.6605 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.175, allocations: 0 / 0.6605 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.1751, allocations: 19.92 kB / 0.6606 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1753, allocations: 145.6 kB / 0.6607 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1754, allocations: 46.59 kB / 0.6607 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.1755, allocations: 16.92 kB / 0.6608 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1755, allocations: 3.984 kB / 0.6608 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1756, allocations: 30.56 kB / 0.6608 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1756, allocations: 3.938 kB / 0.6608 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002184/0.1758, allocations: 65.55 kB / 0.6609 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1758, allocations: 59.39 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.1759, allocations: 93.86 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1759, allocations: 25.7 kB / 0.661 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.1759, allocations: 84.12 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.176, allocations: 10.62 kB / 0.6611 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.176, allocations: 17.72 kB / 0.6611 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1761, allocations: 310.8 kB / 0.6614 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.1762, allocations: 7.984 kB / 0.6614 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.1762, allocations: 8 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.1763, allocations: 24.84 kB / 0.6615 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1763, allocations: 0 / 0.6615 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000113/0.1764, allocations: 53.61 kB / 0.6615 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1764, allocations: 8 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1764, allocations: 3.938 kB / 0.6615 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1765, allocations: 0 / 0.6615 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.1769, allocations: 43.94 kB / 0.6616 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1782, allocations: 1.409 MB / 0.663 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.1783, allocations: 0 / 0.663 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1783, allocations: 4.094 kB / 0.663 GB, free: 6.527 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.076e-05/0.1784, allocations: 113.8 kB / 0.6631 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1784, allocations: 0 / 0.6631 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.1784, allocations: 7.5 kB / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1784, allocations: 3.984 kB / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1784, allocations: 0 / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1784, allocations: 0 / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1785, allocations: 149.6 kB / 0.6632 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1785, allocations: 0 / 0.6632 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.1789, allocations: 55.92 kB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1789, allocations: 0 / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1789, allocations: 0 / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.1801, allocations: 1.412 MB / 0.6646 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1801, allocations: 0 / 0.6646 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1802, allocations: 73.14 kB / 0.6647 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.1803, allocations: 77.11 kB / 0.6648 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.1803, allocations: 11.88 kB / 0.6648 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.682e-05/0.1803, allocations: 7.938 kB / 0.6648 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.1803, allocations: 8 kB / 0.6648 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.1804, allocations: 0 / 0.6648 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.1804, allocations: 75.28 kB / 0.6649 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.6649 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001931/0.1806, allocations: 4 kB / 0.6649 GB, free: 4.305 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.0004098/0.181, allocations: 0.613 MB / 0.6655 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.1815, allocations: 67.84 kB / 0.6656 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1815, allocations: 0 / 0.6656 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.1817, allocations: 35.95 kB / 0.6656 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1819, allocations: 1.406 kB / 0.6656 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1823, allocations: 126.5 kB / 0.6657 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1826, allocations: 0.6807 MB / 0.6664 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1826, allocations: 0 / 0.6664 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1826, allocations: 15.44 kB / 0.6664 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1827, allocations: 0 / 0.6664 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.2018, allocations: 1.294 MB / 0.6677 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.1, allocations: 15.06 kB / 0.6677 GB, free: 1.512 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)