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: translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001688/0.001688, allocations: 108.8 kB / 16.41 MB, free: 6.441 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.001744/0.001744, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.03 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1438, allocations: 80.2 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001492/0.1453, allocations: 0.5907 MB / 0.6609 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.1456, allocations: 90.34 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.1456, allocations: 0 / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1457, allocations: 3.938 kB / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.1457, allocations: 0 / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1459, allocations: 27.91 kB / 0.6611 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.1459, allocations: 4 kB / 0.6611 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.146, allocations: 3.984 kB / 0.6611 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.769e-05/0.146, allocations: 0 / 0.6611 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.1461, allocations: 7.938 kB / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1461, allocations: 0 / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.1462, allocations: 15.98 kB / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.1462, allocations: 0 / 0.6611 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.1462, allocations: 11.92 kB / 0.6611 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.24e-05/0.1463, allocations: 15.92 kB / 0.6611 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1463, allocations: 4 kB / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1463, allocations: 0 / 0.6611 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1463, allocations: 0 / 0.6611 GB, free: 9.477 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.0003275/0.1466, allocations: 323.9 kB / 0.6614 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1467, allocations: 8.031 kB / 0.6614 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1468, allocations: 8.922 kB / 0.6614 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.1469, allocations: 164.4 kB / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1469, allocations: 384 / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.147, allocations: 4.375 kB / 0.6616 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1471, allocations: 42.25 kB / 0.6616 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1471, allocations: 192 / 0.6616 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1471, allocations: 3.938 kB / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1471, allocations: 0 / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.1472, allocations: 19.91 kB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1473, allocations: 153.7 kB / 0.6618 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1475, allocations: 38.56 kB / 0.6619 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1475, allocations: 20.91 kB / 0.6619 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1476, allocations: 0 / 0.6619 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1476, allocations: 38.5 kB / 0.6619 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1476, allocations: 0 / 0.6619 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001969/0.1478, allocations: 61.55 kB / 0.662 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1478, allocations: 59.41 kB / 0.662 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.947e-05/0.1479, allocations: 89.86 kB / 0.6621 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1479, allocations: 25.7 kB / 0.6621 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.1479, allocations: 80.14 kB / 0.6622 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.148, allocations: 11.84 kB / 0.6622 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.148, allocations: 13.72 kB / 0.6622 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1481, allocations: 314.8 kB / 0.6625 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.1482, allocations: 11.98 kB / 0.6625 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.1482, allocations: 8 kB / 0.6626 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.1483, allocations: 20.84 kB / 0.6626 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1483, allocations: 0 / 0.6626 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001036/0.1484, allocations: 57.52 kB / 0.6626 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1484, allocations: 4 kB / 0.6626 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1484, allocations: 0 / 0.6626 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1484, allocations: 7.938 kB / 0.6626 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.1488, allocations: 47.94 kB / 0.6627 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.15, allocations: 1.394 MB / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.1501, allocations: 12 kB / 0.6641 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1501, allocations: 0 / 0.6641 GB, free: 6.098 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.234e-05/0.1502, allocations: 110.7 kB / 0.6642 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.1502, allocations: 8.266 kB / 0.6642 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.1502, allocations: 11.48 kB / 0.6642 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1502, allocations: 3.984 kB / 0.6642 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.1502, allocations: 0 / 0.6642 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1502, allocations: 0 / 0.6642 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.544e-05/0.1503, allocations: 157.6 kB / 0.6643 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1503, allocations: 0 / 0.6643 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.1507, allocations: 47.92 kB / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1507, allocations: 0 / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1507, allocations: 0 / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.1518, allocations: 1.412 MB / 0.6658 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1518, allocations: 3.984 kB / 0.6658 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.152, allocations: 77.17 kB / 0.6658 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.152, allocations: 89.05 kB / 0.6659 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.152, allocations: 3.938 kB / 0.6659 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.709e-05/0.1521, allocations: 0 / 0.6659 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1521, allocations: 0 / 0.6659 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1521, allocations: 7.984 kB / 0.6659 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.37e-05/0.1521, allocations: 75.28 kB / 0.666 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1521, allocations: 0 / 0.666 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001895/0.1523, allocations: 8 kB / 0.666 GB, free: 3.859 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.0001092/0.1524, allocations: 99.25 kB / 0.6661 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.1529, allocations: 55.92 kB / 0.6662 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1529, allocations: 0 / 0.6662 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.1532, allocations: 63.84 kB / 0.6662 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1534, allocations: 0 / 0.6662 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.1537, allocations: 126.5 kB / 0.6663 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1539, allocations: 0.6768 MB / 0.667 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.154, allocations: 7.438 kB / 0.667 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.154, allocations: 0 / 0.667 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.001971/0.1559, allocations: 0.5993 MB / 0.6676 GB, free: 2.168 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)