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.0009319/0.0009319, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.001306/0.001306, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8247/0.8247, allocations: 154.9 MB / 415.1 MB, free: 212 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.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 2.264e-06/2.264e-06, allocations: 0 / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.307e-05, allocations: 8.531 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01264/0.01266, allocations: 15.02 MB / 495.4 MB, free: 7.449 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.03153, allocations: 12.84 MB / 0.4964 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/0.03586, allocations: 146.9 kB / 0.4965 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.03897, allocations: 0.7346 MB / 0.4972 GB, free: 9.781 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009327/0.0483, allocations: 3.24 MB / 0.5004 GB, free: 6.57 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.05174, allocations: 1.315 MB / 0.5017 GB, free: 5.273 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00858/0.06032, allocations: 5.989 MB / 0.5075 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004583/0.0649, allocations: 2.938 MB / 0.5104 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/0.07156, allocations: 3.681 MB / 0.514 GB, free: 8.551 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.07542, allocations: 1.98 MB / 0.5159 GB, free: 6.578 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.07641, allocations: 368 kB / 0.5163 GB, free: 6.219 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.07757, allocations: 440.8 kB / 0.5167 GB, free: 5.789 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.0787, allocations: 1.293 MB / 0.518 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.08066, allocations: 1.384 MB / 0.5193 GB, free: 3.105 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003697/0.08436, allocations: 3.071 MB / 0.5223 GB, free: 24 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.08436, allocations: 0.9688 kB / 0.5223 GB, free: 24 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08437, allocations: 0 / 0.5223 GB, free: 24 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.946e-05/0.08445, allocations: 0 / 0.5223 GB, free: 24 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.005171/0.08962, allocations: 4.36 MB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.08965, allocations: 12.03 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.09534, allocations: 2.012 MB / 0.5285 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.09804, allocations: 1.844 MB / 0.5303 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.09831, allocations: 462.3 kB / 0.5308 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.09866, allocations: 248.3 kB / 0.531 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.1024, allocations: 3.241 MB / 0.5342 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.1024, allocations: 4.656 kB / 0.5342 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.1026, allocations: 99.98 kB / 0.5343 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.1028, allocations: 169.3 kB / 0.5345 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.1046, allocations: 0.9839 MB / 0.5354 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008553/0.1131, allocations: 5.748 MB / 0.541 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.1157, allocations: 1.622 MB / 0.5426 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.1162, allocations: 387.6 kB / 0.543 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.1163, allocations: 29.3 kB / 0.543 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.1173, allocations: 1.531 MB / 0.5445 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 3.447e-06/0.1173, allocations: 0 / 0.5445 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=163): time 0.00639/0.1237, allocations: 3.336 MB / 0.5478 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.1239, allocations: 495.9 kB / 0.5482 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.1255, allocations: 1.691 MB / 0.5499 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.1256, allocations: 65.7 kB / 0.5499 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.1262, allocations: 1.039 MB / 0.551 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.1266, allocations: 0.5615 MB / 0.5515 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.1269, allocations: 295.3 kB / 0.5518 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.127, allocations: 305.1 kB / 0.5521 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.1275, allocations: 408.4 kB / 0.5525 GB, free: 288 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.1282, allocations: 1.065 MB / 0.5535 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1292, allocations: 1.031 MB / 0.5545 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.1292, allocations: 0 / 0.5545 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003077/0.1323, allocations: 1.905 MB / 0.5564 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1323, allocations: 148.5 kB / 0.5565 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1324, allocations: 7.984 kB / 0.5565 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.1351, allocations: 1.231 MB / 0.5577 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.136, allocations: 335.5 kB / 0.5581 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/0.1434, allocations: 4.834 MB / 0.5628 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.1455, allocations: 254.8 kB / 0.563 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.1456, allocations: 55.97 kB / 0.5631 GB, free: 4.941 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.0008256/0.1464, allocations: 226.3 kB / 0.5633 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.1468, allocations: 227.7 kB / 0.5635 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.1471, allocations: 294.4 kB / 0.5638 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.1471, allocations: 16 kB / 0.5638 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1471, allocations: 0 / 0.5638 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1471, allocations: 7.969 kB / 0.5638 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.1487, allocations: 1.21 MB / 0.565 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1487, allocations: 3.984 kB / 0.565 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.1494, allocations: 239.6 kB / 0.5652 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.1521, allocations: 1.187 MB / 0.5664 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.1522, allocations: 39.95 kB / 0.5664 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007266/0.1595, allocations: 4.658 MB / 0.571 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1595, allocations: 0 / 0.571 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.1621, allocations: 1.534 MB / 0.5725 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.1627, allocations: 373.7 kB / 0.5728 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.1629, allocations: 35.94 kB / 0.5729 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.1637, allocations: 147.8 kB / 0.573 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.1641, allocations: 221.6 kB / 0.5732 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/0.1641, allocations: 39.97 kB / 0.5732 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007161/0.1649, allocations: 0.8961 MB / 0.5741 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1649, allocations: 0 / 0.5741 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001658/0.1665, allocations: 0.9669 MB / 0.5751 GB, free: 8.465 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.0002026/0.1667, allocations: 128.3 kB / 0.5752 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004116/0.1708, allocations: 2.25 MB / 0.5774 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.998e-05/0.1709, allocations: 25.88 kB / 0.5774 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.1736, allocations: 1.419 MB / 0.5788 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.1758, allocations: 1.036 MB / 0.5798 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.1828, allocations: 4.878 MB / 0.5846 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.1834, allocations: 0.6577 MB / 0.5852 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001401/0.1848, allocations: 340.5 kB / 0.5855 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.1865, allocations: 0.8113 MB / 0.5863 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of SimCode: time 1.694e-06/0.1865, allocations: 0 / 0.5863 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.06961/0.2562, allocations: 58.2 MB / 0.6432 GB, free: 3.742 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.291203448083252]