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.008199/0.008199, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7411/0.7411, allocations: 135.2 MB / 151 MB, free: 13.79 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.632/1.632, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008693/0.0008692, allocations: 98.42 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3843, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5298, allocations: 111.3 MB / 0.7582 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5302, allocations: 71.97 kB / 0.7583 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002214/0.5324, allocations: 0.7912 MB / 0.759 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.338e-06/0.5324, allocations: 0 / 0.759 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5324, allocations: 3.938 kB / 0.7591 GB, free: 3.801 MB / 0.5261 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.0003858/0.5328, allocations: 343.2 kB / 0.7594 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5329, allocations: 12.03 kB / 0.7594 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.5329, allocations: 34.56 kB / 0.7594 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.5331, allocations: 15.98 kB / 0.7594 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.5333, allocations: 170.9 kB / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.5333, allocations: 0 / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.5333, allocations: 4 kB / 0.7596 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.5336, allocations: 61.66 kB / 0.7597 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.5336, allocations: 4 kB / 0.7597 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5336, allocations: 4 kB / 0.7597 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5336, allocations: 0 / 0.7597 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.5338, allocations: 59.89 kB / 0.7597 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.5343, allocations: 292.8 kB / 0.76 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.5345, allocations: 58.55 kB / 0.7601 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.5345, allocations: 0 / 0.7601 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5346, allocations: 34.62 kB / 0.7601 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5346, allocations: 0 / 0.7601 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004209/0.535, allocations: 125.6 kB / 0.7602 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.535, allocations: 55.41 kB / 0.7603 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.5351, allocations: 105 kB / 0.7604 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5351, allocations: 25.7 kB / 0.7604 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.5352, allocations: 88.14 kB / 0.7605 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.5352, allocations: 3.906 kB / 0.7605 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5352, allocations: 0 / 0.7605 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5353, allocations: 314.8 kB / 0.7608 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.5355, allocations: 35.97 kB / 0.7608 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.5356, allocations: 31.97 kB / 0.7608 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5357, allocations: 27.98 kB / 0.7609 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5357, allocations: 4.062 kB / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002463/0.5359, allocations: 97.58 kB / 0.761 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.536, allocations: 4 kB / 0.761 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.536, allocations: 8.031 kB / 0.761 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.536, allocations: 0 / 0.761 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5361, allocations: 11.98 kB / 0.761 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.5361, allocations: 0 / 0.761 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.5362, allocations: 15.98 kB / 0.761 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.5362, allocations: 0 / 0.761 GB, free: 1.574 MB / 0.5261 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 (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 8.181e-05/0.5363, allocations: 113.8 kB / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.5363, allocations: 7.906 kB / 0.7611 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.5364, allocations: 7.531 kB / 0.7611 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5364, allocations: 0 / 0.7611 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5364, allocations: 256 / 0.7611 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5364, allocations: 0 / 0.7611 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.5366, allocations: 177.6 kB / 0.7613 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5366, allocations: 0 / 0.7613 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.5367, allocations: 15.98 kB / 0.7613 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5367, allocations: 4 kB / 0.7613 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5367, allocations: 0 / 0.7613 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5367, allocations: 0 / 0.7613 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5367, allocations: 0 / 0.7613 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.537, allocations: 199.4 kB / 0.7615 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.5371, allocations: 89 kB / 0.7616 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.5371, allocations: 0 / 0.7616 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.5372, allocations: 11.98 kB / 0.7616 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5373, allocations: 3.938 kB / 0.7616 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.5373, allocations: 7.969 kB / 0.7616 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.5373, allocations: 87.28 kB / 0.7617 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5373, allocations: 0 / 0.7617 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000201/0.5375, allocations: 4 kB / 0.7617 GB, free: 0.7617 MB / 0.5261 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 (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.0006087/0.5382, allocations: 0.7241 MB / 0.7624 GB, free: 12 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.5384, allocations: 67.97 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5385, allocations: 0 / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5386, allocations: 32.05 kB / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5388, allocations: 11.98 kB / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.5393, allocations: 158.3 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5397, allocations: 0.6849 MB / 0.7633 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.5397, allocations: 3.938 kB / 0.7633 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.5398, allocations: 7.438 kB / 0.7633 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.5398, allocations: 0 / 0.7633 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.5523, allocations: 1.166 MB / 0.7645 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.5525, allocations: 161 kB / 0.7646 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.079, allocations: 4 kB / 0.7646 GB, free: 13.69 MB / 0.5417 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)