Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002078/0.002078, allocations: 203.4 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 225.5 MB / 234.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000897/0.000897, allocations: 93.64 kB / 286.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.145e-06, allocations: 4 kB / 343.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 51.46 MB / 394.6 MB, free: 33.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08683/0.2967, allocations: 81.87 MB / 476.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.2969, allocations: 75.95 kB / 476.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3573/0.6542, allocations: 78.72 MB / 0.5422 GB, free: 63.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003933/0.6546, allocations: 99.98 kB / 0.5423 GB, free: 63.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01185/0.6665, allocations: 4.285 MB / 0.5465 GB, free: 59.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6665, allocations: 12.03 kB / 0.5465 GB, free: 59.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.6688, allocations: 0.5067 MB / 0.547 GB, free: 58.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008158/0.677, allocations: 3.045 MB / 0.55 GB, free: 55.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.6772, allocations: 131.9 kB / 0.5501 GB, free: 55.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.6785, allocations: 275.8 kB / 0.5504 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00892/0.6874, allocations: 5.013 MB / 0.5553 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.6979, allocations: 5.253 MB / 0.5604 GB, free: 45.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.683e-05/0.6981, allocations: 5.594 kB / 0.5604 GB, free: 45.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009717/0.699, allocations: 4 kB / 0.5604 GB, free: 45.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.6991, allocations: 96 kB / 0.5605 GB, free: 45.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/0.7332, allocations: 17.53 MB / 0.5776 GB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.7364, allocations: 2.267 MB / 0.5799 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.7399, allocations: 2.915 MB / 0.5827 GB, free: 21.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.74, allocations: 38.34 kB / 0.5827 GB, free: 21.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.7401, allocations: 77.44 kB / 0.5828 GB, free: 21.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 4.638e-06/0.7401, allocations: 4 kB / 0.5828 GB, free: 21.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=304): time 0.0129/0.753, allocations: 7.821 MB / 0.5905 GB, free: 13.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7532, allocations: 291.4 kB / 0.5907 GB, free: 13.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/0.7583, allocations: 2.575 MB / 0.5933 GB, free: 10.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007105/0.759, allocations: 29.7 kB / 0.5933 GB, free: 10.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.7597, allocations: 1.279 MB / 0.5945 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.7609, allocations: 1.043 MB / 0.5955 GB, free: 8.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005357/0.7615, allocations: 7.984 kB / 0.5956 GB, free: 8.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003037/0.7618, allocations: 445 kB / 0.596 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.7647, allocations: 1.983 MB / 0.5979 GB, free: 6.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.7677, allocations: 2.256 MB / 0.6001 GB, free: 3.801 MB / 378.7 MB Notification: The following equation is consistent and got removed from the initialization problem: oLine3.L[8].i = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: oLine2.L[8].i = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: oLine1.L[8].i = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.778, allocations: 4.991 MB / 0.605 GB, free: 14.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.778, allocations: 4 kB / 0.605 GB, free: 14.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.009116/0.7871, allocations: 5.117 MB / 0.61 GB, free: 9.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.7872, allocations: 11.42 kB / 0.61 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7872, allocations: 4 kB / 0.61 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7883, allocations: 341 kB / 0.6103 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.792, allocations: 0.7959 MB / 0.6111 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.7996, allocations: 6.911 MB / 0.6179 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.8031, allocations: 71.89 kB / 0.6179 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005676/0.8037, allocations: 92 kB / 0.618 GB, free: 0.8633 MB / 394.7 MB Warning: Assuming redundant initial conditions for the following 3 initial equations: oLine3.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine1.L[8].i = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 15,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008822/0.8046, allocations: 157.5 kB / 0.6182 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.8057, allocations: 296.6 kB / 0.6184 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009616/0.8066, allocations: 363.8 kB / 0.6188 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.8067, allocations: 28.75 kB / 0.6188 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.8067, allocations: 4 kB / 0.6188 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/0.8068, allocations: 15.89 kB / 0.6188 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.8245, allocations: 8.599 MB / 0.6272 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.8245, allocations: 0 / 0.6272 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/0.8283, allocations: 0.6985 MB / 0.6279 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008493/0.8292, allocations: 277.8 kB / 0.6282 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004108/0.8296, allocations: 67.94 kB / 0.6283 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008482/0.8381, allocations: 9.83 MB / 0.6379 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.8382, allocations: 0 / 0.6379 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01097/0.8492, allocations: 5.985 MB / 0.6437 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.8507, allocations: 433.5 kB / 0.6441 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008913/0.8516, allocations: 55.95 kB / 0.6442 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/0.8546, allocations: 327.7 kB / 0.6445 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.855, allocations: 154.1 kB / 0.6446 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/0.8553, allocations: 91.98 kB / 0.6447 GB, free: 4.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00314/0.8584, allocations: 1.954 MB / 0.6466 GB, free: 2.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004069/0.8625, allocations: 0.9062 MB / 0.6475 GB, free: 1.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[1].i,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[1].i,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[1].i,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006896/0.8632, allocations: 185.5 kB / 0.6477 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007191/0.8704, allocations: 4.559 MB / 0.6521 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.8705, allocations: 6.656 kB / 0.6521 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.8742, allocations: 2.583 MB / 0.6547 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/0.8775, allocations: 490.6 kB / 0.6551 GB, free: 9.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1661/1.044, allocations: 10.59 MB / 0.6655 GB, free: 155.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004452/1.048, allocations: 3.409 MB / 0.6688 GB, free: 155.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.048, allocations: 0 / 0.6688 GB, free: 155.1 MB / 442.7 MB Notification: Performance of Templates: time 0.07534/1.124, allocations: 46.85 MB / 0.7146 GB, free: 148.3 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)