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.0009702/0.0009702, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001199/0.001199, allocations: 172.7 kB / 15.95 MB, free: 208 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.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8887/0.8887, allocations: 135.3 MB / 426.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 12.22 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006868/0.1462, allocations: 307.1 kB / 0.5878 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.1465, allocations: 83.78 kB / 0.5879 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-06/0.1465, allocations: 0 / 0.5879 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.235e-06/0.1465, allocations: 4 kB / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.1466, allocations: 0 / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.1467, allocations: 19.81 kB / 0.5879 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.1468, allocations: 3.984 kB / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1468, allocations: 4 kB / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.1468, allocations: 4 kB / 0.5879 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.1469, allocations: 11.88 kB / 0.5879 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1469, allocations: 3.938 kB / 0.5879 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.147, allocations: 15.98 kB / 0.5879 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.147, allocations: 4 kB / 0.5879 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.147, allocations: 25.7 kB / 0.5879 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.313e-05/0.1471, allocations: 15.97 kB / 0.588 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1471, allocations: 0 / 0.588 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1471, allocations: 0 / 0.588 GB, free: 2.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.1471, allocations: 0 / 0.588 GB, free: 2.375 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.000294/0.1474, allocations: 311.4 kB / 0.5883 GB, free: 2.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1474, allocations: 8.031 kB / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.1475, allocations: 38.56 kB / 0.5883 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1476, allocations: 11.98 kB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.1477, allocations: 163 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1477, allocations: 0 / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.1477, allocations: 0 / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1478, allocations: 49.62 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.1479, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1479, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1479, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.148, allocations: 11.98 kB / 0.5885 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1481, allocations: 161.5 kB / 0.5887 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1482, allocations: 42.59 kB / 0.5887 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1483, allocations: 20.86 kB / 0.5887 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1483, allocations: 0 / 0.5887 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1484, allocations: 38.56 kB / 0.5888 GB, free: 1.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1484, allocations: 0 / 0.5888 GB, free: 1.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002003/0.1486, allocations: 49.67 kB / 0.5888 GB, free: 1.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1486, allocations: 55.41 kB / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.989e-05/0.1487, allocations: 89.86 kB / 0.589 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1487, allocations: 25.7 kB / 0.589 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.1487, allocations: 84.14 kB / 0.5891 GB, free: 1.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1487, allocations: 12.11 kB / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1487, allocations: 0 / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1489, allocations: 322.8 kB / 0.5894 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1489, allocations: 4 kB / 0.5894 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.149, allocations: 11.92 kB / 0.5894 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.149, allocations: 4 kB / 0.5894 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.149, allocations: 4 kB / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/0.1491, allocations: 53.62 kB / 0.5895 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1492, allocations: 4 kB / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1492, allocations: 0 / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1492, allocations: 4 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.1495, allocations: 44.2 kB / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1507, allocations: 1.317 MB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.1507, allocations: 3.984 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1507, allocations: 0 / 0.5908 GB, free: 15.11 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.1508, allocations: 109.8 kB / 0.5909 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.1508, allocations: 4 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.1509, allocations: 7.5 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1509, allocations: 0 / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.1509, allocations: 0 / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1509, allocations: 0 / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.52e-05/0.151, allocations: 153.7 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.151, allocations: 3.953 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.1513, allocations: 47.92 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1513, allocations: 0 / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1513, allocations: 0 / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009898/0.1523, allocations: 1.314 MB / 0.5924 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1523, allocations: 4.031 kB / 0.5924 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1524, allocations: 73.05 kB / 0.5925 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.1525, allocations: 81.06 kB / 0.5925 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-06/0.1525, allocations: 0 / 0.5925 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.1525, allocations: 8.094 kB / 0.5926 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.1526, allocations: 8.031 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1526, allocations: 3.984 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.047e-05/0.1526, allocations: 75.28 kB / 0.5926 GB, free: 13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 0.5926 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001866/0.1528, allocations: 4 kB / 0.5926 GB, free: 12.99 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000374/0.1532, allocations: 0.6163 MB / 0.5932 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.1536, allocations: 59.86 kB / 0.5933 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1536, allocations: 4 kB / 0.5933 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1538, allocations: 35.95 kB / 0.5933 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1539, allocations: 0 / 0.5933 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.1543, allocations: 124.5 kB / 0.5935 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1545, allocations: 0.677 MB / 0.5941 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.1545, allocations: 4 kB / 0.5941 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1546, allocations: 15.38 kB / 0.5941 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1546, allocations: 0 / 0.5941 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.1657, allocations: 1.056 MB / 0.5952 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.166, allocations: 221.7 kB / 0.5954 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.748, allocations: 0 / 0.5954 GB, free: 10.25 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/linux/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) Environment - environmentSimulation: