Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007706/0.0007706, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009121/0.0009121, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9866/0.9866, allocations: 177.1 MB / 203.4 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8756/0.8756, allocations: 154.6 MB / 414.5 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.989e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01706/0.01708, allocations: 15.35 MB / 0.5353 GB, free: 2.781 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.03547, allocations: 12.78 MB / 0.5478 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.03741, allocations: 150.8 kB / 0.548 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.03922, allocations: 0.7208 MB / 0.5487 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.046, allocations: 3.223 MB / 0.5518 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.04867, allocations: 1.321 MB / 0.5531 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005634/0.0543, allocations: 6.012 MB / 0.559 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.05761, allocations: 2.841 MB / 0.5617 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.06139, allocations: 3.475 MB / 0.5651 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.06422, allocations: 2.132 MB / 0.5672 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.06468, allocations: 371.9 kB / 0.5676 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.06541, allocations: 435.8 kB / 0.568 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008046/0.06621, allocations: 1.301 MB / 0.5693 GB, free: 0 / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.06735, allocations: 1.383 MB / 0.5706 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.0701, allocations: 3.095 MB / 0.5736 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.07011, allocations: 0.6562 kB / 0.5736 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.232e-06/0.07011, allocations: 0 / 0.5736 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.457e-05/0.07014, allocations: 0.5 kB / 0.5736 GB, free: 11.51 MB / 0.5417 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.004869/0.07501, allocations: 4.638 MB / 0.5782 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.07505, allocations: 9.031 kB / 0.5782 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006748/0.0818, allocations: 3.068 MB / 0.5812 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.08416, allocations: 2.161 MB / 0.5833 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.08441, allocations: 466.3 kB / 0.5837 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.08472, allocations: 252.3 kB / 0.584 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/0.08935, allocations: 4.065 MB / 0.5879 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.08938, allocations: 3.938 kB / 0.5879 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.0896, allocations: 108 kB / 0.588 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.08973, allocations: 168.8 kB / 0.5882 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.09215, allocations: 1.551 MB / 0.5897 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009544/0.1017, allocations: 7.964 MB / 0.5975 GB, free: 2.289 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.1046, allocations: 1.922 MB / 0.5994 GB, free: 364 kB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.1054, allocations: 0.5375 MB / 0.5999 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1055, allocations: 29.31 kB / 0.5999 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.1071, allocations: 1.666 MB / 0.6016 GB, free: 13.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=163): time 2.996e-06/0.1072, allocations: 4 kB / 0.6016 GB, free: 13.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=250): time 0.01485/0.122, allocations: 7.515 MB / 0.6089 GB, free: 6.332 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.1222, allocations: 0.4889 MB / 0.6094 GB, free: 5.73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.1239, allocations: 1.875 MB / 0.6112 GB, free: 3.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.124, allocations: 81.69 kB / 0.6113 GB, free: 3.754 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/0.1248, allocations: 1.519 MB / 0.6128 GB, free: 2.223 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.1253, allocations: 0.8637 MB / 0.6136 GB, free: 1.352 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.1259, allocations: 406.7 kB / 0.614 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.126, allocations: 480.7 kB / 0.6145 GB, free: 484 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.1274, allocations: 0.7781 MB / 0.6152 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.1287, allocations: 1.556 MB / 0.6167 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.1311, allocations: 1.828 MB / 0.6185 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1311, allocations: 4 kB / 0.6185 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006315/0.1374, allocations: 3.764 MB / 0.6222 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.1375, allocations: 148.4 kB / 0.6223 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1375, allocations: 8.344 kB / 0.6224 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008057/0.1455, allocations: 2.726 MB / 0.625 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.1472, allocations: 387.5 kB / 0.6254 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.1669, allocations: 11.35 MB / 0.6365 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.1688, allocations: 215.8 kB / 0.6367 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.169, allocations: 87.97 kB / 0.6368 GB, free: 8.836 MB / 0.6042 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.001123/0.1701, allocations: 290.2 kB / 0.637 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004785/0.1706, allocations: 402 kB / 0.6374 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.1709, allocations: 357.2 kB / 0.6378 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.1709, allocations: 27.94 kB / 0.6378 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/0.1709, allocations: 12 kB / 0.6378 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.1709, allocations: 11.95 kB / 0.6378 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.1739, allocations: 2.098 MB / 0.6399 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.1739, allocations: 0 / 0.6399 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.1748, allocations: 295.6 kB / 0.6401 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/0.181, allocations: 2.68 MB / 0.6428 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.1811, allocations: 47.97 kB / 0.6428 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.1978, allocations: 11.12 MB / 0.6537 GB, free: 7.191 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1978, allocations: 0 / 0.6537 GB, free: 7.191 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006137/0.2039, allocations: 3.354 MB / 0.6569 GB, free: 3.805 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/0.2048, allocations: 0.5914 MB / 0.6575 GB, free: 3.211 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.2051, allocations: 44 kB / 0.6576 GB, free: 3.168 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.2063, allocations: 199.8 kB / 0.6577 GB, free: 2.973 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000714/0.207, allocations: 366.5 kB / 0.6581 GB, free: 2.617 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.2071, allocations: 67.97 kB / 0.6582 GB, free: 2.551 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001142/0.2083, allocations: 1.129 MB / 0.6593 GB, free: 1.414 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2083, allocations: 4 kB / 0.6593 GB, free: 1.41 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.001933/0.2102, allocations: 1.035 MB / 0.6603 GB, free: 384 kB / 0.6199 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.000276/0.2105, allocations: 163.1 kB / 0.6604 GB, free: 208 kB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.008216/0.2187, allocations: 4.18 MB / 0.6645 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2187, allocations: 7.938 kB / 0.6645 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00686/0.2255, allocations: 2.952 MB / 0.6674 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.2278, allocations: 1.092 MB / 0.6685 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/0.2355, allocations: 5.668 MB / 0.674 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.2363, allocations: 0.7836 MB / 0.6748 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001097/0.2374, allocations: 399.5 kB / 0.6752 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.2379, allocations: 172.5 kB / 0.6753 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.2379, allocations: 0 / 0.6753 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of Templates: time 0.2828/0.5206, allocations: 73.63 MB / 0.7472 GB, free: 126.6 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.100402436219156]