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.001298/0.001298, allocations: 173.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 133.5 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.00107/0.00107, allocations: 99.75 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.827e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4717, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.6237, allocations: 110.6 MB / 0.7419 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.624, allocations: 67.97 kB / 0.742 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002245/0.6263, allocations: 0.7834 MB / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6263, allocations: 0 / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6263, allocations: 0 / 0.7427 GB, free: 11.27 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.0003749/0.6267, allocations: 338.4 kB / 0.743 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6268, allocations: 12.03 kB / 0.7431 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.6269, allocations: 19.89 kB / 0.7431 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.6271, allocations: 167 kB / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.6271, allocations: 0 / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.6272, allocations: 0 / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.115e-05/0.6272, allocations: 20 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.6273, allocations: 37.69 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6274, allocations: 0 / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.6274, allocations: 0 / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6274, allocations: 3.938 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.6278, allocations: 265.4 kB / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.6279, allocations: 26.58 kB / 0.7436 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.628, allocations: 12.92 kB / 0.7436 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.628, allocations: 8 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.628, allocations: 30.56 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.628, allocations: 0 / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.6282, allocations: 49.61 kB / 0.7437 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6282, allocations: 51.41 kB / 0.7437 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.6283, allocations: 104.9 kB / 0.7438 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6283, allocations: 25.7 kB / 0.7438 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.6284, allocations: 84.14 kB / 0.7439 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.6284, allocations: 11.88 kB / 0.7439 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.6284, allocations: 0 / 0.7439 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6286, allocations: 322.7 kB / 0.7442 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.6286, allocations: 8 kB / 0.7442 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.6286, allocations: 7.984 kB / 0.7443 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.6287, allocations: 8 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6287, allocations: 0 / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.912e-05/0.6288, allocations: 45.7 kB / 0.7443 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6288, allocations: 12.09 kB / 0.7443 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6288, allocations: 0 / 0.7443 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6288, allocations: 0 / 0.7443 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.6289, allocations: 15.98 kB / 0.7443 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.629, allocations: 0 / 0.7443 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.629, allocations: 11.98 kB / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.629, allocations: 3.984 kB / 0.7443 GB, free: 9.398 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 () * 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.25e-05/0.6291, allocations: 112.9 kB / 0.7445 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.384e-05/0.6292, allocations: 45.69 kB / 0.7445 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.6292, allocations: 7.906 kB / 0.7445 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.6293, allocations: 7.969 kB / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6293, allocations: 0 / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6293, allocations: 0 / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6293, allocations: 0 / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.6294, allocations: 146.2 kB / 0.7447 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6295, allocations: 0 / 0.7447 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.24e-05/0.6295, allocations: 20.02 kB / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6296, allocations: 0 / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.6296, allocations: 0 / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.6296, allocations: 0 / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6296, allocations: 0 / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.6297, allocations: 147.4 kB / 0.7448 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.6298, allocations: 85.08 kB / 0.7449 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.6298, allocations: 4 kB / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.6299, allocations: 11.98 kB / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.6299, allocations: 0 / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.6299, allocations: 7.984 kB / 0.7449 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.63, allocations: 91.52 kB / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.63, allocations: 0 / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002148/0.6302, allocations: 4 kB / 0.745 GB, free: 8.641 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 () * 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.0004861/0.6307, allocations: 0.6811 MB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.6308, allocations: 23.94 kB / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6308, allocations: 0 / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.6309, allocations: 12 kB / 0.7457 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.6311, allocations: 6.031 kB / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.6315, allocations: 101.6 kB / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.6319, allocations: 0.6768 MB / 0.7465 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.6319, allocations: 0 / 0.7465 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.632, allocations: 15.42 kB / 0.7465 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.632, allocations: 4 kB / 0.7465 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.6505, allocations: 0.8549 MB / 0.7473 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.6507, allocations: 123.6 kB / 0.7474 GB, free: 6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.069, allocations: 0 / 0.7474 GB, free: 6 MB / 0.5261 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)