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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",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.001145/0.001145, allocations: 196 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008703/0.0008704, allocations: 96.81 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09433/0.09522, allocations: 56.91 MB / 343.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.1803, allocations: 51.48 MB / 394.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.3931, allocations: 81.85 MB / 476.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.3933, allocations: 77.78 kB / 476.7 MB, free: 11.09 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.2041/0.5975, allocations: 83.1 MB / 0.5466 GB, free: 13.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5975, allocations: 8 kB / 0.5466 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5987, allocations: 0.506 MB / 0.5471 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006742/0.6054, allocations: 3.045 MB / 0.5501 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6055, allocations: 132 kB / 0.5502 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005815/0.6061, allocations: 267.8 kB / 0.5505 GB, free: 9.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007546/0.6137, allocations: 5.006 MB / 0.5554 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008152/0.6219, allocations: 5.261 MB / 0.5605 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/0.6219, allocations: 0 / 0.5605 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.6223, allocations: 4 kB / 0.5605 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.449e-05/0.6224, allocations: 96 kB / 0.5606 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1432/0.7656, allocations: 17.55 MB / 0.5778 GB, free: 132.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.7681, allocations: 2.268 MB / 0.58 GB, free: 132.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.7708, allocations: 2.908 MB / 0.5828 GB, free: 132.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.771, allocations: 29.72 kB / 0.5828 GB, free: 132.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.771, allocations: 85.56 kB / 0.5829 GB, free: 132.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=301): time 4.609e-06/0.771, allocations: 0 / 0.5829 GB, free: 132.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=304): time 0.009869/0.7809, allocations: 7.829 MB / 0.5906 GB, free: 131.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.781, allocations: 292.9 kB / 0.5908 GB, free: 131.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/0.7838, allocations: 2.578 MB / 0.5934 GB, free: 131.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.784, allocations: 32.92 kB / 0.5934 GB, free: 131 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.7845, allocations: 1.277 MB / 0.5946 GB, free: 130.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/0.785, allocations: 1.045 MB / 0.5957 GB, free: 129.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.7852, allocations: 0 / 0.5957 GB, free: 129.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7853, allocations: 445.5 kB / 0.5961 GB, free: 129.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.7874, allocations: 1.991 MB / 0.598 GB, free: 129.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.7897, allocations: 2.244 MB / 0.6002 GB, free: 129.4 MB / 442.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.008301/0.798, allocations: 4.998 MB / 0.6051 GB, free: 128.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.798, allocations: 0 / 0.6051 GB, free: 128.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.006302/0.8043, allocations: 5.123 MB / 0.6101 GB, free: 128.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8043, allocations: 7.281 kB / 0.6101 GB, free: 128.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8043, allocations: 0 / 0.6101 GB, free: 128.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/0.8052, allocations: 334.1 kB / 0.6104 GB, free: 128.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.8084, allocations: 0.7986 MB / 0.6112 GB, free: 128.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/0.8134, allocations: 6.911 MB / 0.618 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.8157, allocations: 71.89 kB / 0.618 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.8159, allocations: 96.62 kB / 0.6181 GB, free: 122.3 MB / 442.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.0005549/0.8165, allocations: 155.5 kB / 0.6183 GB, free: 122.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.8169, allocations: 295.7 kB / 0.6185 GB, free: 122.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.8177, allocations: 359.7 kB / 0.6189 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.8177, allocations: 29.78 kB / 0.6189 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.81e-05/0.8177, allocations: 7.688 kB / 0.6189 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.8178, allocations: 18.64 kB / 0.6189 GB, free: 121.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.8285, allocations: 8.576 MB / 0.6273 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.8286, allocations: 3.938 kB / 0.6273 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/0.832, allocations: 0.7036 MB / 0.628 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006504/0.8327, allocations: 280.6 kB / 0.6283 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.8329, allocations: 70.05 kB / 0.6283 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.8383, allocations: 9.815 MB / 0.6379 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8383, allocations: 4.969 kB / 0.6379 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007782/0.8461, allocations: 5.988 MB / 0.6438 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009082/0.8552, allocations: 8.769 MB / 0.6523 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.8561, allocations: 429 kB / 0.6528 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/0.8567, allocations: 61.16 kB / 0.6528 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/0.8593, allocations: 332.1 kB / 0.6531 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.8596, allocations: 153.1 kB / 0.6533 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/0.8598, allocations: 94.16 kB / 0.6534 GB, free: 103 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002272/0.8621, allocations: 1.958 MB / 0.6553 GB, free: 102.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002935/0.865, allocations: 0.8975 MB / 0.6562 GB, free: 102.2 MB / 442.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.0003714/0.8654, allocations: 196.3 kB / 0.6563 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.8703, allocations: 4.555 MB / 0.6608 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.8704, allocations: 6.906 kB / 0.6608 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.8729, allocations: 2.587 MB / 0.6633 GB, free: 99.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.8748, allocations: 493.2 kB / 0.6638 GB, free: 98.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.8897, allocations: 10.67 MB / 0.6742 GB, free: 94.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00377/0.8935, allocations: 3.561 MB / 0.6777 GB, free: 93.59 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.8936, allocations: 0 / 0.6777 GB, free: 93.59 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)