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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008841/0.0008841, allocations: 105.4 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.0002099, allocations: 8 kB / 358 MB, free: 9.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1816, allocations: 51.47 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0884/0.27, allocations: 82.66 MB / 492.2 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.2702, allocations: 81.17 kB / 492.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3388/0.609, allocations: 79.26 MB / 0.5581 GB, free: 51.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6091, allocations: 4 kB / 0.5581 GB, free: 51.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002986/0.6094, allocations: 115.8 kB / 0.5582 GB, free: 51.67 MB / 378.7 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.01131/0.6207, allocations: 4.948 MB / 0.5631 GB, free: 46.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6207, allocations: 8.031 kB / 0.5631 GB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.6221, allocations: 0.5629 MB / 0.5636 GB, free: 46.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.623, allocations: 0.5021 MB / 0.5641 GB, free: 45.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.6288, allocations: 3.029 MB / 0.5671 GB, free: 42.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.629, allocations: 312.1 kB / 0.5674 GB, free: 42.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/0.6295, allocations: 435.7 kB / 0.5678 GB, free: 41.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007389/0.6369, allocations: 5.795 MB / 0.5734 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-05/0.637, allocations: 0 / 0.5734 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.6373, allocations: 176 kB / 0.5736 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.6374, allocations: 96 kB / 0.5737 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006649/0.644, allocations: 5.165 MB / 0.5787 GB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02622/0.6703, allocations: 18.12 MB / 0.5964 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.6741, allocations: 3.702 MB / 0.6001 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/0.6742, allocations: 30.38 kB / 0.6001 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.6742, allocations: 89.45 kB / 0.6002 GB, free: 8.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 4.879e-06/0.6742, allocations: 0 / 0.6002 GB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=304): time 0.01303/0.6873, allocations: 10.07 MB / 0.61 GB, free: 13.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6874, allocations: 295.4 kB / 0.6103 GB, free: 13.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00403/0.6915, allocations: 2.924 MB / 0.6131 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.6918, allocations: 97.7 kB / 0.6132 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.693, allocations: 1.671 MB / 0.6149 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/0.6938, allocations: 1.078 MB / 0.6159 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.694, allocations: 72 kB / 0.616 GB, free: 7.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.6942, allocations: 444.9 kB / 0.6164 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.697, allocations: 2.005 MB / 0.6184 GB, free: 5.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.6999, allocations: 2.29 MB / 0.6206 GB, free: 2.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/0.7089, allocations: 4.783 MB / 0.6253 GB, free: 13.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7089, allocations: 0 / 0.6253 GB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007701/0.7166, allocations: 5.283 MB / 0.6304 GB, free: 8.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.7166, allocations: 8 kB / 0.6304 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7167, allocations: 3.953 kB / 0.6304 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009373/0.7176, allocations: 344.2 kB / 0.6308 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.7208, allocations: 0.8307 MB / 0.6316 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/0.7271, allocations: 7.373 MB / 0.6388 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.7294, allocations: 171.9 kB / 0.6389 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.7296, allocations: 99.94 kB / 0.639 GB, free: 15.24 MB / 426.7 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.002265/0.7319, allocations: 1.356 MB / 0.6404 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/0.7325, allocations: 324.4 kB / 0.6407 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.7333, allocations: 421.6 kB / 0.6411 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.7333, allocations: 32 kB / 0.6411 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/0.7334, allocations: 0 / 0.6411 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.7334, allocations: 19.94 kB / 0.6411 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.7468, allocations: 9.195 MB / 0.6501 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.7468, allocations: 0 / 0.6501 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003224/0.75, allocations: 0.7101 MB / 0.6508 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.7507, allocations: 285.8 kB / 0.6511 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.7509, allocations: 103.9 kB / 0.6512 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007006/0.7579, allocations: 10.32 MB / 0.6612 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.758, allocations: 0 / 0.6612 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00856/0.7665, allocations: 6.141 MB / 0.6672 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.768, allocations: 461.4 kB / 0.6677 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.7685, allocations: 104 kB / 0.6678 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/0.771, allocations: 431.5 kB / 0.6682 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1642/0.9353, allocations: 180 kB / 0.6684 GB, free: 115.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000512/0.9358, allocations: 92.11 kB / 0.6685 GB, free: 115.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003358/0.9392, allocations: 2.263 MB / 0.6707 GB, free: 115.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9392, allocations: 0 / 0.6707 GB, free: 115.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00322/0.9424, allocations: 1.028 MB / 0.6717 GB, free: 115.4 MB / 442.7 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.007286/0.9497, allocations: 7.034 MB / 0.6785 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005625/0.9553, allocations: 4.71 MB / 0.6831 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.9554, allocations: 6.25 kB / 0.6831 GB, free: 113.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.958, allocations: 2.717 MB / 0.6858 GB, free: 112.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.9606, allocations: 0.6952 MB / 0.6865 GB, free: 112.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04142/1.002, allocations: 33.36 MB / 0.7191 GB, free: 97.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00233/1.004, allocations: 3.199 MB / 0.7222 GB, free: 95.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003019/1.007, allocations: 1.229 MB / 0.7234 GB, free: 94.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.009, allocations: 1.548 MB / 0.7249 GB, free: 93 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.009, allocations: 0 / 0.7249 GB, free: 93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/1.101, allocations: 80.21 MB / 0.8032 GB, free: 19.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001202/1.101, allocations: 211.8 kB / 0.8034 GB, free: 19.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/4.774, allocations: 0 / 0.8034 GB, free: 19.25 MB / 442.7 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)