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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009221/0.0009221, allocations: 87.47 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.308e-05, allocations: 8 kB / 350.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.09993, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4156, allocations: 82.6 MB / 484.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.4158, allocations: 74.52 kB / 484.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2114/0.6273, allocations: 79.44 MB / 0.551 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6273, allocations: 4 kB / 0.551 GB, free: 8.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004822/0.6278, allocations: 104 kB / 0.5511 GB, free: 8.582 MB / 426.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.01424/0.6421, allocations: 4.39 MB / 0.5554 GB, free: 4.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.6421, allocations: 8.031 kB / 0.5554 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002229/0.6444, allocations: 0.5512 MB / 0.5559 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.6471, allocations: 0.5067 MB / 0.5564 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009554/0.6566, allocations: 3.002 MB / 0.5594 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.6571, allocations: 316 kB / 0.5597 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.6587, allocations: 439.7 kB / 0.5601 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.6723, allocations: 5.698 MB / 0.5657 GB, free: 9.438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.6725, allocations: 3.953 kB / 0.5657 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.6736, allocations: 177.2 kB / 0.5658 GB, free: 9.262 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.776e-05/0.6737, allocations: 96 kB / 0.5659 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.6847, allocations: 5.033 MB / 0.5708 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2631/0.9479, allocations: 18.12 MB / 0.5885 GB, free: 79.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.9523, allocations: 3.643 MB / 0.5921 GB, free: 79.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.9555, allocations: 2.98 MB / 0.595 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.9556, allocations: 37.41 kB / 0.595 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/0.9557, allocations: 83.44 kB / 0.5951 GB, free: 79.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=301): time 5.26e-06/0.9557, allocations: 0 / 0.5951 GB, free: 79.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=304): time 0.01177/0.9675, allocations: 8.121 MB / 0.603 GB, free: 78.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9676, allocations: 291.2 kB / 0.6033 GB, free: 77.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/0.9722, allocations: 2.893 MB / 0.6062 GB, free: 77.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005558/0.9728, allocations: 100.8 kB / 0.6062 GB, free: 77.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.9739, allocations: 1.669 MB / 0.6079 GB, free: 77.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.975, allocations: 1.081 MB / 0.6089 GB, free: 76.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.9752, allocations: 66.31 kB / 0.609 GB, free: 76.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.9754, allocations: 444.2 kB / 0.6094 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.9787, allocations: 1.956 MB / 0.6113 GB, free: 76.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/0.9818, allocations: 2.245 MB / 0.6135 GB, free: 76.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/0.9912, allocations: 4.922 MB / 0.6183 GB, free: 74.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.9913, allocations: 2.75 kB / 0.6183 GB, free: 74.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.008873/1, allocations: 5.2 MB / 0.6234 GB, free: 72.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1, allocations: 5.781 kB / 0.6234 GB, free: 72.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1, allocations: 1.5 kB / 0.6234 GB, free: 72.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000954/1.001, allocations: 346.9 kB / 0.6237 GB, free: 72.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.005, allocations: 0.82 MB / 0.6245 GB, free: 72.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/1.01, allocations: 7.277 MB / 0.6317 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/1.014, allocations: 167.6 kB / 0.6318 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/1.014, allocations: 94.97 kB / 0.6319 GB, free: 66.06 MB / 442.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.000839/1.015, allocations: 281.8 kB / 0.6322 GB, free: 65.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008414/1.016, allocations: 316.6 kB / 0.6325 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.017, allocations: 425.6 kB / 0.6329 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.017, allocations: 32.5 kB / 0.6329 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-05/1.017, allocations: 3.531 kB / 0.6329 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.017, allocations: 21.92 kB / 0.6329 GB, free: 65.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.031, allocations: 9.117 MB / 0.6418 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.032, allocations: 0 / 0.6418 GB, free: 61.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003077/1.035, allocations: 0.708 MB / 0.6425 GB, free: 61.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/1.035, allocations: 279.6 kB / 0.6428 GB, free: 61.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/1.036, allocations: 107.6 kB / 0.6429 GB, free: 61.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/1.04, allocations: 10.25 MB / 0.6529 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.041, allocations: 3.5 kB / 0.6529 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/1.048, allocations: 6.021 MB / 0.6588 GB, free: 49.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.05, allocations: 461.4 kB / 0.6592 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.05, allocations: 105 kB / 0.6593 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.053, allocations: 420.1 kB / 0.6597 GB, free: 48.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/1.053, allocations: 184.7 kB / 0.6599 GB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.053, allocations: 92.28 kB / 0.66 GB, free: 48.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002515/1.056, allocations: 2.231 MB / 0.6622 GB, free: 48.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 0 / 0.6622 GB, free: 48.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002459/1.058, allocations: 1.033 MB / 0.6632 GB, free: 47.98 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.006876/1.065, allocations: 6.92 MB / 0.6699 GB, free: 44.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005308/1.07, allocations: 4.625 MB / 0.6745 GB, free: 42.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.07, allocations: 6.531 kB / 0.6745 GB, free: 42.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/1.073, allocations: 2.67 MB / 0.6771 GB, free: 41.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.076, allocations: 0.6901 MB / 0.6777 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.093, allocations: 12.18 MB / 0.6896 GB, free: 35.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/1.095, allocations: 3.2 MB / 0.6928 GB, free: 32.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003296/1.099, allocations: 1.231 MB / 0.694 GB, free: 32.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.1, allocations: 1.545 MB / 0.6955 GB, free: 30.64 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/1.1, allocations: 0 / 0.6955 GB, free: 30.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/1.423, allocations: 79.86 MB / 0.7735 GB, free: 84.09 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.423, allocations: 182.9 kB / 0.7736 GB, free: 83.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.286/5.709, allocations: 0 / 0.7736 GB, free: 83.86 MB / 458.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)