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.001102/0.001103, allocations: 97.59 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002334, allocations: 8 kB / 306.8 MB, free: 1.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.114, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005874/0.1199, allocations: 5.74 MB / 364.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.1232, allocations: 1.648 MB / 365.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.1238, allocations: 19.94 kB / 365.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1243, allocations: 198.7 kB / 365.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008401/0.1251, allocations: 417.2 kB / 366.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.1258, allocations: 323.5 kB / 366.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2598/0.3856, allocations: 8.138 MB / 374.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.3891, allocations: 2.019 MB / 376.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.393, allocations: 1.831 MB / 378.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.3979, allocations: 2.118 MB / 380.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.3993, allocations: 282.4 kB / 381 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.401, allocations: 283.6 kB / 381.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.4024, allocations: 1.015 MB / 382.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.4045, allocations: 0.9292 MB / 383.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007771/0.4123, allocations: 6.294 MB / 389.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.4124, allocations: 0 / 389.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.4124, allocations: 2.531 kB / 389.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003531/0.4127, allocations: 0 / 389.5 MB, free: 6.082 MB / 302.1 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.0179/0.4306, allocations: 5.021 MB / 394.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4307, allocations: 10 kB / 394.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002995/0.4337, allocations: 0.5659 MB / 395.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4355, allocations: 0.5057 MB / 395.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.4403, allocations: 2.485 MB / 398.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.4406, allocations: 312.1 kB / 398.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007687/0.4413, allocations: 444.2 kB / 398.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.4539, allocations: 6.02 MB / 404.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.454, allocations: 0 / 404.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005616/0.4546, allocations: 176 kB / 405.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.4547, allocations: 96 kB / 405.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.4665, allocations: 5.356 MB / 410.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.5117, allocations: 18.23 MB / 428.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005702/0.5175, allocations: 3.705 MB / 432.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.5215, allocations: 3.018 MB / 435.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.5217, allocations: 36.95 kB / 435.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.5218, allocations: 81.5 kB / 435.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=301): time 5.33e-06/0.5218, allocations: 0 / 435.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=304): time 0.02308/0.5449, allocations: 10.01 MB / 445.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/0.5452, allocations: 287.4 kB / 445.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009481/0.5547, allocations: 3.197 MB / 449.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001426/0.5562, allocations: 97.7 kB / 449.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.5581, allocations: 1.672 MB / 450.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002437/0.5606, allocations: 1.079 MB / 451.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/0.5611, allocations: 68 kB / 452 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000413/0.5615, allocations: 449 kB / 452.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005444/0.5669, allocations: 1.997 MB / 454.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/0.5727, allocations: 2.297 MB / 456.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.5883, allocations: 4.772 MB / 461.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.5884, allocations: 10.28 kB / 461.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01047/0.5989, allocations: 5.279 MB / 466.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.5989, allocations: 7.984 kB / 466.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5989, allocations: 4 kB / 466.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.6, allocations: 347.3 kB / 467.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.6033, allocations: 0.8306 MB / 468 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/0.6111, allocations: 7.286 MB / 475.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.615, allocations: 163.8 kB / 475.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.6155, allocations: 96 kB / 475.5 MB, free: 4.672 MB / 382.1 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 () * Number of clocked 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.003856/0.6194, allocations: 1.361 MB / 476.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.6206, allocations: 316.4 kB / 477.2 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6217, allocations: 425.6 kB / 477.6 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.6217, allocations: 28 kB / 477.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-05/0.6218, allocations: 4 kB / 477.6 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.6218, allocations: 19.89 kB / 477.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.6413, allocations: 9.16 MB / 486.8 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.6413, allocations: 3.984 kB / 486.8 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/0.6449, allocations: 0.7187 MB / 487.5 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/0.6458, allocations: 281.8 kB / 487.8 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/0.6461, allocations: 103.9 kB / 487.9 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009008/0.6551, allocations: 10.29 MB / 498.2 MB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6552, allocations: 0 / 498.2 MB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.6663, allocations: 6.088 MB / 0.4925 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/0.6686, allocations: 465.4 kB / 0.4929 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/0.6694, allocations: 95.95 kB / 0.493 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/0.6723, allocations: 433.9 kB / 0.4934 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/0.6727, allocations: 182.1 kB / 0.4936 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002656/0.673, allocations: 95.92 kB / 0.4937 GB, free: 5.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004102/0.6771, allocations: 2.256 MB / 0.4959 GB, free: 3.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6771, allocations: 0 / 0.4959 GB, free: 3.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004816/0.6819, allocations: 1.031 MB / 0.4969 GB, free: 2.152 MB / 414.1 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 () * Number of clocked 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.01066/0.6926, allocations: 6.784 MB / 0.5035 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008388/0.701, allocations: 4.706 MB / 0.5081 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.126e-05/0.7011, allocations: 6.562 kB / 0.5081 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004354/0.7055, allocations: 2.718 MB / 0.5108 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/0.7103, allocations: 0.7555 MB / 0.5115 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2926/1.003, allocations: 33.16 MB / 0.5439 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/1.007, allocations: 3.125 MB / 0.5469 GB, free: 141.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00427/1.011, allocations: 1.234 MB / 0.5481 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/1.013, allocations: 1.54 MB / 0.5496 GB, free: 140.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/1.013, allocations: 0 / 0.5496 GB, free: 140.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/1.138, allocations: 80.29 MB / 0.6281 GB, free: 66.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.139, allocations: 226.4 kB / 0.6283 GB, free: 66.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.443/5.582, allocations: 3.938 kB / 0.6283 GB, free: 66.25 MB / 446.1 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)