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.001285/0.001285, allocations: 117.4 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 208.5 kB / 18.79 MB, free: 4.141 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.41/1.41, allocations: 230.4 MB / 250 MB, free: 9.109 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.002172/0.002172, allocations: 67.81 kB / 366.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2858, allocations: 53.32 MB / 420.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008553/0.2944, allocations: 6.719 MB / 426.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.2983, allocations: 1.711 MB / 428.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.2991, allocations: 23.94 kB / 428.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.2998, allocations: 254 kB / 428.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3011, allocations: 0.5121 MB / 429.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.302, allocations: 451.3 kB / 429.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008151/0.3102, allocations: 7.814 MB / 437.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/0.3134, allocations: 2.179 MB / 439.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.3176, allocations: 2.746 MB / 442.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/0.3229, allocations: 2.899 MB / 445.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.3247, allocations: 0.6602 MB / 446.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.3268, allocations: 0.6562 MB / 446.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.3288, allocations: 1.589 MB / 448.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006051/0.3349, allocations: 2.945 MB / 451.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3451, allocations: 8.241 MB / 459.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3451, allocations: 0 / 459.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3451, allocations: 0 / 459.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.3454, allocations: 4 kB / 459.6 MB, free: 0.6641 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.01566/0.361, allocations: 6.036 MB / 465.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3611, allocations: 16.03 kB / 465.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.3622, allocations: 0.5841 MB / 466.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3633, allocations: 0.5446 MB / 466.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.3682, allocations: 2.668 MB / 469.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.3685, allocations: 312.5 kB / 469.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008571/0.3694, allocations: 444.2 kB / 470.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.3824, allocations: 6.311 MB / 476.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.31e-05/0.3825, allocations: 3.938 kB / 476.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005579/0.383, allocations: 180 kB / 476.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.3833, allocations: 200.4 kB / 476.9 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.3957, allocations: 5.553 MB / 482.4 MB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.4386, allocations: 18.61 MB / 0.4893 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008379/0.447, allocations: 4.339 MB / 0.4935 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/0.4521, allocations: 3.342 MB / 0.4968 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.4524, allocations: 50.72 kB / 0.4968 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.856e-05/0.4525, allocations: 89.88 kB / 0.4969 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.733e-06/0.4525, allocations: 0 / 0.4969 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01214/0.4646, allocations: 6.431 MB / 0.5032 GB, free: 8.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.4648, allocations: 303.8 kB / 0.5035 GB, free: 7.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.4708, allocations: 3.205 MB / 0.5066 GB, free: 4.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/0.4714, allocations: 105.7 kB / 0.5067 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.4728, allocations: 1.715 MB / 0.5084 GB, free: 2.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.4742, allocations: 1.321 MB / 0.5097 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.4758, allocations: 0.6498 MB / 0.5103 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4759, allocations: 305.1 kB / 0.5106 GB, free: 388 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/0.4793, allocations: 2.127 MB / 0.5127 GB, free: 14.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.4831, allocations: 2.451 MB / 0.5151 GB, free: 11.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.5011, allocations: 9.167 MB / 0.524 GB, free: 2.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5011, allocations: 0 / 0.524 GB, free: 2.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01124/0.5124, allocations: 5.603 MB / 0.5295 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5124, allocations: 7.938 kB / 0.5295 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.5124, allocations: 4 kB / 0.5295 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/0.5134, allocations: 339 kB / 0.5298 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.5171, allocations: 0.905 MB / 0.5307 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/0.5249, allocations: 7.838 MB / 0.5384 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.5282, allocations: 409.3 kB / 0.5388 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.5287, allocations: 108 kB / 0.5389 GB, free: 2.746 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.003133/0.5319, allocations: 1.41 MB / 0.5403 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.5331, allocations: 357.9 kB / 0.5406 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.5343, allocations: 443.7 kB / 0.541 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/0.5343, allocations: 36 kB / 0.541 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.223e-05/0.5344, allocations: 4 kB / 0.5411 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/0.5344, allocations: 19.92 kB / 0.5411 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2399/0.7743, allocations: 11.99 MB / 0.5528 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/0.7743, allocations: 11.84 kB / 0.5528 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003304/0.7776, allocations: 0.8133 MB / 0.5536 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006814/0.7783, allocations: 279.9 kB / 0.5539 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/0.7787, allocations: 132 kB / 0.554 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005506/0.7842, allocations: 11.04 MB / 0.5648 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.7842, allocations: 23.72 kB / 0.5648 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.7944, allocations: 7.141 MB / 0.5718 GB, free: 95.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.7959, allocations: 0.5612 MB / 0.5723 GB, free: 94.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/0.7972, allocations: 123.9 kB / 0.5724 GB, free: 94.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/0.8008, allocations: 407.6 kB / 0.5728 GB, free: 94.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/0.8014, allocations: 297.6 kB / 0.5731 GB, free: 94.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004173/0.8019, allocations: 116 kB / 0.5732 GB, free: 94.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003093/0.8049, allocations: 2.279 MB / 0.5754 GB, free: 91.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8049, allocations: 0 / 0.5754 GB, free: 91.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00382/0.8088, allocations: 1.336 MB / 0.5767 GB, free: 90.46 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.008501/0.8173, allocations: 7.878 MB / 0.5844 GB, free: 82.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006442/0.8237, allocations: 4.953 MB / 0.5893 GB, free: 77.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/0.8237, allocations: 10.56 kB / 0.5893 GB, free: 77.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.8275, allocations: 3.237 MB / 0.5924 GB, free: 73.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/0.8319, allocations: 0.8056 MB / 0.5932 GB, free: 73.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/0.8884, allocations: 38.22 MB / 0.6305 GB, free: 34.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/0.892, allocations: 3.214 MB / 0.6337 GB, free: 30.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003781/0.8958, allocations: 1.301 MB / 0.635 GB, free: 29.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/0.8984, allocations: 1.597 MB / 0.6365 GB, free: 28.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.8984, allocations: 4 kB / 0.6365 GB, free: 28.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/1.044, allocations: 79.29 MB / 0.714 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.94, allocations: 7.859 kB / 0.714 GB, free: 13.62 MB / 0.5137 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)