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.001192/0.001192, 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.001511/0.001511, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.789/0.789, allocations: 154.8 MB / 414.7 MB, free: 496 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 1.994e-06/1.994e-06, allocations: 0 / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.89e-05, allocations: 5.297 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02692/0.02695, allocations: 15.36 MB / 0.5356 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.04885, allocations: 12.79 MB / 0.5481 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/0.05304, allocations: 146.9 kB / 0.5482 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.05621, allocations: 0.7216 MB / 0.5489 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.06927, allocations: 3.232 MB / 0.5521 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.07377, allocations: 1.317 MB / 0.5534 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.08401, allocations: 6.015 MB / 0.5592 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004671/0.08868, allocations: 2.845 MB / 0.562 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00758/0.09626, allocations: 3.475 MB / 0.5654 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005099/0.1014, allocations: 2.122 MB / 0.5675 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.1029, allocations: 364 kB / 0.5678 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.1054, allocations: 451.7 kB / 0.5682 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.1077, allocations: 1.293 MB / 0.5695 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.004537/0.1122, allocations: 1.391 MB / 0.5709 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007199/0.1194, allocations: 3.088 MB / 0.5739 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.1194, allocations: 4 kB / 0.5739 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1194, allocations: 0 / 0.5739 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001932/0.1196, allocations: 0 / 0.5739 GB, free: 11.23 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.008592/0.1282, allocations: 4.635 MB / 0.5784 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1283, allocations: 12.03 kB / 0.5784 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007149/0.1354, allocations: 3.067 MB / 0.5814 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.1395, allocations: 2.165 MB / 0.5835 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.1398, allocations: 466.3 kB / 0.584 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.1403, allocations: 248.4 kB / 0.5842 GB, free: 476 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004975/0.1452, allocations: 4.065 MB / 0.5882 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.1453, allocations: 0 / 0.5882 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.1455, allocations: 108 kB / 0.5883 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.1457, allocations: 172.8 kB / 0.5885 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.1483, allocations: 1.551 MB / 0.59 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.1593, allocations: 7.957 MB / 0.5977 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.1625, allocations: 1.918 MB / 0.5996 GB, free: 96 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007822/0.1633, allocations: 0.5375 MB / 0.6001 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.77e-05/0.1634, allocations: 29.31 kB / 0.6002 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/0.1648, allocations: 1.672 MB / 0.6018 GB, free: 13.61 MB / 0.573 GB Notification: Performance of pre-optimization done (n=163): time 3.927e-06/0.1648, allocations: 0 / 0.6018 GB, free: 13.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=250): time 0.01544/0.1803, allocations: 7.523 MB / 0.6091 GB, free: 6.066 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.1804, allocations: 0.4928 MB / 0.6096 GB, free: 5.461 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.1825, allocations: 1.875 MB / 0.6115 GB, free: 3.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.1827, allocations: 81.69 kB / 0.6115 GB, free: 3.484 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009754/0.1837, allocations: 1.519 MB / 0.613 GB, free: 1.953 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005897/0.1843, allocations: 0.8559 MB / 0.6139 GB, free: 1.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.1848, allocations: 410.7 kB / 0.6142 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.185, allocations: 480.7 kB / 0.6147 GB, free: 212 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.1861, allocations: 0.7781 MB / 0.6155 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.1876, allocations: 1.556 MB / 0.617 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.1899, allocations: 1.828 MB / 0.6188 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1899, allocations: 4 kB / 0.6188 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006834/0.1968, allocations: 3.757 MB / 0.6224 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1969, allocations: 156.4 kB / 0.6226 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1969, allocations: 8 kB / 0.6226 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007439/0.2043, allocations: 2.723 MB / 0.6253 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.2056, allocations: 391.4 kB / 0.6256 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.2238, allocations: 11.36 MB / 0.6367 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.2258, allocations: 211.8 kB / 0.6369 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.226, allocations: 91.97 kB / 0.637 GB, free: 8.562 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.0007943/0.2268, allocations: 286.3 kB / 0.6373 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.2273, allocations: 406 kB / 0.6377 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.2277, allocations: 361.2 kB / 0.638 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.2277, allocations: 27.94 kB / 0.638 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/0.2278, allocations: 12 kB / 0.6381 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.2278, allocations: 11.95 kB / 0.6381 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.2303, allocations: 2.094 MB / 0.6401 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.2303, allocations: 0 / 0.6401 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.2311, allocations: 299.6 kB / 0.6404 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006419/0.2376, allocations: 2.672 MB / 0.643 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.2378, allocations: 51.97 kB / 0.6431 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/0.2551, allocations: 11.11 MB / 0.6539 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2551, allocations: 3.938 kB / 0.6539 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006515/0.2616, allocations: 3.354 MB / 0.6572 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.2628, allocations: 0.5875 MB / 0.6578 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.2632, allocations: 48 kB / 0.6578 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.2644, allocations: 203.8 kB / 0.658 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008228/0.2652, allocations: 358.5 kB / 0.6583 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.2654, allocations: 75.95 kB / 0.6584 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001249/0.2666, allocations: 1.125 MB / 0.6595 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2666, allocations: 4 kB / 0.6595 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002243/0.2689, allocations: 1.035 MB / 0.6605 GB, free: 104 kB / 0.6198 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.0003109/0.2692, allocations: 163.1 kB / 0.6607 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009055/0.2782, allocations: 4.191 MB / 0.6648 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.2782, allocations: 4 kB / 0.6648 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007282/0.2855, allocations: 2.952 MB / 0.6677 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.2889, allocations: 1.094 MB / 0.6687 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/0.2975, allocations: 5.656 MB / 0.6743 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/0.2984, allocations: 0.7836 MB / 0.675 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001579/0.3, allocations: 403.4 kB / 0.6754 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/0.3005, allocations: 180.5 kB / 0.6756 GB, free: 480 kB / 0.6355 GB Notification: Performance of SimCode: time 1.714e-06/0.3005, allocations: 0 / 0.6756 GB, free: 480 kB / 0.6355 GB Notification: Performance of Templates: time 0.2936/0.5942, allocations: 73.61 MB / 0.7475 GB, free: 126.3 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.2441470311023295]