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.001179/0.00118, allocations: 106.6 kB / 16.41 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.001146/0.001146, allocations: 191 kB / 17.34 MB, free: 5.762 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.179/1.179, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7161/0.7161, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 64.41 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1186, allocations: 80.94 MB / 0.6654 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00139/0.1201, allocations: 0.5642 MB / 0.6659 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.1203, allocations: 98.33 kB / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1203, allocations: 0 / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1204, allocations: 0 / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.1204, allocations: 0 / 0.666 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1206, allocations: 19.91 kB / 0.666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.145e-05/0.1207, allocations: 15.92 kB / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1207, allocations: 0 / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.1207, allocations: 4 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.1208, allocations: 0 / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1208, allocations: 4 kB / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.1209, allocations: 15.98 kB / 0.6661 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1209, allocations: 0 / 0.6661 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.1209, allocations: 11.88 kB / 0.6661 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.958e-05/0.121, allocations: 19.95 kB / 0.6661 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.121, allocations: 0 / 0.6661 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.121, allocations: 0 / 0.6661 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.121, allocations: 0 / 0.6661 GB, free: 5.023 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.0002836/0.1213, allocations: 319.8 kB / 0.6664 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1213, allocations: 9.109 kB / 0.6664 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1215, allocations: 16.92 kB / 0.6664 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.1215, allocations: 168.4 kB / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1216, allocations: 384 / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.1216, allocations: 384 / 0.6666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1217, allocations: 38.23 kB / 0.6666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1217, allocations: 4.125 kB / 0.6666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1217, allocations: 11.94 kB / 0.6666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1217, allocations: 0 / 0.6666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.1218, allocations: 11.98 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1219, allocations: 153.7 kB / 0.6668 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1221, allocations: 38.56 kB / 0.6668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.1221, allocations: 16.91 kB / 0.6668 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1221, allocations: 0 / 0.6668 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1222, allocations: 42.5 kB / 0.6669 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1222, allocations: 7.938 kB / 0.6669 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/0.1224, allocations: 53.61 kB / 0.6669 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.1224, allocations: 55.41 kB / 0.667 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.182e-05/0.1224, allocations: 89.86 kB / 0.6671 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1225, allocations: 25.7 kB / 0.6671 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.1225, allocations: 80.14 kB / 0.6672 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1225, allocations: 11.84 kB / 0.6672 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1225, allocations: 17.72 kB / 0.6672 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.1226, allocations: 318.8 kB / 0.6675 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.1227, allocations: 4 kB / 0.6675 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.1227, allocations: 7.984 kB / 0.6675 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.1228, allocations: 20.8 kB / 0.6675 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1228, allocations: 4 kB / 0.6675 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.693e-05/0.1229, allocations: 49.67 kB / 0.6676 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1229, allocations: 12 kB / 0.6676 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1229, allocations: 0 / 0.6676 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1229, allocations: 3.938 kB / 0.6676 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.1233, allocations: 39.94 kB / 0.6676 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.1244, allocations: 1.409 MB / 0.669 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.1244, allocations: 0 / 0.669 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1244, allocations: 0 / 0.669 GB, free: 1.648 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.292e-05/0.1245, allocations: 125.7 kB / 0.6691 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.1245, allocations: 3.906 kB / 0.6691 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.1245, allocations: 7.594 kB / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1245, allocations: 0 / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1245, allocations: 0 / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1245, allocations: 0 / 0.6692 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.1246, allocations: 157.6 kB / 0.6693 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1246, allocations: 0 / 0.6693 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.1249, allocations: 47.94 kB / 0.6693 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.125, allocations: 0 / 0.6693 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.125, allocations: 0 / 0.6693 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.126, allocations: 1.409 MB / 0.6707 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.126, allocations: 0 / 0.6707 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1261, allocations: 85.2 kB / 0.6708 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.1261, allocations: 81.05 kB / 0.6709 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-06/0.1261, allocations: 3.938 kB / 0.6709 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.1262, allocations: 0 / 0.6709 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1262, allocations: 7.984 kB / 0.6709 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1262, allocations: 0 / 0.6709 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.1262, allocations: 79.28 kB / 0.671 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 0.671 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001842/0.1264, allocations: 4 kB / 0.671 GB, free: 15.41 MB / 0.5137 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 9.782e-05/0.1265, allocations: 100.6 kB / 0.6711 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.1269, allocations: 67.84 kB / 0.6711 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1269, allocations: 0 / 0.6711 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.1273, allocations: 55.92 kB / 0.6712 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1274, allocations: 4 kB / 0.6712 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.1277, allocations: 122.9 kB / 0.6713 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.1279, allocations: 0.669 MB / 0.672 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.1279, allocations: 11.44 kB / 0.672 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1279, allocations: 0 / 0.672 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.001682/0.1296, allocations: 0.6012 MB / 0.6726 GB, free: 13.72 MB / 0.5137 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)