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.000987/0.000987, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001863/0.001863, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.942/0.942, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8376/0.8376, allocations: 154.8 MB / 415.1 MB, free: 0.5039 MB / 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.114e-06/2.114e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.442e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02454/0.02457, allocations: 22.78 MB / 0.5428 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.04417, allocations: 17.85 MB / 0.5603 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.04646, allocations: 146.9 kB / 0.5604 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00524/0.0517, allocations: 4.289 MB / 0.5646 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.008253/0.05996, allocations: 3.696 MB / 0.5682 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.06244, allocations: 1.32 MB / 0.5695 GB, free: 200 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.006024/0.06847, allocations: 5.984 MB / 0.5753 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.0714, allocations: 2.845 MB / 0.5781 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.07572, allocations: 3.507 MB / 0.5815 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.0784, allocations: 2.127 MB / 0.5836 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.07885, allocations: 368 kB / 0.584 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.08077, allocations: 0.9675 MB / 0.5849 GB, free: 312 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.08155, allocations: 1.293 MB / 0.5862 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.08271, allocations: 1.392 MB / 0.5875 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.08563, allocations: 3.412 MB / 0.5909 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.08564, allocations: 0 / 0.5909 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.124e-06/0.08564, allocations: 0 / 0.5909 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.08567, allocations: 0 / 0.5909 GB, free: 10.19 MB / 0.5573 GB 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.005273/0.09094, allocations: 4.717 MB / 0.5955 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.09098, allocations: 8.031 kB / 0.5955 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/0.09764, allocations: 3.073 MB / 0.5985 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.1001, allocations: 2.161 MB / 0.6006 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.1004, allocations: 466.3 kB / 0.601 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.1007, allocations: 248.4 kB / 0.6013 GB, free: 15.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.1049, allocations: 4.065 MB / 0.6052 GB, free: 10.81 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.1049, allocations: 8 kB / 0.6053 GB, free: 10.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.1052, allocations: 99.98 kB / 0.6054 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004329/0.1056, allocations: 172.8 kB / 0.6055 GB, free: 10.54 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.108, allocations: 1.551 MB / 0.607 GB, free: 8.965 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008798/0.1168, allocations: 7.953 MB / 0.6148 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.1197, allocations: 1.919 MB / 0.6167 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.1204, allocations: 0.5414 MB / 0.6172 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.1205, allocations: 29.31 kB / 0.6172 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.1218, allocations: 1.676 MB / 0.6189 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 2.946e-06/0.1218, allocations: 0 / 0.6189 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.01444/0.1362, allocations: 7.51 MB / 0.6262 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004457/0.1367, allocations: 0.4889 MB / 0.6267 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.1382, allocations: 1.882 MB / 0.6285 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.1384, allocations: 77.7 kB / 0.6286 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/0.1392, allocations: 1.519 MB / 0.6301 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.1398, allocations: 0.8598 MB / 0.6309 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.1403, allocations: 406.7 kB / 0.6313 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.1404, allocations: 488.7 kB / 0.6318 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.1414, allocations: 0.782 MB / 0.6325 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.1431, allocations: 1.56 MB / 0.6341 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.1452, allocations: 1.824 MB / 0.6358 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1452, allocations: 0 / 0.6358 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006104/0.1513, allocations: 3.768 MB / 0.6395 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.1514, allocations: 156.4 kB / 0.6397 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.1514, allocations: 7.984 kB / 0.6397 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008542/0.16, allocations: 2.715 MB / 0.6423 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.1613, allocations: 391.4 kB / 0.6427 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/0.1828, allocations: 11.36 MB / 0.6538 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.1847, allocations: 219.7 kB / 0.654 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.1849, allocations: 87.97 kB / 0.6541 GB, free: 7.406 MB / 0.6198 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 (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.0008896/0.1858, allocations: 286.3 kB / 0.6544 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/0.1863, allocations: 398 kB / 0.6547 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.1868, allocations: 365.2 kB / 0.6551 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.1868, allocations: 31.94 kB / 0.6551 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.761e-05/0.1868, allocations: 8 kB / 0.6551 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.1868, allocations: 11.95 kB / 0.6551 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.1895, allocations: 2.09 MB / 0.6572 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.1895, allocations: 3.984 kB / 0.6572 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.1906, allocations: 303.5 kB / 0.6575 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008015/0.1986, allocations: 2.668 MB / 0.6601 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.1988, allocations: 51.97 kB / 0.6601 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/0.219, allocations: 11.11 MB / 0.671 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.219, allocations: 4 kB / 0.671 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.2247, allocations: 3.354 MB / 0.6742 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/0.2255, allocations: 0.5875 MB / 0.6748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.2258, allocations: 48 kB / 0.6749 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.2268, allocations: 199.8 kB / 0.6751 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006091/0.2275, allocations: 366.5 kB / 0.6754 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/0.2277, allocations: 67.97 kB / 0.6755 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.2479/0.4756, allocations: 1.126 MB / 0.6766 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4756, allocations: 0 / 0.6766 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003135/0.4787, allocations: 1.041 MB / 0.6776 GB, free: 182.3 MB / 0.6355 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.4792, allocations: 157.9 kB / 0.6777 GB, free: 182.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008329/0.4875, allocations: 4.192 MB / 0.6818 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4875, allocations: 0 / 0.6818 GB, free: 181.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006636/0.4941, allocations: 2.944 MB / 0.6847 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.4977, allocations: 1.098 MB / 0.6858 GB, free: 180.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/0.5061, allocations: 5.664 MB / 0.6913 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.5071, allocations: 0.7867 MB / 0.6921 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00168/0.5087, allocations: 398.2 kB / 0.6925 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.5092, allocations: 182 kB / 0.6926 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.465e-06/0.5092, allocations: 0 / 0.6926 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.07519/0.5844, allocations: 73.62 MB / 0.7645 GB, free: 133.7 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.044992457143962]