Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7793/0.7793, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008478, allocations: 98.81 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.914e-05, allocations: 8 kB / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5741/0.5741, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.7335, allocations: 110.6 MB / 0.7418 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.7337, allocations: 71.95 kB / 0.7419 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002192/0.736, allocations: 0.7797 MB / 0.7426 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.973e-06/0.736, allocations: 0 / 0.7426 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.736, allocations: 0 / 0.7426 GB, free: 11.39 MB / 0.5261 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.0003569/0.7363, allocations: 336.2 kB / 0.743 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7364, allocations: 8.031 kB / 0.743 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7366, allocations: 19.89 kB / 0.743 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.7367, allocations: 171 kB / 0.7431 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.7367, allocations: 4 kB / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.7367, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.306e-05/0.7368, allocations: 15.98 kB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.172e-05/0.7369, allocations: 45.69 kB / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7369, allocations: 3.938 kB / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.737, allocations: 0 / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.737, allocations: 0 / 0.7432 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.7374, allocations: 256.8 kB / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.7375, allocations: 34.58 kB / 0.7435 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.7375, allocations: 8.922 kB / 0.7435 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.7375, allocations: 4 kB / 0.7435 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.7376, allocations: 30.56 kB / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.7376, allocations: 0 / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.7377, allocations: 53.53 kB / 0.7436 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.7378, allocations: 51.41 kB / 0.7436 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.7379, allocations: 105 kB / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7379, allocations: 25.7 kB / 0.7438 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.738, allocations: 84.14 kB / 0.7438 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.738, allocations: 7.844 kB / 0.7438 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.738, allocations: 0 / 0.7438 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7381, allocations: 322.8 kB / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.7381, allocations: 11.94 kB / 0.7442 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.7382, allocations: 8 kB / 0.7442 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.7382, allocations: 8.062 kB / 0.7442 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7382, allocations: 0 / 0.7442 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.151e-05/0.7383, allocations: 49.69 kB / 0.7442 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7383, allocations: 4 kB / 0.7442 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7383, allocations: 0 / 0.7442 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.7384, allocations: 4 kB / 0.7442 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.7385, allocations: 15.92 kB / 0.7442 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7385, allocations: 0 / 0.7442 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.7386, allocations: 12.03 kB / 0.7443 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.7386, allocations: 11.92 kB / 0.7443 GB, free: 9.52 MB / 0.5261 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 () * 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 7.648e-05/0.7387, allocations: 104.9 kB / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.7387, allocations: 0 / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.7387, allocations: 7.969 kB / 0.7444 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.7387, allocations: 4 kB / 0.7444 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7388, allocations: 0 / 0.7444 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7388, allocations: 0 / 0.7444 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.7389, allocations: 142.2 kB / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7389, allocations: 0 / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.364e-05/0.739, allocations: 23.92 kB / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.739, allocations: 0 / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.739, allocations: 0 / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.739, allocations: 0 / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7391, allocations: 4 kB / 0.7445 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.7392, allocations: 151.4 kB / 0.7447 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.7392, allocations: 77.11 kB / 0.7448 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.7393, allocations: 3.953 kB / 0.7448 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.7394, allocations: 11.98 kB / 0.7448 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.7394, allocations: 4 kB / 0.7448 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.7394, allocations: 0 / 0.7448 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.7395, allocations: 87.27 kB / 0.7449 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7395, allocations: 4.031 kB / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002031/0.7397, allocations: 4 kB / 0.7449 GB, free: 8.828 MB / 0.5261 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 () * 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.0001235/0.7398, allocations: 95.25 kB / 0.745 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.39e-05/0.7399, allocations: 20 kB / 0.745 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7399, allocations: 3.938 kB / 0.745 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.7399, allocations: 4 kB / 0.745 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.7401, allocations: 8 kB / 0.745 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.7404, allocations: 80.03 kB / 0.7451 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.7407, allocations: 0.6807 MB / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.7407, allocations: 0 / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.7408, allocations: 7.438 kB / 0.7457 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.7408, allocations: 0 / 0.7457 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.002236/0.743, allocations: 474.2 kB / 0.7462 GB, free: 7.41 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)