Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.001454/0.001454, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001959/0.001959, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.453/2.453, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.276/1.276, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006999/0.0007, allocations: 8 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8286, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002035/0.8307, allocations: 1.145 MB / 0.5841 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.831, allocations: 88.5 kB / 0.5842 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.8311, allocations: 0.9688 kB / 0.5842 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.8311, allocations: 0 / 0.5842 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.8312, allocations: 10.81 kB / 0.5842 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.8313, allocations: 13.88 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.8314, allocations: 21.16 kB / 0.5842 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.8315, allocations: 7.672 kB / 0.5842 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.8316, allocations: 5.25 kB / 0.5842 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.8317, allocations: 14.36 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.8317, allocations: 1.281 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.299e-05/0.8318, allocations: 14.72 kB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.8318, allocations: 5.734 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.8318, allocations: 31.36 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.832, allocations: 23.38 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.832, allocations: 0 / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.832, allocations: 0.9062 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.832, allocations: 0 / 0.5843 GB, free: 3.008 MB / 430.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.0004506/0.8325, allocations: 340.5 kB / 0.5846 GB, free: 2.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.8325, allocations: 13.45 kB / 0.5847 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.8326, allocations: 36.17 kB / 0.5847 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.8328, allocations: 14.47 kB / 0.5847 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.8329, allocations: 182.1 kB / 0.5849 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.8329, allocations: 0.7812 kB / 0.5849 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.833, allocations: 5.562 kB / 0.5849 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.8333, allocations: 65.66 kB / 0.5849 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8333, allocations: 0.7031 kB / 0.5849 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8333, allocations: 0.7812 kB / 0.5849 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8333, allocations: 0.9375 kB / 0.5849 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.8337, allocations: 68.97 kB / 0.585 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.8342, allocations: 263.4 kB / 0.5853 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.8344, allocations: 64.42 kB / 0.5853 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.8345, allocations: 0 / 0.5853 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.8345, allocations: 31.98 kB / 0.5854 GB, free: 1.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.8345, allocations: 0.75 kB / 0.5854 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006303/0.8351, allocations: 128.1 kB / 0.5855 GB, free: 1.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.8352, allocations: 53.56 kB / 0.5855 GB, free: 1.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.8353, allocations: 111.7 kB / 0.5856 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8353, allocations: 29.64 kB / 0.5857 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.8353, allocations: 85.91 kB / 0.5857 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.8354, allocations: 5.828 kB / 0.5857 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.8354, allocations: 0 / 0.5857 GB, free: 1.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.8354, allocations: 314 kB / 0.586 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.8356, allocations: 34.23 kB / 0.5861 GB, free: 1.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.8358, allocations: 30.86 kB / 0.5861 GB, free: 1.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.836, allocations: 33.33 kB / 0.5861 GB, free: 1.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.836, allocations: 0 / 0.5861 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003903/0.8364, allocations: 96.14 kB / 0.5862 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.8364, allocations: 9.125 kB / 0.5862 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8364, allocations: 0.7031 kB / 0.5862 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8365, allocations: 0.8438 kB / 0.5862 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.8366, allocations: 14.17 kB / 0.5863 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8367, allocations: 1.844 kB / 0.5863 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.8368, allocations: 14.61 kB / 0.5863 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.8368, allocations: 5.359 kB / 0.5863 GB, free: 1.25 MB / 430.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 (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.393e-05/0.8369, allocations: 112.7 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.8369, allocations: 1.5 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.837, allocations: 8.188 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.837, allocations: 1.781 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.837, allocations: 0 / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.837, allocations: 1.797 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.8372, allocations: 163.2 kB / 0.5866 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8372, allocations: 2.031 kB / 0.5866 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.8374, allocations: 17.69 kB / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.8374, allocations: 0 / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.8374, allocations: 5.641 kB / 0.5866 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8374, allocations: 3.938 kB / 0.5866 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8374, allocations: 4.969 kB / 0.5866 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.8378, allocations: 191 kB / 0.5868 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.8379, allocations: 82.42 kB / 0.5868 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.8379, allocations: 10.2 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.8381, allocations: 11.23 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.8381, allocations: 6.406 kB / 0.5869 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.8381, allocations: 0.9688 kB / 0.5869 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.8382, allocations: 90.03 kB / 0.587 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8382, allocations: 0 / 0.587 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.8386, allocations: 5.219 kB / 0.587 GB, free: 0.5781 MB / 430.1 MB 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.0006889/0.8393, allocations: 0.7242 MB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.8397, allocations: 67.52 kB / 0.5877 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8397, allocations: 0 / 0.5877 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.8399, allocations: 37.94 kB / 0.5878 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.8402, allocations: 0.7188 kB / 0.5878 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.841, allocations: 165.6 kB / 0.5879 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.8414, allocations: 0.6846 MB / 0.5886 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.8414, allocations: 0.7188 kB / 0.5886 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.8415, allocations: 14.56 kB / 0.5886 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.8415, allocations: 0 / 0.5886 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.8592, allocations: 1.143 MB / 0.5897 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/0.8596, allocations: 175.1 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.515, allocations: 0 / 0.5899 GB, free: 14.64 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: