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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 64.03 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2774, allocations: 50.54 MB / 408.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007868/0.2853, allocations: 6.698 MB / 415.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2895, allocations: 1.707 MB / 417.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.2908, allocations: 23.94 kB / 417.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008953/0.2917, allocations: 257.9 kB / 417.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.2933, allocations: 492.5 kB / 418 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.2943, allocations: 451.3 kB / 418.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008905/0.3032, allocations: 7.833 MB / 426.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/0.3074, allocations: 2.882 MB / 429.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.3121, allocations: 2.742 MB / 431.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005181/0.3173, allocations: 2.86 MB / 434.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.3192, allocations: 0.6602 MB / 435.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.3211, allocations: 0.6562 MB / 436 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.3228, allocations: 1.589 MB / 437.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005169/0.328, allocations: 2.949 MB / 440.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009689/0.3377, allocations: 8.233 MB / 448.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3378, allocations: 0 / 448.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3378, allocations: 0 / 448.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002853/0.3381, allocations: 0 / 448.8 MB, free: 9.445 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.01556/0.3537, allocations: 6.04 MB / 454.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3537, allocations: 8.031 kB / 454.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.3548, allocations: 0.5996 MB / 455.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3559, allocations: 0.5407 MB / 456 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.361, allocations: 2.668 MB / 458.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.3612, allocations: 324.5 kB / 459 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008073/0.3621, allocations: 440.2 kB / 459.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.374, allocations: 6.307 MB / 465.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.3741, allocations: 4 kB / 465.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.3746, allocations: 176 kB / 465.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.3748, allocations: 200.5 kB / 466.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.3866, allocations: 5.545 MB / 471.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/0.427, allocations: 18.6 MB / 490.2 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/0.4346, allocations: 4.526 MB / 494.8 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004648/0.4393, allocations: 3.541 MB / 498.3 MB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.4394, allocations: 42.72 kB / 498.3 MB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.4395, allocations: 85.94 kB / 498.4 MB, free: 7.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 4.869e-06/0.4396, allocations: 0 / 498.4 MB, free: 7.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.01065/0.4502, allocations: 6.447 MB / 0.493 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.4504, allocations: 295.8 kB / 0.4933 GB, free: 148 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/0.4556, allocations: 3.209 MB / 0.4965 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006308/0.4562, allocations: 101.7 kB / 0.4966 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4577, allocations: 1.719 MB / 0.4982 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.4592, allocations: 1.317 MB / 0.4995 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.4602, allocations: 0.6459 MB / 0.5001 GB, free: 9.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4604, allocations: 305.1 kB / 0.5004 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/0.4637, allocations: 2.127 MB / 0.5025 GB, free: 6.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/0.4672, allocations: 2.459 MB / 0.5049 GB, free: 4.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/0.4842, allocations: 9.155 MB / 0.5139 GB, free: 10.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.4842, allocations: 0 / 0.5139 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.009779/0.494, allocations: 5.622 MB / 0.5193 GB, free: 5.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.4941, allocations: 7.938 kB / 0.5194 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4941, allocations: 3.938 kB / 0.5194 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.4951, allocations: 327.1 kB / 0.5197 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.4989, allocations: 0.9089 MB / 0.5206 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007728/0.5067, allocations: 7.839 MB / 0.5282 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.5099, allocations: 413.2 kB / 0.5286 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/0.5103, allocations: 104 kB / 0.5287 GB, free: 11.14 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.002844/0.5131, allocations: 1.406 MB / 0.5301 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.5141, allocations: 357.9 kB / 0.5304 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.515, allocations: 451.6 kB / 0.5309 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.5151, allocations: 36 kB / 0.5309 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/0.5151, allocations: 4 kB / 0.5309 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.5152, allocations: 15.94 kB / 0.5309 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2321/0.7473, allocations: 12 MB / 0.5426 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.7474, allocations: 14.66 kB / 0.5426 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/0.7506, allocations: 0.8165 MB / 0.5434 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006221/0.7512, allocations: 281.3 kB / 0.5437 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.7515, allocations: 127.7 kB / 0.5438 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005251/0.7567, allocations: 11.04 MB / 0.5546 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/0.7568, allocations: 26.66 kB / 0.5546 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007855/0.7646, allocations: 7.152 MB / 0.5616 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7657, allocations: 0.5569 MB / 0.5622 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/0.7661, allocations: 128.2 kB / 0.5623 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/0.7686, allocations: 412 kB / 0.5627 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/0.769, allocations: 282.3 kB / 0.5629 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.7692, allocations: 118.2 kB / 0.5631 GB, free: 108.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002386/0.7716, allocations: 2.28 MB / 0.5653 GB, free: 106.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7716, allocations: 0 / 0.5653 GB, free: 106.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002599/0.7742, allocations: 1.344 MB / 0.5666 GB, free: 105.5 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.007176/0.7814, allocations: 7.877 MB / 0.5743 GB, free: 98.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005564/0.787, allocations: 5.15 MB / 0.5793 GB, free: 92.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.787, allocations: 10.5 kB / 0.5793 GB, free: 92.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.7903, allocations: 3.29 MB / 0.5825 GB, free: 89.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.7943, allocations: 0.805 MB / 0.5833 GB, free: 88.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04261/0.837, allocations: 38.18 MB / 0.6206 GB, free: 49.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.8393, allocations: 3.214 MB / 0.6238 GB, free: 46.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0029/0.8422, allocations: 1.297 MB / 0.625 GB, free: 45.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/0.844, allocations: 1.604 MB / 0.6266 GB, free: 43.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.844, allocations: 0 / 0.6266 GB, free: 43.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/0.9815, allocations: 78.56 MB / 0.7033 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/18, allocations: 5.969 kB / 0.7033 GB, free: 13.82 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)