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.001503/0.001503, 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.001504/0.001504, allocations: 195.5 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.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.9036/0.9036, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 68.45 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1375, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001754/0.1393, allocations: 0.5809 MB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.1396, allocations: 95.73 kB / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1396, allocations: 0 / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1396, allocations: 0 / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.1397, allocations: 0 / 0.5851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1399, allocations: 19.91 kB / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.127e-05/0.1399, allocations: 8 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.14, allocations: 4 kB / 0.5852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.14, allocations: 11.92 kB / 0.5852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.1401, allocations: 0 / 0.5852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1401, allocations: 0 / 0.5852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.562e-05/0.1401, allocations: 19.98 kB / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.1402, allocations: 0 / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.1402, allocations: 7.984 kB / 0.5852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.557e-05/0.1403, allocations: 15.92 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1403, allocations: 0 / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1403, allocations: 0 / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1403, allocations: 0 / 0.5852 GB, free: 3.688 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.0003126/0.1406, allocations: 323.6 kB / 0.5855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1406, allocations: 8.031 kB / 0.5855 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1407, allocations: 34.75 kB / 0.5856 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.1408, allocations: 8.922 kB / 0.5856 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.1409, allocations: 164.4 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1409, allocations: 4.359 kB / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.141, allocations: 384 / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1411, allocations: 42.19 kB / 0.5858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1411, allocations: 7.938 kB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.1411, allocations: 0 / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1411, allocations: 0 / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.1412, allocations: 15.98 kB / 0.5858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1413, allocations: 145.7 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1415, allocations: 46.53 kB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1416, allocations: 20.84 kB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1416, allocations: 0 / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1416, allocations: 34.56 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1416, allocations: 4 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002005/0.1418, allocations: 57.7 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1419, allocations: 59.41 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.107e-05/0.1419, allocations: 89.86 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1419, allocations: 25.7 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.1419, allocations: 80.14 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.142, allocations: 12.12 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.142, allocations: 17.72 kB / 0.5864 GB, free: 2.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.1421, allocations: 310.8 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1422, allocations: 11.92 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.1422, allocations: 11.92 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/0.1423, allocations: 20.84 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1423, allocations: 0 / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001314/0.1425, allocations: 53.67 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1425, allocations: 8 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1425, allocations: 3.938 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1425, allocations: 4 kB / 0.5868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.1429, allocations: 43.94 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1442, allocations: 1.404 MB / 0.5882 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.1442, allocations: 0 / 0.5882 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1442, allocations: 0 / 0.5882 GB, free: 280 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.151e-05/0.1443, allocations: 117.9 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.1443, allocations: 0 / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.1443, allocations: 11.48 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1443, allocations: 0 / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1443, allocations: 0 / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1443, allocations: 0 / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1444, allocations: 153.7 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1445, allocations: 0 / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.1448, allocations: 51.92 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1448, allocations: 0 / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1449, allocations: 0 / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.146, allocations: 1.416 MB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.146, allocations: 4 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1461, allocations: 77.14 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.1462, allocations: 77.11 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.1462, allocations: 3.938 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.1462, allocations: 4.062 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.1462, allocations: 7.938 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1462, allocations: 0 / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.1463, allocations: 75.28 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1463, allocations: 0 / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002146/0.1465, allocations: 8 kB / 0.5901 GB, free: 14.04 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.0003756/0.1469, allocations: 0.6201 MB / 0.5907 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.1473, allocations: 59.84 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1474, allocations: 8 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.1476, allocations: 39.89 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1477, allocations: 0 / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.1481, allocations: 122.6 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1484, allocations: 0.6768 MB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.1484, allocations: 8 kB / 0.5916 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1484, allocations: 7.438 kB / 0.5916 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1484, allocations: 0 / 0.5916 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.165, allocations: 1.24 MB / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.61, allocations: 2.578 kB / 0.5929 GB, free: 11.29 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 & /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)