Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [: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.0009828/0.000983, allocations: 205.6 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008549/0.0008549, allocations: 95.44 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.142e-05, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09173, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.3995, allocations: 79.43 MB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.3998, allocations: 80.88 kB / 474.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03218/0.4319, allocations: 13.28 MB / 487.4 MB, free: 2.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.432, allocations: 12.33 kB / 487.4 MB, free: 2.934 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001354/0.4334, allocations: 0.7528 MB / 488.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4334, allocations: 12.03 kB / 488.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.4336, allocations: 68.52 kB / 488.3 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.4341, allocations: 322.6 kB / 488.6 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4341, allocations: 16 kB / 488.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.4342, allocations: 28 kB / 488.6 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004523/0.4346, allocations: 252.9 kB / 488.9 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.4352, allocations: 424.1 kB / 489.3 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4353, allocations: 5.688 kB / 489.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.4353, allocations: 0 / 489.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4353, allocations: 15.91 kB / 489.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4374, allocations: 1.502 MB / 490.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.4378, allocations: 163.4 kB / 491 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4379, allocations: 79.66 kB / 491 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.438, allocations: 0 / 491 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.4382, allocations: 177.1 kB / 491.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.4382, allocations: 0 / 491.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006682/0.4389, allocations: 281.5 kB / 491.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.439, allocations: 316.2 kB / 491.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4393, allocations: 253.3 kB / 492 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.4394, allocations: 33.7 kB / 492.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4395, allocations: 238.5 kB / 492.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.4396, allocations: 90.22 kB / 492.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.4397, allocations: 3.938 kB / 492.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4398, allocations: 338.3 kB / 492.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4399, allocations: 67.69 kB / 492.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.4402, allocations: 233.7 kB / 493 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4404, allocations: 102.3 kB / 493.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4404, allocations: 4 kB / 493.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009131/0.4413, allocations: 433.7 kB / 493.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4413, allocations: 4 kB / 493.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4414, allocations: 4 kB / 493.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.4421, allocations: 179.7 kB / 493.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.4423, allocations: 47.97 kB / 493.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.4465, allocations: 4.547 MB / 498.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.447, allocations: 64.47 kB / 498.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.447, allocations: 15.69 kB / 498.4 MB, free: 8.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.4472, allocations: 112.9 kB / 498.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.4472, allocations: 35.61 kB / 498.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.4473, allocations: 32.94 kB / 498.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4473, allocations: 0 / 498.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.4474, allocations: 15.92 kB / 498.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4474, allocations: 3.906 kB / 498.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.4478, allocations: 352.2 kB / 498.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4478, allocations: 2.531 kB / 498.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.448, allocations: 35.98 kB / 499 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.4484, allocations: 117.3 kB / 499.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.4484, allocations: 4.75 kB / 499.1 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.4518, allocations: 4.995 MB / 0.4923 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4519, allocations: 4.062 kB / 0.4923 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006393/0.4525, allocations: 301.8 kB / 0.4926 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4526, allocations: 107 kB / 0.4927 GB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.4527, allocations: 4.734 kB / 0.4927 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.453, allocations: 45.19 kB / 0.4927 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.4531, allocations: 23.84 kB / 0.4927 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.4531, allocations: 9.734 kB / 0.4928 GB, free: 2.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002153/0.4534, allocations: 194.4 kB / 0.4929 GB, free: 1.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006984/0.4541, allocations: 131.5 kB / 0.4931 GB, free: 1.777 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.4543, allocations: 104.8 kB / 0.4932 GB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.4554, allocations: 0.586 MB / 0.4937 GB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4554, allocations: 4.125 kB / 0.4937 GB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.4561, allocations: 0.5301 MB / 0.4943 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.4564, allocations: 42.48 kB / 0.4943 GB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4574, allocations: 417.1 kB / 0.4947 GB, free: 152 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.4579, allocations: 0.8521 MB / 0.4955 GB, free: 15.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4579, allocations: 0 / 0.4955 GB, free: 15.27 MB / 378.7 MB Notification: Performance of Templates: time 0.009907/0.4678, allocations: 4.903 MB / 0.5003 GB, free: 10.46 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)