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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001129/0.001129, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.61 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001928/0.3725, allocations: 0.5907 MB / 0.5808 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.3728, allocations: 95.48 kB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.3728, allocations: 0 / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3728, allocations: 4 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.3729, allocations: 0.75 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3731, allocations: 9.531 kB / 0.5809 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.3731, allocations: 12.75 kB / 0.5809 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.3732, allocations: 2.312 kB / 0.5809 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.3732, allocations: 6.906 kB / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.3733, allocations: 3.531 kB / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3733, allocations: 0.7812 kB / 0.5809 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.3734, allocations: 15.47 kB / 0.5809 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.3734, allocations: 3.984 kB / 0.5809 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3734, allocations: 6.047 kB / 0.5809 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.3735, allocations: 22.34 kB / 0.5809 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3735, allocations: 0 / 0.5809 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3735, allocations: 0 / 0.5809 GB, free: 4.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3735, allocations: 0 / 0.5809 GB, free: 4.102 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.000268/0.3738, allocations: 321.2 kB / 0.5813 GB, free: 3.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3738, allocations: 10.3 kB / 0.5813 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.3739, allocations: 32.56 kB / 0.5813 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.374, allocations: 13.81 kB / 0.5813 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.854e-05/0.3741, allocations: 161 kB / 0.5815 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3741, allocations: 6.094 kB / 0.5815 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3742, allocations: 1.438 kB / 0.5815 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3743, allocations: 43.28 kB / 0.5815 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3743, allocations: 4.969 kB / 0.5815 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3743, allocations: 0 / 0.5815 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3743, allocations: 1.094 kB / 0.5815 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3744, allocations: 10.42 kB / 0.5815 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.3746, allocations: 159.6 kB / 0.5817 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3747, allocations: 38.94 kB / 0.5817 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.3748, allocations: 16.06 kB / 0.5817 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3748, allocations: 0.7188 kB / 0.5817 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.3748, allocations: 36.06 kB / 0.5818 GB, free: 3.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3749, allocations: 4 kB / 0.5818 GB, free: 3.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002234/0.3751, allocations: 60.16 kB / 0.5818 GB, free: 3.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.3751, allocations: 56.97 kB / 0.5819 GB, free: 3.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.803e-05/0.3751, allocations: 89.86 kB / 0.582 GB, free: 2.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.3752, allocations: 26.48 kB / 0.582 GB, free: 2.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.3752, allocations: 80.75 kB / 0.5821 GB, free: 2.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3752, allocations: 8.797 kB / 0.5821 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3752, allocations: 21.86 kB / 0.5821 GB, free: 2.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.3753, allocations: 312.6 kB / 0.5824 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.3753, allocations: 4.672 kB / 0.5824 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.3754, allocations: 10.73 kB / 0.5824 GB, free: 2.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.3755, allocations: 25.39 kB / 0.5824 GB, free: 2.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3755, allocations: 0 / 0.5824 GB, free: 2.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/0.3756, allocations: 47.67 kB / 0.5825 GB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3756, allocations: 9.031 kB / 0.5825 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3756, allocations: 3.938 kB / 0.5825 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3756, allocations: 1.922 kB / 0.5825 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.3761, allocations: 44.69 kB / 0.5825 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.3771, allocations: 1.402 MB / 0.5839 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.3772, allocations: 1.641 kB / 0.5839 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3772, allocations: 2.938 kB / 0.5839 GB, free: 1.008 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.721e-05/0.3772, allocations: 111.3 kB / 0.584 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.3772, allocations: 4.719 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.3772, allocations: 8.688 kB / 0.584 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3773, allocations: 0.7188 kB / 0.584 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3773, allocations: 4.641 kB / 0.584 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3773, allocations: 0.8438 kB / 0.584 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.571e-05/0.3773, allocations: 159.4 kB / 0.5842 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3773, allocations: 0 / 0.5842 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.3777, allocations: 58.22 kB / 0.5842 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3777, allocations: 1.578 kB / 0.5842 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3778, allocations: 0 / 0.5842 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3788, allocations: 1.407 MB / 0.5856 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3788, allocations: 0.8438 kB / 0.5856 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.379, allocations: 77.44 kB / 0.5857 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.379, allocations: 79.3 kB / 0.5858 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.379, allocations: 3.938 kB / 0.5858 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.379, allocations: 5.578 kB / 0.5858 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.3791, allocations: 7.5 kB / 0.5858 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3791, allocations: 1.125 kB / 0.5858 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.622e-05/0.3791, allocations: 75.89 kB / 0.5859 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3791, allocations: 0 / 0.5859 GB, free: 14.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.3793, allocations: 7.25 kB / 0.5859 GB, free: 14.96 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.0003956/0.3797, allocations: 0.6189 MB / 0.5865 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.3802, allocations: 55.36 kB / 0.5865 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3802, allocations: 4.688 kB / 0.5865 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.3805, allocations: 47.39 kB / 0.5866 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.3806, allocations: 5.203 kB / 0.5866 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3811, allocations: 126 kB / 0.5867 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3813, allocations: 0.6736 MB / 0.5874 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.3813, allocations: 6.438 kB / 0.5874 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3813, allocations: 9.562 kB / 0.5874 GB, free: 13.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3813, allocations: 0.9062 kB / 0.5874 GB, free: 13.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.3993, allocations: 1.223 MB / 0.5886 GB, free: 13.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.33, allocations: 9.359 kB / 0.5886 GB, free: 13.12 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/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)