Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.89 kB / 358.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 50.55 MB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007649/0.2701, allocations: 6.692 MB / 415.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.274, allocations: 1.707 MB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/0.2748, allocations: 23.94 kB / 417.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.2755, allocations: 250 kB / 417.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2767, allocations: 0.4888 MB / 418.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.2777, allocations: 447.3 kB / 418.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008658/0.2863, allocations: 7.841 MB / 426.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004057/0.2904, allocations: 2.882 MB / 429.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.2951, allocations: 2.735 MB / 432.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005427/0.3005, allocations: 2.864 MB / 435 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.3021, allocations: 0.6602 MB / 435.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3039, allocations: 0.6562 MB / 436.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.3057, allocations: 1.593 MB / 437.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00475/0.3104, allocations: 2.941 MB / 440.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008331/0.3188, allocations: 8.233 MB / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3188, allocations: 0 / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3189, allocations: 0 / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002133/0.3191, allocations: 0 / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01433/0.3334, allocations: 6.044 MB / 455.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3335, allocations: 12.03 kB / 455.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.3345, allocations: 0.5957 MB / 455.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3356, allocations: 0.5446 MB / 456.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/0.3404, allocations: 2.664 MB / 459 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.3407, allocations: 316.5 kB / 459.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008236/0.3415, allocations: 444.2 kB / 459.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.3538, allocations: 6.307 MB / 466 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.921e-05/0.354, allocations: 0 / 466 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005303/0.3545, allocations: 176 kB / 466.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.3547, allocations: 196.5 kB / 466.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.3668, allocations: 5.549 MB / 471.9 MB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03895/0.4058, allocations: 18.61 MB / 490.5 MB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007393/0.4132, allocations: 4.518 MB / 495.1 MB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004784/0.418, allocations: 3.549 MB / 498.6 MB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4182, allocations: 38.81 kB / 498.6 MB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.4183, allocations: 89.94 kB / 498.7 MB, free: 6.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 5.38e-06/0.4183, allocations: 0 / 498.7 MB, free: 6.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.0105/0.4288, allocations: 6.447 MB / 0.4933 GB, free: 204 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.4291, allocations: 299.8 kB / 0.4936 GB, free: 15.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.4344, allocations: 3.197 MB / 0.4967 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006451/0.435, allocations: 105.7 kB / 0.4968 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.4365, allocations: 1.719 MB / 0.4985 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/0.438, allocations: 1.317 MB / 0.4998 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.4391, allocations: 0.6459 MB / 0.5004 GB, free: 8.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4393, allocations: 313.1 kB / 0.5007 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.4425, allocations: 2.123 MB / 0.5028 GB, free: 6.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/0.4463, allocations: 2.455 MB / 0.5052 GB, free: 3.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/0.4633, allocations: 9.167 MB / 0.5142 GB, free: 10.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.4634, allocations: 0 / 0.5142 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.009042/0.4724, allocations: 5.611 MB / 0.5196 GB, free: 5.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.4725, allocations: 7.938 kB / 0.5197 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.4725, allocations: 11.92 kB / 0.5197 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.4735, allocations: 334.2 kB / 0.52 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.477, allocations: 0.9127 MB / 0.5209 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/0.4845, allocations: 7.834 MB / 0.5285 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.4877, allocations: 409.2 kB / 0.5289 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/0.4881, allocations: 108 kB / 0.529 GB, free: 10.84 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002577/0.4906, allocations: 1.406 MB / 0.5304 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008384/0.4915, allocations: 357.9 kB / 0.5307 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000956/0.4925, allocations: 451.6 kB / 0.5312 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.4925, allocations: 32 kB / 0.5312 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/0.4925, allocations: 4 kB / 0.5312 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.4926, allocations: 19.92 kB / 0.5312 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2346/0.7272, allocations: 11.99 MB / 0.5429 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.7273, allocations: 12.64 kB / 0.5429 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.7306, allocations: 0.8116 MB / 0.5437 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006818/0.7313, allocations: 287.8 kB / 0.544 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/0.7316, allocations: 123.7 kB / 0.5441 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.7367, allocations: 11.03 MB / 0.5549 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/0.7368, allocations: 26.72 kB / 0.5549 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009647/0.7464, allocations: 7.146 MB / 0.5619 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.748, allocations: 0.5647 MB / 0.5624 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000704/0.7487, allocations: 127.3 kB / 0.5626 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/0.7518, allocations: 412.6 kB / 0.563 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/0.7524, allocations: 286.6 kB / 0.5632 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/0.7527, allocations: 125.4 kB / 0.5634 GB, free: 109.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003143/0.7559, allocations: 2.276 MB / 0.5656 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7559, allocations: 0 / 0.5656 GB, free: 107.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003943/0.7598, allocations: 1.341 MB / 0.5669 GB, free: 106.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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.L[8].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[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].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[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].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[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008445/0.7683, allocations: 7.881 MB / 0.5746 GB, free: 98.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006028/0.7744, allocations: 5.146 MB / 0.5796 GB, free: 93.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/0.7744, allocations: 6.562 kB / 0.5796 GB, free: 93.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.7779, allocations: 3.298 MB / 0.5828 GB, free: 90.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/0.7816, allocations: 0.8083 MB / 0.5836 GB, free: 89.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04869/0.8304, allocations: 38.19 MB / 0.6209 GB, free: 50.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/0.8328, allocations: 3.207 MB / 0.6241 GB, free: 47.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003036/0.8359, allocations: 1.297 MB / 0.6253 GB, free: 45.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/0.8378, allocations: 1.601 MB / 0.6269 GB, free: 44.22 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.8379, allocations: 0 / 0.6269 GB, free: 44.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/0.9949, allocations: 78.61 MB / 0.7036 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/17.86, allocations: 6.953 kB / 0.7037 GB, free: 14.52 MB / 0.4981 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.csv --start-time 0 --stop-time 0.004 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)