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.001314/0.001314, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.748/0.748, allocations: 133.4 MB / 146.7 MB, free: 10.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.677/1.677, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.0009827/0.000983, allocations: 95.14 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.837e-05, allocations: 4.344 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1786, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5654/0.744, allocations: 111.2 MB / 0.7491 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.7443, allocations: 71.55 kB / 0.7492 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003405/0.7477, allocations: 0.7745 MB / 0.7499 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7478, allocations: 1.859 kB / 0.75 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.7478, allocations: 3.844 kB / 0.75 GB, free: 27.59 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.0004337/0.7482, allocations: 339.6 kB / 0.7503 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7483, allocations: 11.53 kB / 0.7503 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.7483, allocations: 33.56 kB / 0.7503 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.7485, allocations: 17.75 kB / 0.7503 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.7487, allocations: 166.9 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.7487, allocations: 0 / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7488, allocations: 7.781 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.7489, allocations: 44.97 kB / 0.7505 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7489, allocations: 0 / 0.7505 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.7489, allocations: 0 / 0.7505 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.749, allocations: 3.844 kB / 0.7506 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.7491, allocations: 13.84 kB / 0.7506 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.7496, allocations: 279.2 kB / 0.7508 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.7497, allocations: 36.8 kB / 0.7509 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.7498, allocations: 12.27 kB / 0.7509 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.7498, allocations: 0.9844 kB / 0.7509 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.7498, allocations: 30.56 kB / 0.7509 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.7498, allocations: 0 / 0.7509 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002361/0.7501, allocations: 55.61 kB / 0.751 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.7501, allocations: 59.28 kB / 0.751 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.7502, allocations: 92.78 kB / 0.7511 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.7503, allocations: 25.7 kB / 0.7511 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.7503, allocations: 90.41 kB / 0.7512 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.7504, allocations: 11.78 kB / 0.7512 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.7504, allocations: 3.938 kB / 0.7512 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7505, allocations: 318.7 kB / 0.7515 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.7506, allocations: 7 kB / 0.7515 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.7506, allocations: 11.59 kB / 0.7516 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.7507, allocations: 10.45 kB / 0.7516 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7507, allocations: 0 / 0.7516 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001454/0.7508, allocations: 48.08 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7509, allocations: 3.719 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7509, allocations: 0 / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7509, allocations: 3.984 kB / 0.7516 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.7511, allocations: 21.45 kB / 0.7516 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7511, allocations: 0 / 0.7516 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.7513, allocations: 13.92 kB / 0.7517 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.7513, allocations: 3.812 kB / 0.7517 GB, free: 25.93 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 8.847e-05/0.7514, allocations: 108.9 kB / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.7514, allocations: 0 / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.7515, allocations: 10.62 kB / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7515, allocations: 0 / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7515, allocations: 4 kB / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7515, allocations: 0 / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.7517, allocations: 173 kB / 0.7519 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7518, allocations: 0 / 0.7519 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.7519, allocations: 11.16 kB / 0.7519 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.7519, allocations: 3.844 kB / 0.752 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7519, allocations: 0 / 0.752 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.752, allocations: 0 / 0.752 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.752, allocations: 0 / 0.752 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.7522, allocations: 152.6 kB / 0.7521 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.7522, allocations: 77.11 kB / 0.7522 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.7523, allocations: 4.453 kB / 0.7522 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.7524, allocations: 14.52 kB / 0.7522 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.7525, allocations: 7.656 kB / 0.7522 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.7525, allocations: 4.031 kB / 0.7522 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.7526, allocations: 81.41 kB / 0.7523 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7526, allocations: 0 / 0.7523 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003773/0.753, allocations: 7.531 kB / 0.7523 GB, free: 25.3 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.0004776/0.7535, allocations: 0.6811 MB / 0.7529 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.7536, allocations: 26.31 kB / 0.753 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7536, allocations: 0 / 0.753 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.7537, allocations: 11.53 kB / 0.753 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.754, allocations: 3.781 kB / 0.753 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.7546, allocations: 96.55 kB / 0.7531 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7549, allocations: 0.6836 MB / 0.7537 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.755, allocations: 7.75 kB / 0.7538 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.755, allocations: 10.75 kB / 0.7538 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.755, allocations: 0 / 0.7538 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.7698, allocations: 1.165 MB / 0.7549 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.77, allocations: 139.4 kB / 0.755 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.258, allocations: 0 / 0.755 GB, free: 23.44 MB / 0.5105 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)