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.001545/0.001545, allocations: 88.72 kB / 19.44 MB, free: 352 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.001504/0.001504, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.176 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.337/1.337, allocations: 154.8 MB / 414.3 MB, free: 416 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.532e-06/1.532e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.028e-05, allocations: 5.578 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02937/0.0294, allocations: 20.9 MB / 0.5403 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03071/0.06011, allocations: 16.68 MB / 0.5566 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.06367, allocations: 150.8 kB / 0.5567 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.07585, allocations: 4.163 MB / 0.5608 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.08895, allocations: 3.707 MB / 0.5644 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.09346, allocations: 1.317 MB / 0.5657 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.1046, allocations: 5.982 MB / 0.5715 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008666/0.1132, allocations: 2.849 MB / 0.5743 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009355/0.1226, allocations: 3.489 MB / 0.5777 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.1277, allocations: 2.018 MB / 0.5797 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.1291, allocations: 368 kB / 0.58 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.1323, allocations: 0.9629 MB / 0.581 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.1344, allocations: 1.274 MB / 0.5822 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00369/0.1381, allocations: 1.379 MB / 0.5836 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.009002/0.1471, allocations: 5.24 MB / 0.5887 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1471, allocations: 0 / 0.5887 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1471, allocations: 0 / 0.5887 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0001928/0.1473, allocations: 0 / 0.5887 GB, free: 11.7 MB / 0.5574 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.01394/0.1612, allocations: 4.62 MB / 0.5932 GB, free: 7.008 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1613, allocations: 8.031 kB / 0.5932 GB, free: 7 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.1791, allocations: 3.628 MB / 0.5968 GB, free: 3.367 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.1849, allocations: 2.244 MB / 0.5989 GB, free: 1.051 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006063/0.1855, allocations: 470.3 kB / 0.5994 GB, free: 0.5273 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.1865, allocations: 252.3 kB / 0.5996 GB, free: 288 kB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.2024, allocations: 5.873 MB / 0.6054 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.2025, allocations: 4 kB / 0.6054 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004065/0.2029, allocations: 112 kB / 0.6055 GB, free: 9.891 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/0.2032, allocations: 176.7 kB / 0.6056 GB, free: 9.715 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.2194, allocations: 5.187 MB / 0.6107 GB, free: 4.512 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.246, allocations: 8.817 MB / 0.6193 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.2573, allocations: 3.26 MB / 0.6225 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/0.2616, allocations: 1.369 MB / 0.6238 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.2617, allocations: 33.3 kB / 0.6239 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005928/0.2677, allocations: 2.45 MB / 0.6263 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 9.177e-06/0.2677, allocations: 4 kB / 0.6263 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.1348/0.4025, allocations: 27.56 MB / 0.6532 GB, free: 8.617 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003902/0.4029, allocations: 0.4928 MB / 0.6537 GB, free: 8.012 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.4063, allocations: 1.994 MB / 0.6556 GB, free: 6.004 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0004779/0.4067, allocations: 77.69 kB / 0.6557 GB, free: 5.922 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.4085, allocations: 1.469 MB / 0.6571 GB, free: 4.445 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.4098, allocations: 0.8481 MB / 0.658 GB, free: 3.59 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009843/0.4108, allocations: 416.5 kB / 0.6583 GB, free: 3.176 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4109, allocations: 305.1 kB / 0.6586 GB, free: 2.875 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006005/0.417, allocations: 2.066 MB / 0.6607 GB, free: 0.7734 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006644/0.4236, allocations: 2.77 MB / 0.6634 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/0.4354, allocations: 4.173 MB / 0.6674 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.4354, allocations: 0 / 0.6674 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02155/0.457, allocations: 6.678 MB / 0.674 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.4571, allocations: 152.8 kB / 0.6741 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4572, allocations: 12 kB / 0.6741 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2827/0.7398, allocations: 3.328 MB / 0.6774 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.7426, allocations: 488.8 kB / 0.6778 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03469/0.7773, allocations: 18.33 MB / 0.6957 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/0.781, allocations: 321.4 kB / 0.696 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.7812, allocations: 87.66 kB / 0.6961 GB, free: 179.2 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.001218/0.7825, allocations: 0.7014 MB / 0.6968 GB, free: 178.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006634/0.7831, allocations: 396.3 kB / 0.6972 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.7837, allocations: 364.1 kB / 0.6975 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.7838, allocations: 22.69 kB / 0.6976 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/0.7838, allocations: 14.09 kB / 0.6976 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7838, allocations: 10.22 kB / 0.6976 GB, free: 178.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.7869, allocations: 2.743 MB / 0.7003 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.7869, allocations: 3.844 kB / 0.7003 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/0.7892, allocations: 416.2 kB / 0.7007 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/0.8013, allocations: 3.281 MB / 0.7039 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000434/0.8017, allocations: 60.11 kB / 0.7039 GB, free: 176.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03658/0.8383, allocations: 18.11 MB / 0.7216 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8383, allocations: 0.6094 kB / 0.7216 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/0.8562, allocations: 6.159 MB / 0.7276 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.8579, allocations: 0.6062 MB / 0.7282 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/0.8584, allocations: 48.97 kB / 0.7283 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/0.8613, allocations: 311.8 kB / 0.7286 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/0.8625, allocations: 363.9 kB / 0.7289 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.8627, allocations: 72.7 kB / 0.729 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001453/0.8642, allocations: 1.312 MB / 0.7302 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8642, allocations: 3.75 kB / 0.7303 GB, free: 165.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00231/0.8665, allocations: 1.04 MB / 0.7313 GB, free: 164.7 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.8668, allocations: 162.2 kB / 0.7314 GB, free: 164.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02074/0.8875, allocations: 6.466 MB / 0.7377 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.8875, allocations: 0 / 0.7377 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0158/0.9033, allocations: 3.925 MB / 0.7416 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/0.9077, allocations: 1.103 MB / 0.7426 GB, free: 155 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.9215, allocations: 6.864 MB / 0.7493 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.9232, allocations: 1.689 MB / 0.751 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00227/0.9254, allocations: 479.9 kB / 0.7515 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/0.9261, allocations: 180.4 kB / 0.7516 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.854e-06/0.9261, allocations: 4 kB / 0.7516 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.08677/1.013, allocations: 72.76 MB / 0.8227 GB, free: 75.04 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.429782500024885]