Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [: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.001668/0.001668, allocations: 196.4 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008764/0.0008764, allocations: 97.38 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.955e-06, allocations: 0 / 343.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/0.3666, allocations: 81.91 MB / 476.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3668, allocations: 78.89 kB / 476.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02452/0.3914, allocations: 9.868 MB / 486.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.3914, allocations: 4 kB / 486.5 MB, free: 3.25 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001047/0.3925, allocations: 0.597 MB / 487.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3925, allocations: 12.02 kB / 487.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.3927, allocations: 51.53 kB / 487.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3932, allocations: 321.4 kB / 487.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.3933, allocations: 42.08 kB / 487.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3933, allocations: 12 kB / 487.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002323/0.3936, allocations: 131.1 kB / 487.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3939, allocations: 239 kB / 487.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3939, allocations: 3.938 kB / 487.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.394, allocations: 1.031 kB / 487.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.394, allocations: 4 kB / 487.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3953, allocations: 0.9499 MB / 488.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3955, allocations: 102.1 kB / 488.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3956, allocations: 67.11 kB / 489 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3957, allocations: 11.97 kB / 489 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.3957, allocations: 37.81 kB / 489.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.3957, allocations: 4 kB / 489.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004588/0.3962, allocations: 161.1 kB / 489.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3962, allocations: 158.2 kB / 489.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.3964, allocations: 231.3 kB / 489.6 MB, free: 380 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3965, allocations: 29.27 kB / 489.6 MB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3965, allocations: 152.7 kB / 489.8 MB, free: 204 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3966, allocations: 46.3 kB / 489.8 MB, free: 160 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.3966, allocations: 3.25 kB / 489.8 MB, free: 160 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3967, allocations: 332.9 kB / 490.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3968, allocations: 77.8 kB / 490.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.397, allocations: 119.8 kB / 490.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3971, allocations: 84.69 kB / 490.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3972, allocations: 0 / 490.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009862/0.407, allocations: 0.8881 MB / 491.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4071, allocations: 7.906 kB / 491.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4071, allocations: 0 / 491.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/0.42, allocations: 0.9194 MB / 492.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4202, allocations: 23.98 kB / 492.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.4297, allocations: 4.355 MB / 496.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.4301, allocations: 23.83 kB / 496.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.4301, allocations: 11.36 kB / 496.6 MB, free: 10 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {4 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.4303, allocations: 113 kB / 496.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.4304, allocations: 23.72 kB / 496.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.4304, allocations: 23.88 kB / 496.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4305, allocations: 5.766 kB / 496.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.4305, allocations: 7.938 kB / 496.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4305, allocations: 0 / 496.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.4313, allocations: 0.5464 MB / 497.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4313, allocations: 0 / 497.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4315, allocations: 31.36 kB / 497.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.4317, allocations: 49.3 kB / 497.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4317, allocations: 11.38 kB / 497.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.4334, allocations: 2.564 MB / 0.4883 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.4334, allocations: 2.156 kB / 0.4883 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004177/0.4338, allocations: 287.9 kB / 0.4886 GB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.4339, allocations: 104.2 kB / 0.4887 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.434, allocations: 0 / 0.4887 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.4342, allocations: 15.98 kB / 0.4887 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.4343, allocations: 7.984 kB / 0.4887 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4343, allocations: 7.984 kB / 0.4887 GB, free: 6.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000184/0.4345, allocations: 180.9 kB / 0.4889 GB, free: 5.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005912/0.4351, allocations: 103.7 kB / 0.489 GB, free: 5.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.4353, allocations: 103.2 kB / 0.4891 GB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.4366, allocations: 470.4 kB / 0.4895 GB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4367, allocations: 8.062 kB / 0.4895 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.437, allocations: 261.4 kB / 0.4898 GB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4373, allocations: 35.36 kB / 0.4898 GB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.4381, allocations: 330.1 kB / 0.4901 GB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.4385, allocations: 0.7941 MB / 0.4909 GB, free: 3.914 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4385, allocations: 0 / 0.4909 GB, free: 3.914 MB / 362.7 MB Notification: Performance of Templates: time 0.01144/0.45, allocations: 6.459 MB / 0.4972 GB, free: 13.51 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)