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.0007728/0.0007728, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0008783/0.0008784, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 12 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3712, allocations: 81.58 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006227/0.3719, allocations: 311.9 kB / 0.5835 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.3721, allocations: 93.34 kB / 0.5836 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.3721, allocations: 0 / 0.5836 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.3721, allocations: 0 / 0.5836 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.3722, allocations: 0.9375 kB / 0.5836 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.3724, allocations: 19.23 kB / 0.5836 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.3724, allocations: 4.031 kB / 0.5836 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.3725, allocations: 1.578 kB / 0.5836 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.3725, allocations: 2.562 kB / 0.5836 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.3726, allocations: 7.078 kB / 0.5836 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3726, allocations: 8.75 kB / 0.5836 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.3726, allocations: 14.33 kB / 0.5836 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.3727, allocations: 1.5 kB / 0.5836 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.3727, allocations: 30.64 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.413e-05/0.3727, allocations: 10.47 kB / 0.5837 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3727, allocations: 0 / 0.5837 GB, free: 3.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3727, allocations: 0.9375 kB / 0.5837 GB, free: 3.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.3728, allocations: 0 / 0.5837 GB, free: 3.672 MB / 430.1 MB 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.0002305/0.373, allocations: 314.4 kB / 0.584 GB, free: 3.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.373, allocations: 10.22 kB / 0.584 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.3731, allocations: 34.56 kB / 0.584 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3732, allocations: 13.19 kB / 0.584 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.798e-05/0.3733, allocations: 160.5 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3733, allocations: 1.312 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3733, allocations: 5 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3735, allocations: 35.8 kB / 0.5842 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3735, allocations: 0 / 0.5842 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.3735, allocations: 0.9062 kB / 0.5842 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3735, allocations: 4.562 kB / 0.5842 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.3736, allocations: 19.55 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.3737, allocations: 162.9 kB / 0.5844 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3738, allocations: 39.36 kB / 0.5844 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.3739, allocations: 10.66 kB / 0.5844 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3739, allocations: 4.75 kB / 0.5844 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3739, allocations: 35.98 kB / 0.5845 GB, free: 2.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.374, allocations: 1.125 kB / 0.5845 GB, free: 2.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001952/0.3742, allocations: 55.72 kB / 0.5845 GB, free: 2.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3742, allocations: 51.97 kB / 0.5846 GB, free: 2.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.653e-05/0.3742, allocations: 90.64 kB / 0.5847 GB, free: 2.551 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.3742, allocations: 26.36 kB / 0.5847 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.3742, allocations: 85.11 kB / 0.5848 GB, free: 2.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3743, allocations: 11.45 kB / 0.5848 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.3743, allocations: 0.6562 kB / 0.5848 GB, free: 2.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.3743, allocations: 316.1 kB / 0.5851 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.3744, allocations: 9.844 kB / 0.5851 GB, free: 2.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.3744, allocations: 6.203 kB / 0.5851 GB, free: 2.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.3745, allocations: 9.141 kB / 0.5851 GB, free: 2.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3745, allocations: 1.344 kB / 0.5851 GB, free: 2.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.3746, allocations: 55.23 kB / 0.5852 GB, free: 2.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3746, allocations: 6.719 kB / 0.5852 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3746, allocations: 0 / 0.5852 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3746, allocations: 7.969 kB / 0.5852 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.375, allocations: 40.78 kB / 0.5852 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000919/0.3759, allocations: 1.309 MB / 0.5865 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.3759, allocations: 5.797 kB / 0.5865 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3759, allocations: 1.062 kB / 0.5865 GB, free: 0.6992 MB / 430.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.376, allocations: 118.1 kB / 0.5866 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.376, allocations: 1.812 kB / 0.5866 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.376, allocations: 3.5 kB / 0.5866 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.376, allocations: 6.219 kB / 0.5866 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3761, allocations: 0 / 0.5866 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3761, allocations: 0.6562 kB / 0.5866 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.193e-05/0.3761, allocations: 159.8 kB / 0.5868 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3761, allocations: 0 / 0.5868 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.3765, allocations: 44.83 kB / 0.5868 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3765, allocations: 4.844 kB / 0.5868 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3765, allocations: 0.5156 kB / 0.5868 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009722/0.3775, allocations: 1.305 MB / 0.5881 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3775, allocations: 1.391 kB / 0.5881 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3776, allocations: 85.31 kB / 0.5882 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.3777, allocations: 79.09 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.3777, allocations: 0 / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.3777, allocations: 1.562 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.3777, allocations: 7.781 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3778, allocations: 0.6562 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.405e-05/0.3778, allocations: 76.53 kB / 0.5883 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3778, allocations: 0 / 0.5883 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000193/0.378, allocations: 7.875 kB / 0.5883 GB, free: 14.76 MB / 446.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.3784, allocations: 0.6064 MB / 0.5889 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.3788, allocations: 69.77 kB / 0.589 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3788, allocations: 0 / 0.589 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3791, allocations: 41.59 kB / 0.589 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3792, allocations: 4.609 kB / 0.589 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.3796, allocations: 128.1 kB / 0.5892 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3799, allocations: 0.6755 MB / 0.5898 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.3799, allocations: 1 kB / 0.5898 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.38, allocations: 14.22 kB / 0.5898 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.38, allocations: 0 / 0.5898 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.3921, allocations: 1.045 MB / 0.5909 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3924, allocations: 214.4 kB / 0.5911 GB, free: 12.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.92, allocations: 0.6562 kB / 0.5911 GB, free: 12.9 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: