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.000815/0.0008148, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.0009346/0.0009345, allocations: 176.7 kB / 15.96 MB, free: 196 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.321/1.321, allocations: 223.2 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.7393/0.7393, allocations: 132.3 MB / 423.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 16 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4369, allocations: 81.56 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001461/0.4384, allocations: 1.151 MB / 0.5843 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.4387, allocations: 91.05 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.4387, allocations: 1.062 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.4387, allocations: 1.281 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.4388, allocations: 8.75 kB / 0.5844 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.4389, allocations: 15.28 kB / 0.5844 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.439, allocations: 17.83 kB / 0.5844 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.4391, allocations: 8.516 kB / 0.5844 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.4391, allocations: 8.828 kB / 0.5844 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.4392, allocations: 9.859 kB / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4392, allocations: 1.719 kB / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.4393, allocations: 15.28 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.4393, allocations: 9.906 kB / 0.5844 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.4393, allocations: 31.02 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.058e-05/0.4394, allocations: 19.64 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4394, allocations: 8.719 kB / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4394, allocations: 0 / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4394, allocations: 0 / 0.5845 GB, free: 3.004 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.0003339/0.4398, allocations: 339.3 kB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4398, allocations: 9.719 kB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.4399, allocations: 36.58 kB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.44, allocations: 17.84 kB / 0.5849 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.4401, allocations: 174.7 kB / 0.5851 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4401, allocations: 0.9062 kB / 0.5851 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.4401, allocations: 0.9375 kB / 0.5851 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4403, allocations: 70.31 kB / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4404, allocations: 0 / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4404, allocations: 0 / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4404, allocations: 1.406 kB / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.4406, allocations: 65.34 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.4409, allocations: 263.5 kB / 0.5854 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4411, allocations: 67.58 kB / 0.5855 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4412, allocations: 37.19 kB / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4413, allocations: 0 / 0.5855 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.4413, allocations: 32.25 kB / 0.5856 GB, free: 1.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.4413, allocations: 0 / 0.5856 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004049/0.4417, allocations: 128.9 kB / 0.5857 GB, free: 1.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.4417, allocations: 56.83 kB / 0.5857 GB, free: 1.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.4418, allocations: 103.1 kB / 0.5858 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.4418, allocations: 26.95 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.4419, allocations: 81.77 kB / 0.586 GB, free: 1.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.4419, allocations: 9.547 kB / 0.586 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4419, allocations: 3.938 kB / 0.586 GB, free: 1.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.4419, allocations: 313.2 kB / 0.5863 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.442, allocations: 34.23 kB / 0.5863 GB, free: 1.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-05/0.4421, allocations: 34.86 kB / 0.5863 GB, free: 1.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/0.4423, allocations: 33.66 kB / 0.5864 GB, free: 1.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4423, allocations: 1.531 kB / 0.5864 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002293/0.4425, allocations: 91.38 kB / 0.5864 GB, free: 1.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4425, allocations: 6.781 kB / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4425, allocations: 0.5156 kB / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4425, allocations: 0 / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4427, allocations: 19.42 kB / 0.5865 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4427, allocations: 3.953 kB / 0.5865 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.4427, allocations: 19 kB / 0.5865 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4428, allocations: 2.234 kB / 0.5865 GB, free: 1.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.4428, allocations: 113.7 kB / 0.5866 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.4428, allocations: 5.281 kB / 0.5866 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.4429, allocations: 9.219 kB / 0.5866 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4429, allocations: 4.734 kB / 0.5866 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4429, allocations: 5.312 kB / 0.5866 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4429, allocations: 3.953 kB / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.443, allocations: 165.6 kB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.443, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.4431, allocations: 15.3 kB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.4431, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4431, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4431, allocations: 1.734 kB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4431, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.4434, allocations: 195.7 kB / 0.587 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.4434, allocations: 82.44 kB / 0.5871 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4435, allocations: 0.9688 kB / 0.5871 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.4435, allocations: 16.81 kB / 0.5871 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.4436, allocations: 1.219 kB / 0.5871 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.4436, allocations: 4.969 kB / 0.5871 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.4436, allocations: 86.25 kB / 0.5872 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4436, allocations: 0 / 0.5872 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.4438, allocations: 4.469 kB / 0.5872 GB, free: 0.5742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000434/0.4443, allocations: 0.7207 MB / 0.5879 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4445, allocations: 63.91 kB / 0.5879 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4446, allocations: 4.062 kB / 0.588 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4447, allocations: 41.06 kB / 0.588 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.445, allocations: 6.75 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.4454, allocations: 161.5 kB / 0.5882 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4456, allocations: 0.6772 MB / 0.5888 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.4457, allocations: 1.609 kB / 0.5888 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.4457, allocations: 8.859 kB / 0.5888 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4457, allocations: 0 / 0.5888 GB, free: 15.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.4569, allocations: 1.175 MB / 0.59 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4572, allocations: 183 kB / 0.5901 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.054, allocations: 0 / 0.5901 GB, free: 14.62 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/linux/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) Environment - environmentSimulation: