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.001515/0.001515, 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.001088/0.001088, allocations: 173 kB / 23.02 MB, free: 1.551 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.9573/0.9573, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7799/0.7799, allocations: 154.9 MB / 414.8 MB, free: 400 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.863e-06/1.863e-06, allocations: 0 / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.363e-05, allocations: 8.656 kB / 0.5207 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03624/0.03627, allocations: 15.36 MB / 0.5357 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.0607, allocations: 12.78 MB / 0.5482 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.06361, allocations: 150.8 kB / 0.5483 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.06531, allocations: 0.7258 MB / 0.549 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.07313, allocations: 3.237 MB / 0.5522 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.07648, allocations: 1.313 MB / 0.5535 GB, free: 272 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007827/0.0843, allocations: 5.998 MB / 0.5593 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/0.08891, allocations: 2.845 MB / 0.5621 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.09539, allocations: 3.689 MB / 0.5657 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/0.09912, allocations: 2.029 MB / 0.5677 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.1003, allocations: 364 kB / 0.568 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.1016, allocations: 447.7 kB / 0.5685 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1027, allocations: 1.289 MB / 0.5697 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.1049, allocations: 1.379 MB / 0.5711 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.1087, allocations: 3.068 MB / 0.5741 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1087, allocations: 1.5 kB / 0.5741 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1087, allocations: 0 / 0.5741 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.836e-05/0.1088, allocations: 0 / 0.5741 GB, free: 11.06 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.005525/0.1143, allocations: 4.63 MB / 0.5786 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1144, allocations: 8.031 kB / 0.5786 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007034/0.1214, allocations: 3.064 MB / 0.5816 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.1248, allocations: 2.161 MB / 0.5837 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.1251, allocations: 474.3 kB / 0.5842 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.1254, allocations: 240.4 kB / 0.5844 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004516/0.13, allocations: 3.507 MB / 0.5878 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.13, allocations: 0 / 0.5878 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.1302, allocations: 104 kB / 0.5879 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004515/0.1307, allocations: 180.8 kB / 0.5881 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.1333, allocations: 1.547 MB / 0.5896 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.144, allocations: 7.941 MB / 0.5974 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.1469, allocations: 1.922 MB / 0.5992 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.1477, allocations: 0.5414 MB / 0.5998 GB, free: 132 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.1478, allocations: 37.23 kB / 0.5998 GB, free: 96 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.1491, allocations: 1.669 MB / 0.6014 GB, free: 14.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=163): time 3.597e-06/0.1491, allocations: 4 kB / 0.6014 GB, free: 14.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=250): time 0.0151/0.1642, allocations: 7.507 MB / 0.6088 GB, free: 6.645 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004488/0.1647, allocations: 0.4889 MB / 0.6092 GB, free: 6.043 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.1664, allocations: 1.875 MB / 0.6111 GB, free: 4.152 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.1666, allocations: 77.7 kB / 0.6111 GB, free: 4.07 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008715/0.1674, allocations: 1.523 MB / 0.6126 GB, free: 2.535 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.168, allocations: 0.8637 MB / 0.6135 GB, free: 1.664 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.1686, allocations: 406.7 kB / 0.6139 GB, free: 1.258 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1687, allocations: 480.7 kB / 0.6143 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.1698, allocations: 0.786 MB / 0.6151 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.1715, allocations: 1.553 MB / 0.6166 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.1736, allocations: 1.828 MB / 0.6184 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.1736, allocations: 4 kB / 0.6184 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006207/0.1798, allocations: 3.764 MB / 0.6221 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.1799, allocations: 148.8 kB / 0.6222 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.1799, allocations: 15.94 kB / 0.6222 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006667/0.1866, allocations: 2.719 MB / 0.6249 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.1877, allocations: 391.4 kB / 0.6253 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.2049, allocations: 11.36 MB / 0.6363 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.2067, allocations: 211.8 kB / 0.6365 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.2069, allocations: 91.97 kB / 0.6366 GB, free: 9.133 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.0008851/0.2078, allocations: 290.2 kB / 0.6369 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.2083, allocations: 398 kB / 0.6373 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.2085, allocations: 361.2 kB / 0.6376 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.2086, allocations: 27.94 kB / 0.6377 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.538e-05/0.2086, allocations: 15.94 kB / 0.6377 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2086, allocations: 15.95 kB / 0.6377 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2108, allocations: 2.086 MB / 0.6397 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.2108, allocations: 0 / 0.6397 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.2117, allocations: 307.5 kB / 0.64 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/0.2179, allocations: 2.66 MB / 0.6426 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/0.2182, allocations: 47.97 kB / 0.6427 GB, free: 2.867 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.2347, allocations: 11.12 MB / 0.6535 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2347, allocations: 0 / 0.6535 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.2409, allocations: 3.358 MB / 0.6568 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.2423, allocations: 0.5836 MB / 0.6574 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.2426, allocations: 47.98 kB / 0.6574 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.2437, allocations: 203.8 kB / 0.6576 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008751/0.2446, allocations: 366.4 kB / 0.658 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/0.2449, allocations: 67.97 kB / 0.658 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001131/0.2461, allocations: 1.129 MB / 0.6591 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2461, allocations: 0 / 0.6591 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001965/0.248, allocations: 1.035 MB / 0.6601 GB, free: 0.6797 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.0002962/0.2483, allocations: 167 kB / 0.6603 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008296/0.2566, allocations: 4.188 MB / 0.6644 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2566, allocations: 0 / 0.6644 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006941/0.2636, allocations: 2.944 MB / 0.6673 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/0.2668, allocations: 1.087 MB / 0.6683 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/0.2756, allocations: 5.67 MB / 0.6739 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.2765, allocations: 0.7874 MB / 0.6746 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001657/0.2782, allocations: 403.5 kB / 0.675 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.2787, allocations: 176.4 kB / 0.6752 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of SimCode: time 1.903e-06/0.2787, allocations: 0 / 0.6752 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of Templates: time 0.3091/0.5877, allocations: 77.24 MB / 0.7506 GB, free: 123.2 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.99765031831339]