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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001195/0.001195, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7261/0.7261, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.17 kB / 0.5862 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002244/0.1257, allocations: 1.419 MB / 0.6666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002336/0.126, allocations: 96.62 kB / 0.6667 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.126, allocations: 8 kB / 0.6667 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.1261, allocations: 7.875 kB / 0.6668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.1261, allocations: 3.938 kB / 0.6668 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1263, allocations: 11.98 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.1263, allocations: 27.92 kB / 0.6668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.1264, allocations: 0 / 0.6668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.1265, allocations: 15.92 kB / 0.6668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.1265, allocations: 11.94 kB / 0.6668 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1265, allocations: 4 kB / 0.6668 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.1266, allocations: 23.98 kB / 0.6668 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1266, allocations: 7.969 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1266, allocations: 11.94 kB / 0.6669 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.915e-05/0.1267, allocations: 31.89 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1267, allocations: 0 / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1267, allocations: 0 / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1268, allocations: 0 / 0.6669 GB, free: 4.098 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.0004063/0.1272, allocations: 347.3 kB / 0.6672 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1272, allocations: 9.109 kB / 0.6672 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1274, allocations: 16.92 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1275, allocations: 168.3 kB / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1275, allocations: 384 / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1275, allocations: 384 / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1277, allocations: 62.22 kB / 0.6675 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1277, allocations: 192 / 0.6675 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1277, allocations: 3.938 kB / 0.6675 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1277, allocations: 0 / 0.6675 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1279, allocations: 51.95 kB / 0.6675 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1283, allocations: 264.8 kB / 0.6678 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1285, allocations: 50.55 kB / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1286, allocations: 36.83 kB / 0.6679 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1286, allocations: 0 / 0.6679 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1287, allocations: 34.56 kB / 0.6679 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1287, allocations: 0 / 0.6679 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003892/0.1291, allocations: 105.7 kB / 0.668 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1291, allocations: 51.41 kB / 0.668 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.1292, allocations: 113.8 kB / 0.6682 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1292, allocations: 25.7 kB / 0.6682 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.1293, allocations: 92.12 kB / 0.6683 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1293, allocations: 7.844 kB / 0.6683 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1293, allocations: 13.72 kB / 0.6683 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1294, allocations: 318.8 kB / 0.6686 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1295, allocations: 24.02 kB / 0.6686 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.1296, allocations: 23.97 kB / 0.6686 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1298, allocations: 52.75 kB / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1298, allocations: 0 / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.1301, allocations: 89.58 kB / 0.6688 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1301, allocations: 8 kB / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1301, allocations: 0 / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1301, allocations: 0 / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.1302, allocations: 11.98 kB / 0.6688 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1302, allocations: 0 / 0.6688 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1303, allocations: 7.984 kB / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1303, allocations: 4.031 kB / 0.6688 GB, free: 1.918 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.1304, allocations: 117.8 kB / 0.6689 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1304, allocations: 3.906 kB / 0.6689 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.1304, allocations: 11.52 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1304, allocations: 0 / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1304, allocations: 0 / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1304, allocations: 0 / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1306, allocations: 169.6 kB / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1306, allocations: 0 / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.1307, allocations: 11.98 kB / 0.6691 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1307, allocations: 4 kB / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.1307, allocations: 0 / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1307, allocations: 0 / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1307, allocations: 3.984 kB / 0.6691 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.131, allocations: 179.4 kB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.131, allocations: 77.11 kB / 0.6694 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1311, allocations: 7.984 kB / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1312, allocations: 4 kB / 0.6694 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1313, allocations: 7.984 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1313, allocations: 3.938 kB / 0.6694 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.1313, allocations: 87.53 kB / 0.6695 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 0.6695 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002024/0.1315, allocations: 4 kB / 0.6695 GB, free: 1.145 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.578e-05/0.1316, allocations: 100.6 kB / 0.6696 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1319, allocations: 59.88 kB / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1319, allocations: 0 / 0.6696 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.132, allocations: 23.98 kB / 0.6696 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1322, allocations: 13.92 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1325, allocations: 155.1 kB / 0.6698 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1327, allocations: 0.6768 MB / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1328, allocations: 7.438 kB / 0.6705 GB, free: 48 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1328, allocations: 7.938 kB / 0.6705 GB, free: 40 kB / 0.4981 GB Notification: Performance of Templates: time 0.001608/0.1344, allocations: 0.629 MB / 0.6711 GB, free: 15.41 MB / 0.5137 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)