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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",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.001175/0.001175, allocations: 199.3 kB / 8.539 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.147/1.147, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008419/0.0008418, allocations: 86.16 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09144/0.09231, allocations: 56.92 MB / 343.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.179, allocations: 51.48 MB / 394.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.3927, allocations: 79.43 MB / 474.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.3929, allocations: 74.88 kB / 474.2 MB, free: 12.55 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.03133/0.4242, allocations: 14.05 MB / 488.3 MB, free: 2.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.4243, allocations: 15.98 kB / 488.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.4244, allocations: 59.34 kB / 488.4 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.4248, allocations: 325.9 kB / 488.7 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4248, allocations: 16 kB / 488.7 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.4249, allocations: 29.25 kB / 488.7 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004419/0.4253, allocations: 253.5 kB / 489 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4259, allocations: 415.6 kB / 489.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4259, allocations: 8 kB / 489.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.426, allocations: 0 / 489.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.426, allocations: 15.91 kB / 489.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.428, allocations: 1.5 MB / 490.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.4283, allocations: 154.2 kB / 491 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.4285, allocations: 86.16 kB / 491.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4285, allocations: 0 / 491.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.4287, allocations: 178.5 kB / 491.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.4288, allocations: 0 / 491.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006286/0.4294, allocations: 277.7 kB / 491.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4295, allocations: 320.1 kB / 491.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4298, allocations: 253 kB / 492.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.4298, allocations: 29.7 kB / 492.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.43, allocations: 244.5 kB / 492.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.4301, allocations: 92.72 kB / 492.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4301, allocations: 0 / 492.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4302, allocations: 338.5 kB / 492.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4303, allocations: 68.88 kB / 492.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.4306, allocations: 232.1 kB / 493.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.4307, allocations: 101.1 kB / 493.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4307, allocations: 4 kB / 493.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009014/0.4317, allocations: 433.7 kB / 493.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4317, allocations: 5.875 kB / 493.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4317, allocations: 8.812 kB / 493.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/0.4324, allocations: 178.1 kB / 493.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.4326, allocations: 55.59 kB / 493.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.4366, allocations: 4.542 MB / 498.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.437, allocations: 59.66 kB / 498.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4371, allocations: 15.19 kB / 498.5 MB, free: 8.359 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.0001107/0.4372, allocations: 112.9 kB / 498.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.4372, allocations: 35.61 kB / 498.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.4373, allocations: 32.44 kB / 498.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4373, allocations: 3.984 kB / 498.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.4373, allocations: 8.812 kB / 498.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4373, allocations: 3.906 kB / 498.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.4377, allocations: 359.7 kB / 499 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4377, allocations: 0 / 499 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.4379, allocations: 35.98 kB / 499.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.4382, allocations: 119.7 kB / 499.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4383, allocations: 1.688 kB / 499.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.4417, allocations: 4.996 MB / 0.4924 GB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4417, allocations: 6.875 kB / 0.4924 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005633/0.4423, allocations: 302.4 kB / 0.4927 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006374/0.4429, allocations: 0.6727 MB / 0.4933 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.443, allocations: 112.2 kB / 0.4934 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.4431, allocations: 0 / 0.4934 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4434, allocations: 39.88 kB / 0.4935 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.4435, allocations: 23.33 kB / 0.4935 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4435, allocations: 12.62 kB / 0.4935 GB, free: 1.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001805/0.4437, allocations: 194.8 kB / 0.4937 GB, free: 1.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001113/0.4448, allocations: 139.5 kB / 0.4938 GB, free: 1.004 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.0001508/0.445, allocations: 107.2 kB / 0.4939 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.4459, allocations: 0.5838 MB / 0.4945 GB, free: 348 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4459, allocations: 4.125 kB / 0.4945 GB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.4465, allocations: 0.5186 MB / 0.495 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4468, allocations: 44.2 kB / 0.4951 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.4477, allocations: 423.1 kB / 0.4955 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.4481, allocations: 0.8487 MB / 0.4963 GB, free: 14.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4481, allocations: 0 / 0.4963 GB, free: 14.5 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)