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.001397/0.001397, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001601/0.001601, allocations: 216.9 kB / 22.25 MB, free: 4.859 MB / 14.72 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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-531:190: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-531:198: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.302/1.302, allocations: 203.8 MB / 0.5041 GB, free: 4.598 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 59.91 kB / 0.7187 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.6207, allocations: 102 MB / 0.8183 GB, free: 28.94 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02438/0.6451, allocations: 21.27 MB / 0.8391 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.6727, allocations: 16.84 MB / 0.8555 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005727/0.6784, allocations: 150.8 kB / 0.8556 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.6906, allocations: 4.171 MB / 0.8597 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.7052, allocations: 3.597 MB / 0.8632 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.7105, allocations: 1.308 MB / 0.8645 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0131/0.7236, allocations: 5.81 MB / 0.8702 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006158/0.7298, allocations: 2.829 MB / 0.8729 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006713/0.7365, allocations: 2.616 MB / 0.8755 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006428/0.7429, allocations: 2.259 MB / 0.8777 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.7441, allocations: 367.6 kB / 0.8781 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.7478, allocations: 0.9552 MB / 0.879 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.75, allocations: 1.22 MB / 0.8802 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005965/0.7559, allocations: 1.646 MB / 0.8818 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.7669, allocations: 5.226 MB / 0.8869 GB, free: 15.99 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7669, allocations: 0 / 0.8869 GB, free: 15.99 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7669, allocations: 0 / 0.8869 GB, free: 15.99 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000179/0.7671, allocations: 0 / 0.8869 GB, free: 15.99 MB / 0.67 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.01375/0.7808, allocations: 4.662 MB / 0.8914 GB, free: 11.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.7809, allocations: 9.469 kB / 0.8915 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.7978, allocations: 3.291 MB / 0.8947 GB, free: 7.922 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.8038, allocations: 2.127 MB / 0.8967 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/0.8043, allocations: 474.3 kB / 0.8972 GB, free: 5.195 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000751/0.8051, allocations: 231.9 kB / 0.8974 GB, free: 4.969 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.8187, allocations: 5.88 MB / 0.9032 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.8188, allocations: 0 / 0.9032 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.8192, allocations: 108 kB / 0.9033 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.8194, allocations: 168.8 kB / 0.9034 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.8342, allocations: 5.194 MB / 0.9085 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02393/0.8581, allocations: 8.76 MB / 0.9171 GB, free: 332 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.8681, allocations: 3.261 MB / 0.9202 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003705/0.8718, allocations: 1.362 MB / 0.9216 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.872, allocations: 25.3 kB / 0.9216 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004776/0.8767, allocations: 2.454 MB / 0.924 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.248e-06/0.8767, allocations: 4 kB / 0.924 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1258/1.003, allocations: 27.51 MB / 0.9509 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003372/1.003, allocations: 0.4889 MB / 0.9513 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/1.006, allocations: 1.998 MB / 0.9533 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005468/1.007, allocations: 77.7 kB / 0.9534 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.008, allocations: 1.469 MB / 0.9548 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.009, allocations: 0.8675 MB / 0.9556 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009225/1.01, allocations: 412.5 kB / 0.956 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.01, allocations: 301.1 kB / 0.9563 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/1.016, allocations: 2.07 MB / 0.9583 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/1.022, allocations: 2.767 MB / 0.961 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.033, allocations: 4.177 MB / 0.9651 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.033, allocations: 0 / 0.9651 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0193/1.052, allocations: 6.585 MB / 0.9716 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.052, allocations: 158.7 kB / 0.9717 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.052, allocations: 4 kB / 0.9717 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/1.063, allocations: 2.924 MB / 0.9746 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.066, allocations: 487.2 kB / 0.975 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0415/1.108, allocations: 18.18 MB / 0.9928 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/1.112, allocations: 323.6 kB / 0.9931 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/1.112, allocations: 96.06 kB / 0.9932 GB, free: 1.199 MB / 0.7637 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.001642/1.114, allocations: 0.7072 MB / 0.9939 GB, free: 496 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/1.114, allocations: 322 kB / 0.9942 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/1.115, allocations: 361.2 kB / 0.9945 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.115, allocations: 28 kB / 0.9946 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/1.115, allocations: 12 kB / 0.9946 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.115, allocations: 12.14 kB / 0.9946 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/1.119, allocations: 2.728 MB / 0.9972 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.119, allocations: 3.938 kB / 0.9972 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.122, allocations: 419.2 kB / 0.9976 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009924/1.132, allocations: 2.867 MB / 1 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/1.132, allocations: 55.95 kB / 1 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04/1.172, allocations: 17.97 MB / 1.018 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.172, allocations: 0 / 1.018 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/1.19, allocations: 6.079 MB / 1.024 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.193, allocations: 0.5993 MB / 1.025 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000565/1.193, allocations: 44 kB / 1.025 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.196, allocations: 319.6 kB / 1.025 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.198, allocations: 362.4 kB / 1.025 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/1.198, allocations: 76.02 kB / 1.025 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001952/1.2, allocations: 1.313 MB / 1.027 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/1.2, allocations: 4 kB / 1.027 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003481/1.203, allocations: 1.039 MB / 1.028 GB, free: 13.6 MB / 0.8106 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.0004581/1.204, allocations: 163.8 kB / 1.028 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02481/1.229, allocations: 6.453 MB / 1.034 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.229, allocations: 0.75 kB / 1.034 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01858/1.247, allocations: 3.927 MB / 1.038 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/1.253, allocations: 1.036 MB / 1.039 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.269, allocations: 6.793 MB / 1.046 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.272, allocations: 1.691 MB / 1.047 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002513/1.274, allocations: 475.5 kB / 1.048 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/1.275, allocations: 175.4 kB / 1.048 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.275, allocations: 4 kB / 1.048 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.568/1.843, allocations: 77.59 MB / 1.124 GB, free: 257.4 MB / 0.8887 GB " [Timeout remaining time 658] 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: 10.616225317120552] Failed to read output from testmodel.py, exit status != 0: 1.8531841170042753 1.867004563 1.096673888 Calling exit ...