Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007669/0.007669, allocations: 100.2 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 187.7 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 68.05 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4869, allocations: 80.2 MB / 0.6592 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001539/0.4885, allocations: 0.58 MB / 0.6598 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.4888, allocations: 97.73 kB / 0.6599 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.4888, allocations: 0 / 0.6599 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.4889, allocations: 0 / 0.6599 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.4889, allocations: 0.875 kB / 0.6599 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.4891, allocations: 26.27 kB / 0.6599 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.4892, allocations: 5.188 kB / 0.6599 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.4892, allocations: 2.234 kB / 0.6599 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.4893, allocations: 2.094 kB / 0.6599 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.4894, allocations: 8.109 kB / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4894, allocations: 0 / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.4894, allocations: 10.72 kB / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.4895, allocations: 10.14 kB / 0.6599 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.4895, allocations: 5.328 kB / 0.66 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.861e-05/0.4896, allocations: 13.5 kB / 0.66 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4896, allocations: 4.797 kB / 0.66 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4896, allocations: 0 / 0.66 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.4896, allocations: 1.688 kB / 0.66 GB, free: 9.566 MB / 0.4981 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.0002773/0.4899, allocations: 315.9 kB / 0.6603 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4899, allocations: 8.969 kB / 0.6603 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.49, allocations: 32.67 kB / 0.6603 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.4901, allocations: 13.88 kB / 0.6603 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.4902, allocations: 161.2 kB / 0.6605 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4902, allocations: 13 kB / 0.6605 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.4902, allocations: 5.469 kB / 0.6605 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4904, allocations: 41.19 kB / 0.6605 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4904, allocations: 3.938 kB / 0.6605 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4904, allocations: 0.75 kB / 0.6605 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4904, allocations: 1.281 kB / 0.6605 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.4905, allocations: 14.52 kB / 0.6606 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.4906, allocations: 151.2 kB / 0.6607 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.4908, allocations: 47.5 kB / 0.6607 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.4909, allocations: 15.52 kB / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4909, allocations: 0 / 0.6608 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.4909, allocations: 35.81 kB / 0.6608 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.4909, allocations: 0 / 0.6608 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000225/0.4911, allocations: 60.62 kB / 0.6608 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.4912, allocations: 52.16 kB / 0.6609 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.601e-05/0.4912, allocations: 91.27 kB / 0.661 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.4912, allocations: 25.7 kB / 0.661 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/0.4912, allocations: 80.14 kB / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4913, allocations: 16.38 kB / 0.6611 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.4913, allocations: 14.14 kB / 0.6611 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.4914, allocations: 316.2 kB / 0.6614 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.4914, allocations: 9.047 kB / 0.6614 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.4915, allocations: 6.781 kB / 0.6614 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.4915, allocations: 21.77 kB / 0.6615 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4916, allocations: 0 / 0.6615 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001069/0.4917, allocations: 50.89 kB / 0.6615 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4917, allocations: 5.469 kB / 0.6615 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4917, allocations: 4.688 kB / 0.6615 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4917, allocations: 5.156 kB / 0.6615 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4921, allocations: 44.42 kB / 0.6616 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.4932, allocations: 1.4 MB / 0.6629 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.4932, allocations: 5.766 kB / 0.6629 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4932, allocations: 1.156 kB / 0.6629 GB, free: 6.469 MB / 0.4981 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.4933, allocations: 120 kB / 0.663 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.4933, allocations: 9.188 kB / 0.6631 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.4933, allocations: 4.156 kB / 0.6631 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4933, allocations: 5.219 kB / 0.6631 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.4933, allocations: 4.062 kB / 0.6631 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4933, allocations: 1.766 kB / 0.6631 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.711e-05/0.4934, allocations: 158.7 kB / 0.6632 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4934, allocations: 5.094 kB / 0.6632 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.4938, allocations: 45.36 kB / 0.6633 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4938, allocations: 5.219 kB / 0.6633 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4938, allocations: 0.5156 kB / 0.6633 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009631/0.4948, allocations: 1.407 MB / 0.6646 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4948, allocations: 0 / 0.6646 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.4949, allocations: 74.17 kB / 0.6647 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.4949, allocations: 77.81 kB / 0.6648 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-06/0.4949, allocations: 5 kB / 0.6648 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.495, allocations: 6.422 kB / 0.6648 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.495, allocations: 1.953 kB / 0.6648 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.495, allocations: 2.109 kB / 0.6648 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.235e-05/0.495, allocations: 75.28 kB / 0.6649 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.495, allocations: 4 kB / 0.6649 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00019/0.4952, allocations: 4.344 kB / 0.6649 GB, free: 4.422 MB / 0.4981 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.4955, allocations: 0.613 MB / 0.6655 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.496, allocations: 67.97 kB / 0.6656 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.496, allocations: 1.312 kB / 0.6656 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.4963, allocations: 38.61 kB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4964, allocations: 8.125 kB / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.4968, allocations: 138.1 kB / 0.6657 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.4969, allocations: 0.6751 MB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.4969, allocations: 1.469 kB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.497, allocations: 10.48 kB / 0.6664 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.497, allocations: 1.281 kB / 0.6664 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.5147, allocations: 1.281 MB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.31, allocations: 5.891 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)