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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007176/0.0007177, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004131/0.004132, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.19/1.19, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6785/0.6785, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 12.56 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3406, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001558/0.3422, allocations: 1.161 MB / 0.5849 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.3425, allocations: 95.14 kB / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.3426, allocations: 1.594 kB / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.3426, allocations: 1.031 kB / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.3426, allocations: 0 / 0.585 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3428, allocations: 15.25 kB / 0.585 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.3429, allocations: 21.83 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.343, allocations: 13.41 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.343, allocations: 4.969 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.343, allocations: 13.75 kB / 0.585 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3431, allocations: 1.531 kB / 0.585 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.3431, allocations: 16.02 kB / 0.5851 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3431, allocations: 9.969 kB / 0.5851 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.3432, allocations: 32.42 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.238e-05/0.3433, allocations: 32.12 kB / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3433, allocations: 0 / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3433, allocations: 0 / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3433, allocations: 0 / 0.5851 GB, free: 3.043 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.0003334/0.3436, allocations: 344.1 kB / 0.5855 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3437, allocations: 13.38 kB / 0.5855 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.3437, allocations: 36.72 kB / 0.5855 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.3439, allocations: 15.91 kB / 0.5855 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.344, allocations: 170.3 kB / 0.5857 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.344, allocations: 2.188 kB / 0.5857 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.344, allocations: 1.156 kB / 0.5857 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3442, allocations: 66.83 kB / 0.5857 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3442, allocations: 7.875 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3443, allocations: 5.094 kB / 0.5858 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3443, allocations: 3.938 kB / 0.5858 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.3445, allocations: 65.61 kB / 0.5858 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3449, allocations: 259.5 kB / 0.5861 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3451, allocations: 68.94 kB / 0.5861 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3452, allocations: 35.36 kB / 0.5862 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3452, allocations: 1.062 kB / 0.5862 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3452, allocations: 40.03 kB / 0.5862 GB, free: 1.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3452, allocations: 0 / 0.5862 GB, free: 1.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004133/0.3456, allocations: 124.5 kB / 0.5863 GB, free: 1.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.3457, allocations: 52.19 kB / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.3457, allocations: 104.8 kB / 0.5865 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.3457, allocations: 25.7 kB / 0.5865 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.3458, allocations: 95.16 kB / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.3458, allocations: 1.312 kB / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.3458, allocations: 10.44 kB / 0.5866 GB, free: 1.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.3459, allocations: 318.5 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.346, allocations: 29.39 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3461, allocations: 39.23 kB / 0.587 GB, free: 1.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3463, allocations: 63.78 kB / 0.587 GB, free: 1.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3463, allocations: 4.719 kB / 0.587 GB, free: 1.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002604/0.3466, allocations: 99.58 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3466, allocations: 4.688 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3466, allocations: 1.656 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.3466, allocations: 8.031 kB / 0.5872 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.3467, allocations: 15.61 kB / 0.5872 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.3467, allocations: 0 / 0.5872 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.3468, allocations: 11.48 kB / 0.5872 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3468, allocations: 1.312 kB / 0.5872 GB, free: 1.238 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.3469, allocations: 117.7 kB / 0.5873 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3469, allocations: 5.25 kB / 0.5873 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.3469, allocations: 9.031 kB / 0.5873 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3469, allocations: 5.266 kB / 0.5873 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3469, allocations: 0.8125 kB / 0.5873 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3469, allocations: 0 / 0.5873 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3471, allocations: 165.5 kB / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3471, allocations: 4.734 kB / 0.5875 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.3471, allocations: 13.55 kB / 0.5875 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3472, allocations: 4.781 kB / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3472, allocations: 0.5156 kB / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3472, allocations: 5.172 kB / 0.5875 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3472, allocations: 0.75 kB / 0.5875 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3474, allocations: 199.8 kB / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.3475, allocations: 81.75 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.3475, allocations: 1.281 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.3476, allocations: 11.78 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3476, allocations: 2.094 kB / 0.5878 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3476, allocations: 4.844 kB / 0.5878 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.595e-05/0.3477, allocations: 89.67 kB / 0.5879 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3477, allocations: 1.375 kB / 0.5879 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.3479, allocations: 4.156 kB / 0.5879 GB, free: 0.5586 MB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004418/0.3483, allocations: 0.7207 MB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.3486, allocations: 63.88 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.3486, allocations: 1.312 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3487, allocations: 39.5 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.349, allocations: 8.328 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.3494, allocations: 161.5 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3496, allocations: 0.6815 MB / 0.5895 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.3496, allocations: 1.406 kB / 0.5895 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.3496, allocations: 13.73 kB / 0.5895 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3496, allocations: 0 / 0.5895 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/0.5092, allocations: 1.179 MB / 0.5907 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.5094, allocations: 189.8 kB / 0.5909 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.065, allocations: 0 / 0.5909 GB, free: 14.59 MB / 446.1 MB (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/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)