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.001268/0.001268, allocations: 117.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.001315/0.001315, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 63.88 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2761, allocations: 50.54 MB / 408.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008169/0.2843, allocations: 6.702 MB / 415.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.2879, allocations: 1.699 MB / 417.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.2886, allocations: 23.94 kB / 417.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.2893, allocations: 253.9 kB / 417.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2905, allocations: 0.4965 MB / 418 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2915, allocations: 443.3 kB / 418.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008315/0.2998, allocations: 7.833 MB / 426.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003681/0.3036, allocations: 2.89 MB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.3078, allocations: 2.739 MB / 431.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.3132, allocations: 2.86 MB / 434.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.3154, allocations: 0.6602 MB / 435.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.3176, allocations: 0.6562 MB / 436.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.3196, allocations: 1.589 MB / 437.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00673/0.3263, allocations: 2.945 MB / 440.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3375, allocations: 8.233 MB / 448.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3375, allocations: 0 / 448.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3375, allocations: 0 / 448.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.3378, allocations: 0 / 448.9 MB, free: 9.246 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.0178/0.3556, allocations: 6.044 MB / 454.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3557, allocations: 8.031 kB / 454.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/0.3572, allocations: 0.5919 MB / 455.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.3587, allocations: 0.5407 MB / 456.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/0.3637, allocations: 2.668 MB / 458.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.3641, allocations: 316.5 kB / 459 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009438/0.365, allocations: 448.2 kB / 459.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.38, allocations: 6.303 MB / 465.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.3802, allocations: 0 / 465.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.3817, allocations: 176 kB / 465.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004472/0.3822, allocations: 204.5 kB / 466.1 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.3958, allocations: 5.549 MB / 471.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04282/0.4387, allocations: 18.61 MB / 490.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008006/0.4468, allocations: 4.522 MB / 494.8 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005378/0.4522, allocations: 3.541 MB / 498.4 MB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.4524, allocations: 38.81 kB / 498.4 MB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.4525, allocations: 93.92 kB / 498.5 MB, free: 6.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 5.81e-06/0.4525, allocations: 0 / 498.5 MB, free: 6.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.01263/0.4652, allocations: 6.439 MB / 0.4931 GB, free: 312 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003133/0.4656, allocations: 303.8 kB / 0.4934 GB, free: 15.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007909/0.4735, allocations: 3.201 MB / 0.4965 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007661/0.4743, allocations: 101.7 kB / 0.4966 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.4761, allocations: 1.723 MB / 0.4983 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001967/0.478, allocations: 1.321 MB / 0.4996 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002448/0.4805, allocations: 0.642 MB / 0.5002 GB, free: 8.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4807, allocations: 313 kB / 0.5005 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/0.4848, allocations: 2.123 MB / 0.5026 GB, free: 6.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/0.4897, allocations: 2.463 MB / 0.505 GB, free: 3.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02032/0.51, allocations: 9.159 MB / 0.5139 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.5101, allocations: 0 / 0.5139 GB, free: 10.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01214/0.5222, allocations: 5.615 MB / 0.5194 GB, free: 5.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5223, allocations: 11.94 kB / 0.5194 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5223, allocations: 0 / 0.5194 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.5235, allocations: 331.1 kB / 0.5197 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.5277, allocations: 0.905 MB / 0.5206 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008798/0.5365, allocations: 7.843 MB / 0.5283 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/0.5405, allocations: 413.3 kB / 0.5287 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000813/0.5414, allocations: 108 kB / 0.5288 GB, free: 10.94 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.004502/0.5459, allocations: 1.399 MB / 0.5301 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/0.5478, allocations: 361.9 kB / 0.5305 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.5495, allocations: 451.6 kB / 0.5309 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/0.5495, allocations: 36 kB / 0.531 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-05/0.5496, allocations: 4 kB / 0.531 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/0.5497, allocations: 15.94 kB / 0.531 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2268/0.7764, allocations: 12 MB / 0.5427 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.7765, allocations: 11.5 kB / 0.5427 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/0.7797, allocations: 0.8147 MB / 0.5435 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/0.7803, allocations: 282.8 kB / 0.5438 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.7806, allocations: 132.2 kB / 0.5439 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.7856, allocations: 11.03 MB / 0.5547 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/0.7856, allocations: 22.75 kB / 0.5547 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008113/0.7937, allocations: 7.152 MB / 0.5617 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.795, allocations: 0.5616 MB / 0.5622 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/0.7956, allocations: 122.5 kB / 0.5623 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/0.7983, allocations: 410.4 kB / 0.5627 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.7988, allocations: 283.5 kB / 0.563 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/0.799, allocations: 126.1 kB / 0.5631 GB, free: 108.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002558/0.8016, allocations: 2.278 MB / 0.5653 GB, free: 106.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8016, allocations: 4 kB / 0.5653 GB, free: 106.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003312/0.8049, allocations: 1.336 MB / 0.5667 GB, free: 105.4 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.007802/0.8127, allocations: 7.89 MB / 0.5744 GB, free: 97.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006161/0.8189, allocations: 5.146 MB / 0.5794 GB, free: 92.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.432e-05/0.819, allocations: 14.56 kB / 0.5794 GB, free: 92.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.8228, allocations: 3.29 MB / 0.5826 GB, free: 89.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.8269, allocations: 0.8037 MB / 0.5834 GB, free: 88.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04722/0.8741, allocations: 38.18 MB / 0.6207 GB, free: 49.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/0.8768, allocations: 3.214 MB / 0.6238 GB, free: 46.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003085/0.8799, allocations: 1.297 MB / 0.6251 GB, free: 45.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/0.882, allocations: 1.601 MB / 0.6267 GB, free: 43.45 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.882, allocations: 0 / 0.6267 GB, free: 43.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.022, allocations: 78.56 MB / 0.7034 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/17.89, allocations: 7.562 kB / 0.7034 GB, free: 13.66 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 & /home/hudson/saved_omc/OMSimulator/install/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)