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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002699, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002642, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9517/0.9517, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0937/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8059/0.8059, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3119/1.118, allocations: 49.14 MB / 448.6 MB, free: 5.91 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 4.859 kB / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.834e-06/1.09e-05, allocations: 2.312 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002068/0.002078, allocations: 1.548 MB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.002234, allocations: 101 kB / 451.6 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.002262, allocations: 0 / 451.6 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.002283, allocations: 4.844 kB / 451.6 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.298e-05/0.002306, allocations: 2.406 kB / 451.6 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.756e-05/0.002383, allocations: 16.77 kB / 451.6 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.002459, allocations: 29.55 kB / 451.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.002537, allocations: 5.469 kB / 451.7 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.002616, allocations: 21.5 kB / 451.7 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.00266, allocations: 9.625 kB / 451.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.002677, allocations: 7.938 kB / 451.7 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.006759, allocations: 16.58 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.006776, allocations: 6.531 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.006791, allocations: 5.094 kB / 451.7 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.00689, allocations: 27.2 kB / 451.8 MB, free: 2.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.0069, allocations: 0 / 451.8 MB, free: 2.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.0069, allocations: 0 / 451.8 MB, free: 2.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.006909, allocations: 0.6562 kB / 451.8 MB, free: 2.832 MB / 426.7 MB 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.0003126/0.007222, allocations: 246.6 kB / 452 MB, free: 2.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.007251, allocations: 8.906 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.007401, allocations: 94.03 kB / 452.1 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.007481, allocations: 106.9 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.007491, allocations: 1.141 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.0075, allocations: 4.375 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.007603, allocations: 55.78 kB / 452.3 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.00761, allocations: 5.969 kB / 452.3 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.007616, allocations: 384 / 452.3 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007621, allocations: 384 / 452.3 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.007645, allocations: 7.938 kB / 452.3 MB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.00785, allocations: 153.5 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.007901, allocations: 27.17 kB / 452.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.007917, allocations: 9.547 kB / 452.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.007927, allocations: 1.312 kB / 452.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.007948, allocations: 34.5 kB / 452.5 MB, free: 1.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.007949, allocations: 0 / 452.5 MB, free: 1.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001047/0.008054, allocations: 43.02 kB / 452.5 MB, free: 1.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.00808, allocations: 55.84 kB / 452.6 MB, free: 1.875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.008136, allocations: 110.7 kB / 452.7 MB, free: 1.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.008148, allocations: 27.64 kB / 452.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.008178, allocations: 92.02 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.008192, allocations: 0.6562 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.008223, allocations: 13.72 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003128/0.008536, allocations: 314.8 kB / 453.1 MB, free: 1.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.008547, allocations: 4.594 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.008558, allocations: 8.969 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.008584, allocations: 12.84 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008586, allocations: 1.531 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.152e-05/0.008638, allocations: 39 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.008648, allocations: 4 kB / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.008651, allocations: 0 / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.008661, allocations: 0 / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.008723, allocations: 16.56 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.008726, allocations: 2.844 kB / 453.2 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.008751, allocations: 11.94 kB / 453.2 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.008755, allocations: 0.9844 kB / 453.2 MB, free: 1.191 MB / 426.7 MB 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 4.873e-05/0.008803, allocations: 109.8 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.008822, allocations: 4 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.008845, allocations: 3.625 kB / 453.4 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008847, allocations: 0.6562 kB / 453.4 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.008849, allocations: 5.031 kB / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008852, allocations: 0 / 453.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.008953, allocations: 78.47 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.008953, allocations: 0 / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.008983, allocations: 13.56 kB / 453.5 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.008989, allocations: 4 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.00899, allocations: 0.625 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.008994, allocations: 0 / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.008995, allocations: 0.625 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.008998, allocations: 5.75 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.528e-05/0.009073, allocations: 136.2 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.009082, allocations: 0.625 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.009131, allocations: 4.625 kB / 453.6 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.009156, allocations: 7.922 kB / 453.6 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.009158, allocations: 1.719 kB / 453.6 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.009171, allocations: 13.39 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009171, allocations: 4 kB / 453.6 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000168/0.009339, allocations: 8.812 kB / 453.6 MB, free: 0.7578 MB / 426.7 MB 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 6.985e-05/0.009409, allocations: 78.19 kB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.53e-05/0.009474, allocations: 13.62 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.002023/0.0115, allocations: 0 / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/0.01155, allocations: 10.3 kB / 453.7 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01173, allocations: 37.69 kB / 453.8 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.0121, allocations: 119.3 kB / 453.9 MB, free: 480 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.01214, allocations: 63.2 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.01216, allocations: 1.219 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.01221, allocations: 52.48 kB / 454 MB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01221, allocations: 3.938 kB / 454 MB, free: 340 kB / 426.7 MB Notification: Performance of Templates: time 0.002354/0.01457, allocations: 0.5729 MB / 454.6 MB, free: 15.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.568478913977742]