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.0009831/0.0009831, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009562/0.0009562, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.931/0.931, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8193/0.8193, allocations: 154.9 MB / 415.9 MB, free: 260 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.925e-06/2.925e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.977e-05, allocations: 6.312 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01166/0.01168, allocations: 14.96 MB / 0.5365 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.02606, allocations: 12.56 MB / 0.5488 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.0278, allocations: 150.8 kB / 0.5489 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.02919, allocations: 0.7286 MB / 0.5496 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.03511, allocations: 3.24 MB / 0.5528 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.03764, allocations: 1.309 MB / 0.5541 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00517/0.04281, allocations: 5.998 MB / 0.5599 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.04614, allocations: 2.853 MB / 0.5627 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.05146, allocations: 3.681 MB / 0.5663 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.05455, allocations: 2.031 MB / 0.5683 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.05507, allocations: 364 kB / 0.5687 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.0559, allocations: 447.7 kB / 0.5691 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.05696, allocations: 1.291 MB / 0.5703 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.05851, allocations: 1.379 MB / 0.5717 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.06187, allocations: 3.067 MB / 0.5747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.06188, allocations: 0 / 0.5747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.52e-07/0.06188, allocations: 0 / 0.5747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.786e-05/0.06191, allocations: 0 / 0.5747 GB, free: 11.39 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.004754/0.06666, allocations: 4.583 MB / 0.5792 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.06669, allocations: 8.031 kB / 0.5792 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005523/0.07221, allocations: 2.325 MB / 0.5814 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.07445, allocations: 2.051 MB / 0.5834 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.07468, allocations: 470.3 kB / 0.5839 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.07497, allocations: 244.4 kB / 0.5841 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.07824, allocations: 3.218 MB / 0.5873 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.07828, allocations: 3.938 kB / 0.5873 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.07849, allocations: 99.98 kB / 0.5874 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.07862, allocations: 168.8 kB / 0.5875 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.08012, allocations: 1.2 MB / 0.5887 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008572/0.0887, allocations: 7.439 MB / 0.596 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.09119, allocations: 1.758 MB / 0.5977 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.0917, allocations: 457.1 kB / 0.5981 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.09179, allocations: 33.3 kB / 0.5981 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.09284, allocations: 1.574 MB / 0.5997 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 2.746e-06/0.09284, allocations: 0 / 0.5997 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.01372/0.1066, allocations: 6.593 MB / 0.6061 GB, free: 10.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1067, allocations: 0.4928 MB / 0.6066 GB, free: 9.691 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.108, allocations: 1.819 MB / 0.6084 GB, free: 7.855 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.1081, allocations: 77.7 kB / 0.6085 GB, free: 7.773 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.1092, allocations: 1.519 MB / 0.6099 GB, free: 6.242 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.1097, allocations: 0.8636 MB / 0.6108 GB, free: 5.371 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005337/0.1102, allocations: 418.4 kB / 0.6112 GB, free: 4.953 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.1103, allocations: 488.7 kB / 0.6116 GB, free: 4.473 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.111, allocations: 0.618 MB / 0.6122 GB, free: 3.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009914/0.112, allocations: 1.408 MB / 0.6136 GB, free: 2.172 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.1136, allocations: 1.558 MB / 0.6151 GB, free: 464 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1136, allocations: 0 / 0.6151 GB, free: 464 kB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005451/0.119, allocations: 3.413 MB / 0.6185 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.1191, allocations: 150.8 kB / 0.6186 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.1191, allocations: 7.938 kB / 0.6186 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.1261, allocations: 2.672 MB / 0.6212 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.1275, allocations: 387.5 kB / 0.6216 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.1479, allocations: 10.73 MB / 0.6321 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.15, allocations: 215.7 kB / 0.6323 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.1502, allocations: 67.97 kB / 0.6324 GB, free: 14.47 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.0007883/0.1509, allocations: 294.2 kB / 0.6326 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.1515, allocations: 398.1 kB / 0.633 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.1519, allocations: 361.2 kB / 0.6334 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.1519, allocations: 24 kB / 0.6334 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-05/0.152, allocations: 12 kB / 0.6334 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.152, allocations: 11.95 kB / 0.6334 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.1634, allocations: 1.721 MB / 0.6351 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1634, allocations: 0 / 0.6351 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.1646, allocations: 303.5 kB / 0.6354 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03505/0.1996, allocations: 2.625 MB / 0.6379 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.1998, allocations: 43.97 kB / 0.638 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/0.2288, allocations: 10.53 MB / 0.6483 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2288, allocations: 0 / 0.6483 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.2337, allocations: 3.037 MB / 0.6512 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.2347, allocations: 0.5329 MB / 0.6518 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.235, allocations: 52 kB / 0.6518 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.2361, allocations: 199.8 kB / 0.652 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/0.2367, allocations: 366.4 kB / 0.6523 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.2368, allocations: 55.95 kB / 0.6524 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007422/0.2375, allocations: 1.031 MB / 0.6534 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2375, allocations: 0 / 0.6534 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001833/0.2394, allocations: 1.039 MB / 0.6544 GB, free: 7.535 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.0002322/0.2396, allocations: 163.1 kB / 0.6546 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00729/0.2469, allocations: 3.902 MB / 0.6584 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2469, allocations: 8 kB / 0.6584 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006165/0.2531, allocations: 2.8 MB / 0.6611 GB, free: 476 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.2551, allocations: 1.098 MB / 0.6622 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.2615, allocations: 5.587 MB / 0.6677 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.2622, allocations: 0.7875 MB / 0.6684 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008922/0.263, allocations: 359.5 kB / 0.6688 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/0.2647, allocations: 0.9545 MB / 0.6697 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.2647, allocations: 0 / 0.6697 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.2649/0.5296, allocations: 79.61 MB / 0.7474 GB, free: 127.8 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: 5.8251412538811564]