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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [: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.001657/0.001657, allocations: 199.5 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.138/1.138, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008367/0.0008367, allocations: 99 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09604/0.09689, allocations: 56.92 MB / 343.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08402/0.1809, allocations: 51.47 MB / 394.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.3947, allocations: 81.91 MB / 476.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.395, allocations: 76.8 kB / 476.7 MB, free: 10.72 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.02549/0.4205, allocations: 10.48 MB / 487.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.4205, allocations: 8 kB / 487.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.4207, allocations: 55.45 kB / 487.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4212, allocations: 319.4 kB / 487.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.4213, allocations: 38.14 kB / 487.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.4213, allocations: 12 kB / 487.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002376/0.4216, allocations: 137.6 kB / 487.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4219, allocations: 242.8 kB / 488 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4219, allocations: 0 / 488 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4219, allocations: 5.125 kB / 488 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4219, allocations: 4 kB / 488 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.4234, allocations: 0.9463 MB / 488.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4236, allocations: 97.38 kB / 489 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4237, allocations: 71.98 kB / 489.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4238, allocations: 3.938 kB / 489.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4238, allocations: 30.56 kB / 489.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.4238, allocations: 4 kB / 489.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004483/0.4242, allocations: 173.3 kB / 489.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4243, allocations: 162.2 kB / 489.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4245, allocations: 231 kB / 489.7 MB, free: 328 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4245, allocations: 25.7 kB / 489.7 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4246, allocations: 150.1 kB / 489.9 MB, free: 152 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.4246, allocations: 51.17 kB / 489.9 MB, free: 108 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.4246, allocations: 0 / 489.9 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4248, allocations: 334.6 kB / 490.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4249, allocations: 74.3 kB / 490.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.4251, allocations: 120.9 kB / 490.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4252, allocations: 89.12 kB / 490.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4252, allocations: 0 / 490.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009728/0.435, allocations: 0.8857 MB / 491.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.435, allocations: 11.91 kB / 491.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.435, allocations: 0 / 491.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/0.4477, allocations: 0.917 MB / 492.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4479, allocations: 23.92 kB / 492.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/0.4574, allocations: 4.355 MB / 496.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.4578, allocations: 31.58 kB / 496.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.4578, allocations: 8 kB / 496.7 MB, free: 9.945 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.0001123/0.458, allocations: 104.9 kB / 496.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.458, allocations: 27.7 kB / 496.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.4581, allocations: 28.31 kB / 496.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4581, allocations: 0 / 496.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4581, allocations: 0 / 496.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4581, allocations: 7.984 kB / 496.9 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.4589, allocations: 0.5464 MB / 497.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.459, allocations: 0 / 497.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4591, allocations: 28.02 kB / 497.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.4593, allocations: 55.52 kB / 497.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4594, allocations: 6.125 kB / 497.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.4611, allocations: 2.553 MB / 0.4884 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4612, allocations: 4 kB / 0.4884 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004108/0.4616, allocations: 293.9 kB / 0.4887 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005118/0.4621, allocations: 0.6629 MB / 0.4893 GB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.4622, allocations: 100.3 kB / 0.4894 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.4622, allocations: 4.188 kB / 0.4894 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.4625, allocations: 19.98 kB / 0.4894 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.4625, allocations: 15.73 kB / 0.4894 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4626, allocations: 4 kB / 0.4894 GB, free: 5.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001672/0.4627, allocations: 181.1 kB / 0.4896 GB, free: 5.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001067/0.4638, allocations: 103.7 kB / 0.4897 GB, free: 5.156 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.000149/0.464, allocations: 103.2 kB / 0.4898 GB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.4653, allocations: 473.8 kB / 0.4903 GB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4653, allocations: 0 / 0.4903 GB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.4656, allocations: 274.5 kB / 0.4905 GB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4659, allocations: 38.58 kB / 0.4906 GB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.4668, allocations: 323.3 kB / 0.4909 GB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.4672, allocations: 0.7933 MB / 0.4917 GB, free: 3.203 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4672, allocations: 0 / 0.4917 GB, free: 3.203 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)