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.005605/0.005605, allocations: 103.9 kB / 15.74 MB, free: 6.027 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.001158/0.001158, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.14 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4501, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001591/0.4517, allocations: 0.5835 MB / 0.6653 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.4521, allocations: 98.23 kB / 0.6653 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.4521, allocations: 1.062 kB / 0.6653 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.4521, allocations: 0 / 0.6653 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.4522, allocations: 0 / 0.6653 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.4524, allocations: 26.28 kB / 0.6654 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.4524, allocations: 3.844 kB / 0.6654 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.4525, allocations: 5.234 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.4525, allocations: 2.75 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.4526, allocations: 2.438 kB / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.4526, allocations: 0 / 0.6654 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.4527, allocations: 14.83 kB / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.4527, allocations: 5.25 kB / 0.6654 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.4527, allocations: 1.438 kB / 0.6654 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.4528, allocations: 17.34 kB / 0.6654 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4528, allocations: 0 / 0.6654 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4529, allocations: 4 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4529, allocations: 0 / 0.6654 GB, free: 7.035 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.0002777/0.4531, allocations: 321.4 kB / 0.6657 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4532, allocations: 10.44 kB / 0.6657 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4533, allocations: 9.109 kB / 0.6658 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.565e-05/0.4534, allocations: 164.4 kB / 0.6659 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4534, allocations: 2 kB / 0.6659 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.4534, allocations: 1.844 kB / 0.6659 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4536, allocations: 51.38 kB / 0.666 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4536, allocations: 4.125 kB / 0.666 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4536, allocations: 3.938 kB / 0.666 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4536, allocations: 1.438 kB / 0.666 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.4537, allocations: 11.11 kB / 0.666 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.4538, allocations: 148.1 kB / 0.6661 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.454, allocations: 45.31 kB / 0.6662 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.454, allocations: 16.94 kB / 0.6662 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.454, allocations: 5.562 kB / 0.6662 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.4541, allocations: 30.56 kB / 0.6662 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4541, allocations: 0 / 0.6662 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000194/0.4543, allocations: 57.89 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.4543, allocations: 55.41 kB / 0.6663 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.739e-05/0.4543, allocations: 91.05 kB / 0.6664 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.4543, allocations: 29.7 kB / 0.6664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.4543, allocations: 82.81 kB / 0.6665 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4544, allocations: 11.23 kB / 0.6665 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.4544, allocations: 12.41 kB / 0.6665 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.4545, allocations: 316.2 kB / 0.6668 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.4545, allocations: 8.016 kB / 0.6669 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.4545, allocations: 12.25 kB / 0.6669 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.322e-05/0.4546, allocations: 20.53 kB / 0.6669 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4546, allocations: 1.062 kB / 0.6669 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.432e-05/0.4547, allocations: 50.61 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4548, allocations: 4.375 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4548, allocations: 1.188 kB / 0.6669 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4548, allocations: 3.984 kB / 0.6669 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.4552, allocations: 48.2 kB / 0.667 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009913/0.4562, allocations: 1.404 MB / 0.6684 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.4562, allocations: 1.25 kB / 0.6684 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4562, allocations: 4 kB / 0.6684 GB, free: 3.871 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 7.007e-05/0.4563, allocations: 117.7 kB / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.4563, allocations: 1.188 kB / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.4563, allocations: 7.484 kB / 0.6685 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4563, allocations: 1.281 kB / 0.6685 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4563, allocations: 4 kB / 0.6685 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4563, allocations: 64 / 0.6685 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.267e-05/0.4564, allocations: 165.6 kB / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4564, allocations: 3.938 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.4568, allocations: 47.23 kB / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4568, allocations: 0 / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4568, allocations: 1.312 kB / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/0.4577, allocations: 1.407 MB / 0.6701 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4578, allocations: 5.406 kB / 0.6701 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.4579, allocations: 82.72 kB / 0.6702 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.4579, allocations: 81.06 kB / 0.6702 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.4579, allocations: 5.188 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.4579, allocations: 1.438 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.458, allocations: 1.406 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.458, allocations: 0 / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.458, allocations: 80.73 kB / 0.6703 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.458, allocations: 0 / 0.6703 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001916/0.4582, allocations: 6.719 kB / 0.6703 GB, free: 1.75 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.0001731/0.4584, allocations: 105.2 kB / 0.6704 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.4589, allocations: 61.23 kB / 0.6705 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4589, allocations: 0 / 0.6705 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.4592, allocations: 43.34 kB / 0.6705 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.4593, allocations: 1.594 kB / 0.6705 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.4597, allocations: 95.41 kB / 0.6706 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.4598, allocations: 0.6755 MB / 0.6713 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.4599, allocations: 6.5 kB / 0.6713 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.4599, allocations: 8.875 kB / 0.6713 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4599, allocations: 0 / 0.6713 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of Templates: time 0.002445/0.4624, allocations: 420.5 kB / 0.6717 GB, free: 0.5742 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)