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.001332/0.001332, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001559/0.001559, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 1.123/1.123, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8047/0.8047, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 1.403e-06/1.403e-06, allocations: 3.938 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.812e-05, allocations: 2.312 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002744/0.002763, allocations: 1.536 MB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.003062, allocations: 98.22 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.003098, allocations: 5.094 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.003127, allocations: 5.25 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.003179, allocations: 1.203 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.003353, allocations: 16.64 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.003433, allocations: 22.06 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.003515, allocations: 11.94 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.003579, allocations: 17.28 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.003618, allocations: 10.25 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.003635, allocations: 4 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.003739, allocations: 15.98 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.003757, allocations: 5.547 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.003772, allocations: 5.531 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.003871, allocations: 33.78 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003873, allocations: 0.875 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003874, allocations: 0.5938 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003878, allocations: 0 / 482.2 MB, free: 4.766 MB / 442.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.0002496/0.004128, allocations: 246.5 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.004158, allocations: 8.031 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.004269, allocations: 12.92 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.013e-05/0.004339, allocations: 106.6 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.004348, allocations: 1.141 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.004353, allocations: 1.812 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.004444, allocations: 62.94 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.00445, allocations: 4.125 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004456, allocations: 1.781 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.00446, allocations: 384 / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.004484, allocations: 11.92 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.004681, allocations: 158.3 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.004724, allocations: 23.55 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.004739, allocations: 12.92 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.004748, allocations: 0.6875 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004768, allocations: 35.38 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004768, allocations: 0.5469 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.695e-05/0.004865, allocations: 38.81 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.004894, allocations: 59.34 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.004947, allocations: 106.7 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.004957, allocations: 26.27 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.004982, allocations: 85.31 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.004997, allocations: 7.891 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005023, allocations: 18.34 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.005098, allocations: 318.8 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.005108, allocations: 4.625 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.005118, allocations: 5.766 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.005141, allocations: 13.48 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005142, allocations: 0.7188 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.176e-05/0.005184, allocations: 37.69 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.005194, allocations: 4.531 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005197, allocations: 1.062 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.005206, allocations: 0 / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.00526, allocations: 12.53 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.005263, allocations: 4.875 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.00528, allocations: 0 / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.005285, allocations: 4.906 kB / 483.6 MB, free: 3.223 MB / 442.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.99e-05/0.005335, allocations: 110.5 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.005349, allocations: 0.5312 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.005374, allocations: 20.69 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005376, allocations: 0 / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.005378, allocations: 3.938 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005381, allocations: 0.5156 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.981e-05/0.005461, allocations: 70.14 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.005463, allocations: 5.594 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.005485, allocations: 9.828 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005486, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005491, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005491, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005492, allocations: 4 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.458e-05/0.005566, allocations: 134.8 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.005571, allocations: 0 / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-06/0.005578, allocations: 4 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.005612, allocations: 3.984 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.005639, allocations: 13.66 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.005641, allocations: 0 / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.125e-05/0.005652, allocations: 13.86 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005652, allocations: 0 / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.005764, allocations: 4 kB / 484 MB, free: 2.801 MB / 442.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.561e-05/0.005829, allocations: 82.97 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.005881, allocations: 8.859 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.005883, allocations: 0 / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.005898, allocations: 9.734 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.006021, allocations: 13.06 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.006239, allocations: 124.1 kB / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.053e-05/0.006269, allocations: 55.36 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.006287, allocations: 4.703 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.006329, allocations: 56.72 kB / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006329, allocations: 0 / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of Templates: time 0.001804/0.008133, allocations: 0.638 MB / 485 MB, free: 1.805 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6544652269221842]