Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9196/0.9196, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008697, allocations: 101.7 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.189e-05, allocations: 4.094 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1597, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5926/0.7524, allocations: 111.2 MB / 0.7491 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.7527, allocations: 77.09 kB / 0.7492 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002409/0.7551, allocations: 0.775 MB / 0.7499 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7551, allocations: 1.859 kB / 0.7499 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7552, allocations: 0 / 0.7499 GB, free: 27.66 MB / 0.5105 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.0003395/0.7555, allocations: 342.5 kB / 0.7503 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7556, allocations: 7.656 kB / 0.7503 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.7556, allocations: 30.56 kB / 0.7503 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.7557, allocations: 20.91 kB / 0.7503 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.7559, allocations: 172.9 kB / 0.7505 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.7559, allocations: 0 / 0.7505 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.7559, allocations: 3.938 kB / 0.7505 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.756, allocations: 42.58 kB / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.756, allocations: 4 kB / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.7561, allocations: 0 / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7561, allocations: 0 / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.7561, allocations: 18.09 kB / 0.7506 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.7565, allocations: 284 kB / 0.7508 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.7566, allocations: 33.67 kB / 0.7509 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.7566, allocations: 19.11 kB / 0.7509 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.7566, allocations: 0.9844 kB / 0.7509 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.7567, allocations: 30.56 kB / 0.7509 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7567, allocations: 0 / 0.7509 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.7568, allocations: 50.48 kB / 0.751 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7569, allocations: 51.41 kB / 0.751 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.7569, allocations: 102.5 kB / 0.7511 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.757, allocations: 25.7 kB / 0.7511 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.757, allocations: 83.92 kB / 0.7512 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.757, allocations: 15.09 kB / 0.7512 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.757, allocations: 3.938 kB / 0.7512 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7572, allocations: 317.7 kB / 0.7515 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.7572, allocations: 11.34 kB / 0.7515 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.7572, allocations: 10.94 kB / 0.7516 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.7572, allocations: 10.59 kB / 0.7516 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7572, allocations: 0 / 0.7516 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.756e-05/0.7573, allocations: 46.8 kB / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7573, allocations: 7.75 kB / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.7574, allocations: 0 / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.7574, allocations: 0 / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.7575, allocations: 14.7 kB / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7575, allocations: 0 / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.7576, allocations: 17.17 kB / 0.7516 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.7576, allocations: 0 / 0.7516 GB, free: 26.01 MB / 0.5105 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 () * 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 6.558e-05/0.7577, allocations: 115.7 kB / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.7577, allocations: 2.625 kB / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.7577, allocations: 3.656 kB / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7577, allocations: 0 / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7577, allocations: 0 / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7577, allocations: 7.844 kB / 0.7518 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.7579, allocations: 165.1 kB / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7579, allocations: 0 / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.758, allocations: 14.44 kB / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.758, allocations: 0 / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.758, allocations: 0 / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.758, allocations: 6.609 kB / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.758, allocations: 0 / 0.7519 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.7581, allocations: 150.6 kB / 0.7521 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.7582, allocations: 80.92 kB / 0.7522 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.7582, allocations: 0 / 0.7522 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.7583, allocations: 10.39 kB / 0.7522 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.7583, allocations: 6.422 kB / 0.7522 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.7583, allocations: 3.875 kB / 0.7522 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.7584, allocations: 86.59 kB / 0.7523 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7584, allocations: 0 / 0.7523 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001998/0.7586, allocations: 6.281 kB / 0.7523 GB, free: 25.38 MB / 0.5105 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 () * 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.0004026/0.759, allocations: 0.6785 MB / 0.7529 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.7591, allocations: 18.91 kB / 0.753 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7591, allocations: 4.094 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.7591, allocations: 14.44 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.7593, allocations: 2.109 kB / 0.753 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.7597, allocations: 101 kB / 0.7531 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.7599, allocations: 0.6816 MB / 0.7537 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.76, allocations: 11.91 kB / 0.7538 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.76, allocations: 7.438 kB / 0.7538 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.76, allocations: 3.812 kB / 0.7538 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.7722, allocations: 1.165 MB / 0.7549 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.7724, allocations: 145.8 kB / 0.755 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.225, allocations: 0 / 0.755 GB, free: 23.51 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)