Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007515/0.007515, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001622/0.001622, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9502/0.9502, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.5857 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4737, allocations: 80.91 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002418/0.4762, allocations: 0.5838 MB / 0.6653 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.4766, allocations: 98.7 kB / 0.6653 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.4767, allocations: 1.281 kB / 0.6653 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.4767, allocations: 0 / 0.6653 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.4768, allocations: 0 / 0.6653 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.4771, allocations: 14.11 kB / 0.6654 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.4772, allocations: 15.59 kB / 0.6654 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.4773, allocations: 1.281 kB / 0.6654 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.4773, allocations: 2.062 kB / 0.6654 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.4774, allocations: 6.719 kB / 0.6654 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.4774, allocations: 0 / 0.6654 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.4775, allocations: 15.64 kB / 0.6654 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.4775, allocations: 3.938 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.4776, allocations: 1.531 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.4777, allocations: 21.42 kB / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4777, allocations: 1.469 kB / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4777, allocations: 0 / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4777, allocations: 0 / 0.6654 GB, free: 7.047 MB / 0.4981 GB 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.0003661/0.4781, allocations: 321.2 kB / 0.6657 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4781, allocations: 9.094 kB / 0.6657 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4783, allocations: 10.42 kB / 0.6658 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.984e-05/0.4784, allocations: 168.4 kB / 0.6659 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4785, allocations: 1.875 kB / 0.6659 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.4785, allocations: 1.781 kB / 0.6659 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4786, allocations: 38.56 kB / 0.666 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4786, allocations: 4.125 kB / 0.666 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.4787, allocations: 5.281 kB / 0.666 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4787, allocations: 4 kB / 0.666 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.251e-05/0.4788, allocations: 15.64 kB / 0.666 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.4789, allocations: 152.3 kB / 0.6661 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.4791, allocations: 37.52 kB / 0.6662 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.4792, allocations: 17.56 kB / 0.6662 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.4792, allocations: 8 kB / 0.6662 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.4792, allocations: 31.94 kB / 0.6662 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4792, allocations: 0 / 0.6662 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002322/0.4795, allocations: 60.66 kB / 0.6663 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.4795, allocations: 52.69 kB / 0.6663 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.947e-05/0.4795, allocations: 89.86 kB / 0.6664 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.4796, allocations: 26.92 kB / 0.6664 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.4796, allocations: 90.75 kB / 0.6665 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4796, allocations: 12.8 kB / 0.6665 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.4797, allocations: 12.34 kB / 0.6665 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.4797, allocations: 316.1 kB / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.4798, allocations: 16.22 kB / 0.6669 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.4798, allocations: 7.703 kB / 0.6669 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/0.4799, allocations: 18.02 kB / 0.6669 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4799, allocations: 7.984 kB / 0.6669 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.48, allocations: 45.88 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.48, allocations: 5.781 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.48, allocations: 0 / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.48, allocations: 3.938 kB / 0.6669 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.4804, allocations: 44.19 kB / 0.667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4814, allocations: 1.4 MB / 0.6684 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.4815, allocations: 1.5 kB / 0.6684 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.4815, allocations: 1.406 kB / 0.6684 GB, free: 3.883 MB / 0.4981 GB 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 6.044e-05/0.4816, allocations: 131 kB / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.4816, allocations: 0 / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.203e-05/0.4816, allocations: 4.969 kB / 0.6685 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4816, allocations: 0 / 0.6685 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.4816, allocations: 3.938 kB / 0.6685 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4816, allocations: 1.094 kB / 0.6685 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.414e-05/0.4817, allocations: 164.7 kB / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4817, allocations: 0 / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.482, allocations: 47.53 kB / 0.6687 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4821, allocations: 0 / 0.6687 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.4821, allocations: 5.328 kB / 0.6687 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008839/0.483, allocations: 1.411 MB / 0.6701 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.483, allocations: 0 / 0.6701 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.4831, allocations: 78.48 kB / 0.6702 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.4831, allocations: 78.45 kB / 0.6702 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.4831, allocations: 3.938 kB / 0.6702 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.4832, allocations: 1.5 kB / 0.6702 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.4832, allocations: 10.83 kB / 0.6702 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4832, allocations: 0 / 0.6702 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.329e-05/0.4832, allocations: 75.28 kB / 0.6703 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4832, allocations: 0 / 0.6703 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.4834, allocations: 3.938 kB / 0.6703 GB, free: 1.762 MB / 0.4981 GB 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.0001202/0.4835, allocations: 97.52 kB / 0.6704 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.484, allocations: 68.88 kB / 0.6705 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.484, allocations: 1.094 kB / 0.6705 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.4843, allocations: 38.83 kB / 0.6705 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.4844, allocations: 9.219 kB / 0.6705 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.4848, allocations: 99.45 kB / 0.6706 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4849, allocations: 0.6724 MB / 0.6713 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.4849, allocations: 2.5 kB / 0.6713 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.485, allocations: 12.73 kB / 0.6713 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.485, allocations: 4 kB / 0.6713 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.002521/0.4875, allocations: 409.6 kB / 0.6717 GB, free: 0.5859 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)