Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001114/0.001114, allocations: 80.88 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.0009595/0.0009595, allocations: 181 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7969/0.7969, allocations: 154.9 MB / 415.1 MB, free: 15.75 MB / 394.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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.239e-05, allocations: 2.312 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01182/0.01184, allocations: 14.98 MB / 495.4 MB, free: 7.504 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.02876, allocations: 12.84 MB / 0.4963 GB, free: 10.71 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003238/0.032, allocations: 146.9 kB / 0.4964 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.03432, allocations: 0.7293 MB / 0.4972 GB, free: 9.836 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008347/0.04267, allocations: 3.265 MB / 0.5003 GB, free: 6.602 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.04587, allocations: 1.308 MB / 0.5016 GB, free: 5.309 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007843/0.05371, allocations: 5.979 MB / 0.5075 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.05762, allocations: 2.951 MB / 0.5103 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006277/0.0639, allocations: 3.681 MB / 0.5139 GB, free: 8.582 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.06717, allocations: 1.981 MB / 0.5159 GB, free: 6.609 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009707/0.06814, allocations: 372 kB / 0.5162 GB, free: 6.246 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.06921, allocations: 435.8 kB / 0.5166 GB, free: 5.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.07022, allocations: 1.289 MB / 0.5179 GB, free: 4.527 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.07247, allocations: 1.376 MB / 0.5192 GB, free: 3.148 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.0762, allocations: 3.079 MB / 0.5222 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.0762, allocations: 1.25 kB / 0.5223 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0762, allocations: 0 / 0.5223 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001532/0.07636, allocations: 0 / 0.5223 GB, free: 60 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.005945/0.0823, allocations: 4.364 MB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.08234, allocations: 8.031 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/0.0876, allocations: 2.007 MB / 0.5285 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.09048, allocations: 1.835 MB / 0.5303 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.09075, allocations: 462.3 kB / 0.5307 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.09115, allocations: 258.7 kB / 0.531 GB, free: 7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/0.09489, allocations: 3.244 MB / 0.5341 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.09492, allocations: 6.516 kB / 0.5341 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.09514, allocations: 99.98 kB / 0.5342 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.09529, allocations: 175 kB / 0.5344 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.09671, allocations: 0.9769 MB / 0.5354 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008607/0.1053, allocations: 5.745 MB / 0.541 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.1077, allocations: 1.623 MB / 0.5425 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.1082, allocations: 375.7 kB / 0.5429 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.1083, allocations: 34.28 kB / 0.5429 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.1094, allocations: 1.538 MB / 0.5444 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 3.196e-06/0.1094, allocations: 0 / 0.5444 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of matching and sorting (n=163): time 0.00655/0.1159, allocations: 3.325 MB / 0.5477 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.1161, allocations: 499.8 kB / 0.5482 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.1176, allocations: 1.687 MB / 0.5498 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.1177, allocations: 69.69 kB / 0.5499 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/0.1184, allocations: 1.039 MB / 0.5509 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.1188, allocations: 0.5537 MB / 0.5514 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.1192, allocations: 307.3 kB / 0.5517 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.1193, allocations: 301.1 kB / 0.552 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.1198, allocations: 409.6 kB / 0.5524 GB, free: 336 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/0.1205, allocations: 1.065 MB / 0.5534 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1217, allocations: 1.032 MB / 0.5544 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1217, allocations: 4 kB / 0.5545 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002939/0.1247, allocations: 1.905 MB / 0.5563 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.1247, allocations: 152.5 kB / 0.5565 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1247, allocations: 8 kB / 0.5565 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.1277, allocations: 1.219 MB / 0.5577 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.1285, allocations: 315.5 kB / 0.558 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.1359, allocations: 4.727 MB / 0.5626 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.1374, allocations: 258.8 kB / 0.5628 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.1375, allocations: 51.97 kB / 0.5629 GB, free: 5.117 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.000738/0.1382, allocations: 226.3 kB / 0.5631 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.1385, allocations: 223.8 kB / 0.5633 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1388, allocations: 302.3 kB / 0.5636 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.1388, allocations: 16 kB / 0.5636 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1388, allocations: 0 / 0.5636 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1388, allocations: 7.969 kB / 0.5636 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1403, allocations: 1.198 MB / 0.5648 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.1403, allocations: 4 kB / 0.5648 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.1409, allocations: 231.7 kB / 0.565 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.1435, allocations: 1.191 MB / 0.5662 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.1436, allocations: 35.97 kB / 0.5662 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008805/0.1524, allocations: 4.553 MB / 0.5706 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1524, allocations: 0 / 0.5706 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.1556, allocations: 1.534 MB / 0.5721 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/0.1563, allocations: 357.8 kB / 0.5725 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.1566, allocations: 39.92 kB / 0.5725 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.1576, allocations: 147.8 kB / 0.5727 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/0.1581, allocations: 229.5 kB / 0.5729 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.1582, allocations: 31.97 kB / 0.5729 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008514/0.159, allocations: 0.9 MB / 0.5738 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.159, allocations: 4 kB / 0.5738 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002052/0.1611, allocations: 0.9669 MB / 0.5747 GB, free: 8.766 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002433/0.1613, allocations: 128.3 kB / 0.5749 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004379/0.1657, allocations: 2.254 MB / 0.5771 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/0.1657, allocations: 24.5 kB / 0.5771 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.1691, allocations: 1.412 MB / 0.5785 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.1716, allocations: 1.048 MB / 0.5795 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.1793, allocations: 4.871 MB / 0.5843 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.18, allocations: 0.6577 MB / 0.5849 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001252/0.1812, allocations: 336.5 kB / 0.5852 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/0.1831, allocations: 0.8152 MB / 0.586 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.1831, allocations: 3.938 kB / 0.586 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.07153/0.2546, allocations: 58.2 MB / 0.6429 GB, free: 4.035 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1885537900961936]