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.001295/0.001295, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001049/0.001049, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8753/0.8753, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.7757/0.7757, allocations: 154.9 MB / 415.1 MB, free: 228 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.332e-06/1.332e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.614e-05, allocations: 5.922 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01102/0.01104, allocations: 14.96 MB / 0.5358 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.02469, allocations: 12.56 MB / 0.548 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.02672, allocations: 150.8 kB / 0.5482 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.02811, allocations: 0.7255 MB / 0.5489 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.0337, allocations: 3.238 MB / 0.552 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.03585, allocations: 1.308 MB / 0.5533 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0057/0.04155, allocations: 6.001 MB / 0.5592 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.04464, allocations: 2.85 MB / 0.562 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.04867, allocations: 3.682 MB / 0.5656 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.05057, allocations: 2.038 MB / 0.5675 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.05093, allocations: 364 kB / 0.5679 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006038/0.05153, allocations: 449.9 kB / 0.5683 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.05222, allocations: 1.281 MB / 0.5696 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000952/0.05317, allocations: 1.379 MB / 0.5709 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.05551, allocations: 3.075 MB / 0.5739 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.05552, allocations: 0 / 0.5739 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.72e-07/0.05552, allocations: 0 / 0.5739 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.05554, allocations: 2.031 kB / 0.5739 GB, free: 11.38 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.004491/0.06003, allocations: 4.582 MB / 0.5784 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.06007, allocations: 8.031 kB / 0.5784 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.06523, allocations: 2.327 MB / 0.5807 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.06723, allocations: 2.055 MB / 0.5827 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.06747, allocations: 466.3 kB / 0.5831 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/0.06776, allocations: 248.4 kB / 0.5834 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.07115, allocations: 3.21 MB / 0.5865 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.07119, allocations: 3.938 kB / 0.5865 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.07138, allocations: 108 kB / 0.5866 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.0715, allocations: 168.8 kB / 0.5868 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.07291, allocations: 1.2 MB / 0.5879 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007964/0.08087, allocations: 7.443 MB / 0.5952 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.08318, allocations: 1.758 MB / 0.5969 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.08366, allocations: 454.3 kB / 0.5974 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.08e-05/0.08375, allocations: 33.31 kB / 0.5974 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.08476, allocations: 1.58 MB / 0.5989 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 2.685e-06/0.08477, allocations: 0 / 0.5989 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.01175/0.09652, allocations: 6.577 MB / 0.6054 GB, free: 10.29 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.09667, allocations: 0.4928 MB / 0.6058 GB, free: 9.688 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.09875, allocations: 1.822 MB / 0.6076 GB, free: 7.848 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.09893, allocations: 77.7 kB / 0.6077 GB, free: 7.766 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.1, allocations: 1.519 MB / 0.6092 GB, free: 6.234 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/0.1007, allocations: 0.8596 MB / 0.61 GB, free: 5.367 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/0.1015, allocations: 430.4 kB / 0.6104 GB, free: 4.938 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1016, allocations: 484.7 kB / 0.6109 GB, free: 4.461 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.1026, allocations: 0.6219 MB / 0.6115 GB, free: 3.805 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.1041, allocations: 1.408 MB / 0.6129 GB, free: 2.156 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.1067, allocations: 1.558 MB / 0.6144 GB, free: 448 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.1067, allocations: 4 kB / 0.6144 GB, free: 444 kB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007422/0.1141, allocations: 3.401 MB / 0.6177 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.1142, allocations: 148.5 kB / 0.6179 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.1142, allocations: 11.94 kB / 0.6179 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008699/0.1229, allocations: 2.668 MB / 0.6205 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.1245, allocations: 387.4 kB / 0.6208 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.1415, allocations: 10.76 MB / 0.6314 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.1433, allocations: 215.7 kB / 0.6316 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.1434, allocations: 75.97 kB / 0.6316 GB, free: 14.43 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.0008572/0.1443, allocations: 290.2 kB / 0.6319 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.1447, allocations: 398.1 kB / 0.6323 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.145, allocations: 357.2 kB / 0.6326 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.1451, allocations: 24 kB / 0.6327 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-05/0.1451, allocations: 15.98 kB / 0.6327 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.1451, allocations: 15.89 kB / 0.6327 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.1474, allocations: 1.701 MB / 0.6343 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1475, allocations: 4 kB / 0.6343 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.1482, allocations: 303.6 kB / 0.6346 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005374/0.1536, allocations: 2.617 MB / 0.6372 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.1537, allocations: 55.95 kB / 0.6372 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.167, allocations: 10.53 MB / 0.6475 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.167, allocations: 4 kB / 0.6475 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.1718, allocations: 3.041 MB / 0.6505 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/0.1726, allocations: 0.5368 MB / 0.651 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.1728, allocations: 51.98 kB / 0.6511 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.1738, allocations: 199.8 kB / 0.6513 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/0.1743, allocations: 358.5 kB / 0.6516 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.1745, allocations: 63.89 kB / 0.6517 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007638/0.1752, allocations: 1.035 MB / 0.6527 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 0 / 0.6527 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001851/0.1771, allocations: 1.035 MB / 0.6537 GB, free: 7.488 MB / 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.0002405/0.1773, allocations: 159.1 kB / 0.6538 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006819/0.1841, allocations: 3.894 MB / 0.6576 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.1841, allocations: 4 kB / 0.6577 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005564/0.1897, allocations: 2.808 MB / 0.6604 GB, free: 436 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.192, allocations: 1.09 MB / 0.6615 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.1993, allocations: 5.606 MB / 0.6669 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.2001, allocations: 0.7836 MB / 0.6677 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001216/0.2013, allocations: 351.5 kB / 0.668 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/0.2029, allocations: 0.9545 MB / 0.669 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of SimCode: time 1.512e-06/0.2029, allocations: 0 / 0.669 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of Templates: time 0.2705/0.4734, allocations: 78.19 MB / 0.7453 GB, free: 130.6 MB / 0.6355 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.7233254332095385]