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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.27 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3968, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001811/0.3987, allocations: 0.5794 MB / 0.5808 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.3989, allocations: 94.88 kB / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.399, allocations: 1.281 kB / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.399, allocations: 0 / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.399, allocations: 0 / 0.5809 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3992, allocations: 21.72 kB / 0.5809 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.3993, allocations: 5.031 kB / 0.5809 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.3993, allocations: 2.328 kB / 0.5809 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.3993, allocations: 2.438 kB / 0.5809 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.3994, allocations: 11.47 kB / 0.5809 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3994, allocations: 0.875 kB / 0.5809 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.3995, allocations: 18.77 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.3995, allocations: 1.609 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.3995, allocations: 5.391 kB / 0.5809 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.3996, allocations: 17.45 kB / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3996, allocations: 0.625 kB / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3996, allocations: 0 / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3996, allocations: 1.094 kB / 0.5809 GB, free: 4.125 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.0002488/0.3999, allocations: 316 kB / 0.5812 GB, free: 3.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3999, allocations: 10.45 kB / 0.5813 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.144e-05/0.4, allocations: 40.53 kB / 0.5813 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4001, allocations: 8.797 kB / 0.5813 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.901e-05/0.4002, allocations: 162.1 kB / 0.5815 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.4002, allocations: 5.562 kB / 0.5815 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4002, allocations: 2.562 kB / 0.5815 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4003, allocations: 43.61 kB / 0.5815 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.4003, allocations: 3.938 kB / 0.5815 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.4003, allocations: 0 / 0.5815 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4003, allocations: 1.188 kB / 0.5815 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.4004, allocations: 19.27 kB / 0.5815 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.936e-05/0.4005, allocations: 154.6 kB / 0.5817 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4007, allocations: 39.55 kB / 0.5817 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.4007, allocations: 12.14 kB / 0.5817 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4008, allocations: 0 / 0.5817 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.4008, allocations: 44.48 kB / 0.5818 GB, free: 3.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.4008, allocations: 0 / 0.5818 GB, free: 3.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001955/0.401, allocations: 56.11 kB / 0.5818 GB, free: 3.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.401, allocations: 53.03 kB / 0.5819 GB, free: 3.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.41e-05/0.401, allocations: 89.86 kB / 0.582 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4011, allocations: 26.89 kB / 0.582 GB, free: 2.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-06/0.4011, allocations: 80.94 kB / 0.5821 GB, free: 2.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4011, allocations: 19.44 kB / 0.5821 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.4011, allocations: 14.64 kB / 0.5821 GB, free: 2.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.4012, allocations: 311.4 kB / 0.5824 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.4012, allocations: 9.812 kB / 0.5824 GB, free: 2.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.4013, allocations: 5.844 kB / 0.5824 GB, free: 2.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.4013, allocations: 25.64 kB / 0.5824 GB, free: 2.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4014, allocations: 0 / 0.5824 GB, free: 2.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001064/0.4015, allocations: 55.62 kB / 0.5825 GB, free: 2.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4015, allocations: 5.953 kB / 0.5825 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4015, allocations: 3.938 kB / 0.5825 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4015, allocations: 0.5625 kB / 0.5825 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.4019, allocations: 41.16 kB / 0.5825 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/0.4029, allocations: 1.411 MB / 0.5839 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.4029, allocations: 1.219 kB / 0.5839 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4029, allocations: 1.125 kB / 0.5839 GB, free: 1.023 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 (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 4.799e-05/0.403, allocations: 120.6 kB / 0.584 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.403, allocations: 1.375 kB / 0.584 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.238e-05/0.403, allocations: 4.109 kB / 0.584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.403, allocations: 1.125 kB / 0.584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.403, allocations: 4 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.403, allocations: 1.344 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.533e-05/0.4031, allocations: 163.2 kB / 0.5842 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4031, allocations: 0.6562 kB / 0.5842 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4035, allocations: 53.59 kB / 0.5842 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4035, allocations: 1.672 kB / 0.5842 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4035, allocations: 0 / 0.5842 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009992/0.4045, allocations: 1.404 MB / 0.5856 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4045, allocations: 0 / 0.5856 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.4047, allocations: 73.7 kB / 0.5857 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.4047, allocations: 77.81 kB / 0.5858 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.4047, allocations: 9.422 kB / 0.5858 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.4048, allocations: 9.438 kB / 0.5858 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.4048, allocations: 2.297 kB / 0.5858 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.4048, allocations: 2.359 kB / 0.5858 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.4048, allocations: 75.28 kB / 0.5859 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4048, allocations: 0 / 0.5859 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000197/0.405, allocations: 3.719 kB / 0.5859 GB, free: 14.98 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 (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.000388/0.4054, allocations: 0.6191 MB / 0.5865 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.4059, allocations: 63.09 kB / 0.5865 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4059, allocations: 4 kB / 0.5865 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4062, allocations: 42.97 kB / 0.5866 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4063, allocations: 9.625 kB / 0.5866 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.4067, allocations: 129.2 kB / 0.5867 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.4069, allocations: 0.6777 MB / 0.5874 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.407, allocations: 2.812 kB / 0.5874 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.407, allocations: 10.16 kB / 0.5874 GB, free: 13.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.407, allocations: 0 / 0.5874 GB, free: 13.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.425, allocations: 1.222 MB / 0.5886 GB, free: 13.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.98, allocations: 11.55 kB / 0.5886 GB, free: 13.14 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)