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.0014/0.0014, allocations: 97.28 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 203.1 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 4 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.006827/0.16, allocations: 5.249 MB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.1648, allocations: 1.73 MB / 365.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.1658, allocations: 23.94 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.1664, allocations: 166.9 kB / 365.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.168, allocations: 0.5374 MB / 365.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.1689, allocations: 315.6 kB / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.1741, allocations: 4.275 MB / 370.5 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2431/0.4172, allocations: 2.029 MB / 372.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.4212, allocations: 1.824 MB / 374.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004379/0.4256, allocations: 2.09 MB / 376.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008343/0.4264, allocations: 281.8 kB / 376.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.4276, allocations: 281.1 kB / 377 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.4288, allocations: 0.9941 MB / 378 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.4301, allocations: 0.9301 MB / 378.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.4361, allocations: 6.272 MB / 385.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4361, allocations: 0 / 385.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4361, allocations: 0 / 385.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002635/0.4364, allocations: 0 / 385.2 MB, free: 6.672 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.01316/0.4496, allocations: 5.012 MB / 390.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4496, allocations: 8.312 kB / 390.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002183/0.4518, allocations: 0.573 MB / 390.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.4535, allocations: 0.5004 MB / 391.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.4589, allocations: 2.483 MB / 393.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.4592, allocations: 311 kB / 394.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007911/0.46, allocations: 444.5 kB / 394.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4706, allocations: 5.982 MB / 400.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.4707, allocations: 0 / 400.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.4711, allocations: 176.9 kB / 400.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/0.4712, allocations: 98.5 kB / 400.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4824, allocations: 5.36 MB / 406.1 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03874/0.5211, allocations: 18.22 MB / 424.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/0.5263, allocations: 3.701 MB / 428 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.5265, allocations: 39.97 kB / 428.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.5266, allocations: 81.5 kB / 428.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=301): time 3.937e-06/0.5266, allocations: 0 / 428.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=304): time 0.0187/0.5453, allocations: 10.01 MB / 438.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.5455, allocations: 295.4 kB / 438.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/0.5516, allocations: 3.186 MB / 441.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007693/0.5524, allocations: 93.7 kB / 441.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.5536, allocations: 1.673 MB / 443.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.5549, allocations: 1.078 MB / 444.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.5552, allocations: 77.62 kB / 444.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.5554, allocations: 440.9 kB / 445 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.5585, allocations: 2.008 MB / 447 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.5617, allocations: 2.29 MB / 449.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009476/0.5712, allocations: 4.773 MB / 454 MB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5712, allocations: 0 / 454 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.008775/0.58, allocations: 5.283 MB / 459.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.58, allocations: 11.95 kB / 459.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5801, allocations: 0 / 459.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.5811, allocations: 345.2 kB / 459.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.5845, allocations: 0.8304 MB / 460.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.5911, allocations: 7.372 MB / 467.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/0.5949, allocations: 171.8 kB / 468.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/0.5956, allocations: 96 kB / 468.1 MB, free: 10.69 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.003646/0.5993, allocations: 1.356 MB / 469.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/0.6011, allocations: 320.4 kB / 469.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.6027, allocations: 426.1 kB / 470.2 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/0.6028, allocations: 28 kB / 470.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-05/0.6028, allocations: 4 kB / 470.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.662e-05/0.6029, allocations: 15.95 kB / 470.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/0.6244, allocations: 9.168 MB / 479.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.6245, allocations: 0 / 479.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/0.6282, allocations: 0.7098 MB / 480.2 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/0.6291, allocations: 293.7 kB / 480.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005202/0.6297, allocations: 103.9 kB / 480.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009084/0.6388, allocations: 10.36 MB / 490.9 MB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6388, allocations: 1.25 kB / 490.9 MB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.6514, allocations: 6.132 MB / 497 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.6533, allocations: 465.4 kB / 497.5 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/0.6551, allocations: 104 kB / 497.6 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004881/0.66, allocations: 427.5 kB / 498 MB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/0.6606, allocations: 182 kB / 498.2 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005794/0.6612, allocations: 91.98 kB / 498.3 MB, free: 11.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006126/0.6674, allocations: 2.26 MB / 0.4888 GB, free: 9.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6674, allocations: 0 / 0.4888 GB, free: 9.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006734/0.6741, allocations: 1.027 MB / 0.4898 GB, free: 8.031 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.01399/0.6881, allocations: 7.027 MB / 0.4967 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009381/0.6976, allocations: 4.713 MB / 0.5013 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.6976, allocations: 6.562 kB / 0.5013 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004504/0.7021, allocations: 2.717 MB / 0.5039 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/0.7078, allocations: 0.6875 MB / 0.5046 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3201/1.028, allocations: 33.34 MB / 0.5372 GB, free: 144.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/1.032, allocations: 3.204 MB / 0.5403 GB, free: 143.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00401/1.036, allocations: 1.232 MB / 0.5415 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.038, allocations: 1.543 MB / 0.543 GB, free: 142.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/1.038, allocations: 0 / 0.543 GB, free: 142.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.146, allocations: 80.21 MB / 0.6213 GB, free: 72.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/1.147, allocations: 214.4 kB / 0.6215 GB, free: 71.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.342/5.488, allocations: 4.062 kB / 0.6215 GB, free: 71.77 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)