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.0007479/0.0007479, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007433/0.0007433, allocations: 216.2 kB / 23 MB, free: 2.98 MB / 13.93 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.8388/0.8388, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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-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 0.7182/0.7182, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [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: 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.0008329/0.0008329, allocations: 74.66 kB / 0.7194 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4147, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01682/0.4315, allocations: 21.27 MB / 0.8398 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.4503, allocations: 16.85 MB / 0.8563 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.4536, allocations: 149.8 kB / 0.8564 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006452/0.4601, allocations: 4.153 MB / 0.8605 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009563/0.4696, allocations: 3.595 MB / 0.864 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4731, allocations: 1.325 MB / 0.8653 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009108/0.4822, allocations: 5.802 MB / 0.8709 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004058/0.4862, allocations: 2.834 MB / 0.8737 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.4909, allocations: 2.619 MB / 0.8763 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004575/0.4955, allocations: 2.255 MB / 0.8785 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.4966, allocations: 370.6 kB / 0.8788 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.499, allocations: 0.9516 MB / 0.8798 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.5, allocations: 1.226 MB / 0.8809 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.5026, allocations: 1.637 MB / 0.8825 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006365/0.509, allocations: 5.226 MB / 0.8877 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.509, allocations: 0 / 0.8877 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.665e-06/0.509, allocations: 0 / 0.8877 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001651/0.5092, allocations: 3.938 kB / 0.8877 GB, free: 15.13 MB / 0.6667 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.006786/0.516, allocations: 4.658 MB / 0.8922 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.516, allocations: 8.031 kB / 0.8922 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008207/0.5242, allocations: 3.291 MB / 0.8954 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/0.5282, allocations: 2.131 MB / 0.8975 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.5285, allocations: 466.3 kB / 0.898 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.5291, allocations: 239.9 kB / 0.8982 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008327/0.5375, allocations: 5.88 MB / 0.9039 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.5375, allocations: 3.938 kB / 0.9039 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.5378, allocations: 108 kB / 0.904 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.5379, allocations: 168.8 kB / 0.9042 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007822/0.5458, allocations: 5.194 MB / 0.9093 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.5601, allocations: 8.76 MB / 0.9178 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0052/0.5653, allocations: 3.253 MB / 0.921 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.5674, allocations: 1.369 MB / 0.9223 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.763e-05/0.5675, allocations: 25.23 kB / 0.9224 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002576/0.5701, allocations: 2.45 MB / 0.9247 GB, free: 8.125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 3.747e-06/0.5701, allocations: 0 / 0.9247 GB, free: 8.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.06252/0.6326, allocations: 27.5 MB / 0.9516 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.6328, allocations: 0.4928 MB / 0.9521 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.6349, allocations: 1.994 MB / 0.954 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/0.6352, allocations: 73.7 kB / 0.9541 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.6361, allocations: 1.473 MB / 0.9555 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007272/0.6368, allocations: 0.8597 MB / 0.9564 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006856/0.6375, allocations: 424.5 kB / 0.9568 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.6376, allocations: 309.1 kB / 0.9571 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.6405, allocations: 2.062 MB / 0.9591 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.6437, allocations: 2.762 MB / 0.9618 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.6496, allocations: 4.173 MB / 0.9659 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6497, allocations: 4 kB / 0.9659 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01057/0.6602, allocations: 6.588 MB / 0.9723 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.6603, allocations: 148.5 kB / 0.9725 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6603, allocations: 8 kB / 0.9725 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005342/0.6657, allocations: 2.921 MB / 0.9753 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.6672, allocations: 495.2 kB / 0.9758 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.6903, allocations: 18.2 MB / 0.9936 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.6927, allocations: 323.6 kB / 0.9939 GB, free: 428 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.6929, allocations: 87.97 kB / 0.9939 GB, free: 340 kB / 0.7605 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.001306/0.6942, allocations: 0.7064 MB / 0.9946 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.6946, allocations: 322 kB / 0.9949 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.695, allocations: 365.2 kB / 0.9953 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.695, allocations: 24 kB / 0.9953 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/0.695, allocations: 8 kB / 0.9953 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.695, allocations: 11.95 kB / 0.9953 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.6979, allocations: 2.724 MB / 0.998 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.698, allocations: 3.938 kB / 0.998 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.6991, allocations: 415.4 kB / 0.9984 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/0.7043, allocations: 2.871 MB / 1.001 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.7045, allocations: 55.97 kB / 1.001 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.727, allocations: 17.97 MB / 1.019 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.727, allocations: 0 / 1.019 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.7371, allocations: 6.083 MB / 1.025 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.7385, allocations: 0.5955 MB / 1.025 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.7388, allocations: 47.98 kB / 1.025 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.7404, allocations: 315.6 kB / 1.026 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008976/0.7413, allocations: 366.5 kB / 1.026 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.7415, allocations: 67.97 kB / 1.026 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001548/0.743, allocations: 1.32 MB / 1.027 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.71e-07/0.743, allocations: 0 / 1.027 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002265/0.7453, allocations: 1.035 MB / 1.028 GB, free: 12.74 MB / 0.8073 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.0002914/0.7456, allocations: 167.5 kB / 1.029 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01231/0.7579, allocations: 6.455 MB / 1.035 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.7579, allocations: 4 kB / 1.035 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008781/0.7667, allocations: 3.934 MB / 1.039 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.7695, allocations: 1.026 MB / 1.04 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7798, allocations: 6.975 MB / 1.047 GB, free: 10.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.7814, allocations: 1.687 MB / 1.048 GB, free: 8.309 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/0.7823, allocations: 191.4 kB / 1.048 GB, free: 8.121 MB / 0.823 GB Notification: Performance of SimCode: time 1.713e-06/0.7823, allocations: 0 / 1.048 GB, free: 8.121 MB / 0.823 GB Notification: Performance of Templates: time 0.07065/0.8529, allocations: 79.67 MB / 1.126 GB, free: 8.715 MB / 0.9011 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: 12.806146422866732] Failed to read output from testmodel.py, exit status != 0: 0.8592148167081177 0.866487642 0.35557879800000003 Calling exit ...