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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.9 kB / 7.651 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.7873/0.7873, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.543/1.543, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0008418/0.0008417, allocations: 106 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.195e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5831, allocations: 110.6 MB / 0.7419 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.5835, allocations: 75.91 kB / 0.742 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/0.5859, allocations: 0.7834 MB / 0.7427 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5859, allocations: 0 / 0.7427 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5859, allocations: 0 / 0.7427 GB, free: 11.23 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.0004303/0.5863, allocations: 342.4 kB / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.5864, allocations: 12.03 kB / 0.7431 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.5866, allocations: 15.89 kB / 0.7431 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5868, allocations: 167 kB / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.5868, allocations: 0 / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.5868, allocations: 0 / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.3e-05/0.5869, allocations: 23.98 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.587, allocations: 37.69 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.587, allocations: 0 / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.587, allocations: 4 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.587, allocations: 3.984 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.5875, allocations: 257.4 kB / 0.7435 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.5876, allocations: 26.58 kB / 0.7436 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.5876, allocations: 16.92 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.5877, allocations: 7.984 kB / 0.7436 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5877, allocations: 30.56 kB / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5877, allocations: 0 / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001882/0.5879, allocations: 53.59 kB / 0.7437 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5879, allocations: 51.41 kB / 0.7437 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.588, allocations: 96.94 kB / 0.7438 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.5881, allocations: 25.7 kB / 0.7438 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.5881, allocations: 88.17 kB / 0.7439 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.5882, allocations: 7.844 kB / 0.7439 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5882, allocations: 0 / 0.7439 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5883, allocations: 322.8 kB / 0.7442 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.5884, allocations: 11.94 kB / 0.7443 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.5884, allocations: 4 kB / 0.7443 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.5884, allocations: 8 kB / 0.7443 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5884, allocations: 0 / 0.7443 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.501e-05/0.5885, allocations: 45.77 kB / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5886, allocations: 8 kB / 0.7443 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5886, allocations: 0 / 0.7443 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5886, allocations: 4.234 kB / 0.7443 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5887, allocations: 12 kB / 0.7443 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5888, allocations: 7.984 kB / 0.7443 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.5888, allocations: 16.03 kB / 0.7444 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5888, allocations: 0 / 0.7444 GB, free: 9.355 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.731e-05/0.5889, allocations: 108.9 kB / 0.7445 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.55e-05/0.589, allocations: 49.62 kB / 0.7445 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.5891, allocations: 7.906 kB / 0.7445 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.5891, allocations: 7.969 kB / 0.7445 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5891, allocations: 0 / 0.7445 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5891, allocations: 0 / 0.7445 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5891, allocations: 0 / 0.7445 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5893, allocations: 146.2 kB / 0.7447 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5893, allocations: 4 kB / 0.7447 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.5894, allocations: 15.98 kB / 0.7447 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5894, allocations: 0 / 0.7447 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5894, allocations: 0 / 0.7447 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5894, allocations: 3.984 kB / 0.7447 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5895, allocations: 0 / 0.7447 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5896, allocations: 147.5 kB / 0.7448 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.5896, allocations: 81.11 kB / 0.7449 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.5897, allocations: 0 / 0.7449 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5898, allocations: 11.98 kB / 0.7449 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.5898, allocations: 3.984 kB / 0.7449 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.5898, allocations: 0 / 0.7449 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.5899, allocations: 87.28 kB / 0.745 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5899, allocations: 0 / 0.745 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001988/0.5901, allocations: 8.031 kB / 0.745 GB, free: 8.605 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.0004336/0.5905, allocations: 0.6733 MB / 0.7457 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.5906, allocations: 27.88 kB / 0.7457 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5906, allocations: 0 / 0.7457 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.5907, allocations: 12.09 kB / 0.7457 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.5909, allocations: 5.875 kB / 0.7457 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.5913, allocations: 101.6 kB / 0.7458 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5916, allocations: 0.6768 MB / 0.7465 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.5917, allocations: 8.047 kB / 0.7465 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.5917, allocations: 11.44 kB / 0.7465 GB, free: 7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5917, allocations: 0 / 0.7465 GB, free: 7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.6113, allocations: 0.8613 MB / 0.7473 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.6115, allocations: 124.2 kB / 0.7474 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/2.039, allocations: 0 / 0.7474 GB, free: 5.957 MB / 0.5261 GB (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)