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.001886/0.001886, allocations: 88.05 kB / 19.44 MB, free: 320 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.002032/0.002032, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.494/1.494, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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.813e-06/1.813e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.005e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04733/0.04736, allocations: 22.67 MB / 0.542 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04345/0.09081, allocations: 17.8 MB / 0.5594 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.09508, allocations: 150.8 kB / 0.5595 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01565/0.1107, allocations: 4.279 MB / 0.5637 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.1228, allocations: 3.706 MB / 0.5673 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.1266, allocations: 1.315 MB / 0.5686 GB, free: 356 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.1368, allocations: 5.977 MB / 0.5745 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005541/0.1423, allocations: 2.853 MB / 0.5772 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007617/0.15, allocations: 3.505 MB / 0.5807 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/0.1554, allocations: 2.127 MB / 0.5827 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.1565, allocations: 368.5 kB / 0.5831 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.1592, allocations: 0.9667 MB / 0.584 GB, free: 468 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.1608, allocations: 1.298 MB / 0.5853 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.1633, allocations: 1.387 MB / 0.5867 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008166/0.1715, allocations: 5.267 MB / 0.5918 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1715, allocations: 4 kB / 0.5918 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1715, allocations: 0 / 0.5918 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00014/0.1716, allocations: 0 / 0.5918 GB, free: 8.48 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.01621/0.1879, allocations: 4.977 MB / 0.5967 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1879, allocations: 12.02 kB / 0.5967 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/0.2103, allocations: 3.065 MB / 0.5997 GB, free: 348 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00878/0.2191, allocations: 2.208 MB / 0.6018 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009349/0.2201, allocations: 470.3 kB / 0.6023 GB, free: 13.53 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.2213, allocations: 252.3 kB / 0.6025 GB, free: 13.29 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.2363, allocations: 4.408 MB / 0.6068 GB, free: 8.441 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.2364, allocations: 4 kB / 0.6068 GB, free: 8.438 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005441/0.2369, allocations: 108 kB / 0.6069 GB, free: 8.332 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003714/0.2373, allocations: 176.7 kB / 0.6071 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.2513, allocations: 2.697 MB / 0.6097 GB, free: 5.449 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03289/0.2842, allocations: 9 MB / 0.6185 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.2959, allocations: 2.237 MB / 0.6207 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.2992, allocations: 0.8184 MB / 0.6215 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.2994, allocations: 37.3 kB / 0.6215 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004976/0.3044, allocations: 2.015 MB / 0.6235 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 6.141e-06/0.3044, allocations: 0 / 0.6235 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.05118/0.3555, allocations: 9.353 MB / 0.6326 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004942/0.356, allocations: 0.4928 MB / 0.6331 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006432/0.3625, allocations: 2.445 MB / 0.6355 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006807/0.3632, allocations: 77.7 kB / 0.6356 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.3658, allocations: 1.621 MB / 0.6372 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.3676, allocations: 0.9222 MB / 0.6381 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/0.3697, allocations: 478.7 kB / 0.6385 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003349/0.37, allocations: 484.7 kB / 0.639 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005531/0.3756, allocations: 1.27 MB / 0.6402 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005552/0.3811, allocations: 2.107 MB / 0.6423 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/0.3901, allocations: 3.053 MB / 0.6453 GB, free: 40 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3902, allocations: 0 / 0.6453 GB, free: 40 kB / 0.6042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0171/0.4073, allocations: 4.877 MB / 0.65 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.4074, allocations: 152.4 kB / 0.6502 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.4074, allocations: 8 kB / 0.6502 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/0.4227, allocations: 2.988 MB / 0.6531 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.4252, allocations: 391.4 kB / 0.6535 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04207/0.4673, allocations: 13.58 MB / 0.6667 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/0.4711, allocations: 211.8 kB / 0.6669 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.4717, allocations: 87.97 kB / 0.667 GB, free: 9.402 MB / 0.6355 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.001773/0.4734, allocations: 462.3 kB / 0.6675 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/0.4749, allocations: 398.1 kB / 0.6678 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.476, allocations: 361.2 kB / 0.6682 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.4761, allocations: 27.94 kB / 0.6682 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-05/0.4761, allocations: 8 kB / 0.6682 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.4761, allocations: 15.95 kB / 0.6682 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.481, allocations: 2.676 MB / 0.6708 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.481, allocations: 7.938 kB / 0.6709 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.483, allocations: 307.6 kB / 0.6712 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/0.4972, allocations: 2.937 MB / 0.674 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006852/0.4979, allocations: 51.97 kB / 0.6741 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3032/0.8011, allocations: 13.33 MB / 0.6871 GB, free: 179 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8011, allocations: 0 / 0.6871 GB, free: 179 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.8145, allocations: 4.449 MB / 0.6914 GB, free: 178 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/0.8165, allocations: 0.5833 MB / 0.692 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005479/0.817, allocations: 50 kB / 0.6921 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/0.8194, allocations: 200.3 kB / 0.6922 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/0.8204, allocations: 383.6 kB / 0.6926 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.8206, allocations: 67.91 kB / 0.6927 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001686/0.8223, allocations: 1.475 MB / 0.6941 GB, free: 177 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8223, allocations: 2.531 kB / 0.6941 GB, free: 177 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002612/0.8249, allocations: 1.037 MB / 0.6951 GB, free: 176.9 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.0003157/0.8252, allocations: 160.3 kB / 0.6953 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01821/0.8434, allocations: 5.274 MB / 0.7004 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.8434, allocations: 6.594 kB / 0.7004 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01539/0.8588, allocations: 3.515 MB / 0.7039 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/0.8633, allocations: 1.103 MB / 0.7049 GB, free: 173.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.8757, allocations: 6.03 MB / 0.7108 GB, free: 170.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.8779, allocations: 1.631 MB / 0.7124 GB, free: 170.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00227/0.8801, allocations: 398.9 kB / 0.7128 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/0.8808, allocations: 180.8 kB / 0.713 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.984e-06/0.8808, allocations: 4 kB / 0.713 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.09142/0.9723, allocations: 73.58 MB / 0.7848 GB, free: 110.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: 9.606424313038588]