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.00134/0.00134, allocations: 200 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009047, allocations: 101.8 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.847e-05, allocations: 8 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09821, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4584, allocations: 81.93 MB / 477.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4587, allocations: 81.38 kB / 477.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2345/0.6933, allocations: 78.62 MB / 0.5429 GB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6933, allocations: 0 / 0.5429 GB, free: 1.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007331/0.6941, allocations: 99.98 kB / 0.543 GB, free: 1.246 MB / 410.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.01439/0.7085, allocations: 4.386 MB / 0.5473 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7085, allocations: 9.25 kB / 0.5473 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.7112, allocations: 0.506 MB / 0.5478 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009276/0.7205, allocations: 3.002 MB / 0.5507 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.7209, allocations: 132 kB / 0.5508 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.7229, allocations: 271.7 kB / 0.5511 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01235/0.7353, allocations: 4.826 MB / 0.5558 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.75, allocations: 5.112 MB / 0.5608 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.7502, allocations: 0 / 0.5608 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/0.7516, allocations: 4 kB / 0.5608 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/0.7517, allocations: 100 kB / 0.5609 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2983/1.05, allocations: 17.34 MB / 0.5778 GB, free: 78.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/1.055, allocations: 3.526 MB / 0.5813 GB, free: 78.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.058, allocations: 2.884 MB / 0.5841 GB, free: 78.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/1.058, allocations: 30.67 kB / 0.5841 GB, free: 78.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/1.058, allocations: 85.22 kB / 0.5842 GB, free: 78.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=301): time 5.54e-06/1.058, allocations: 0 / 0.5842 GB, free: 78.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=304): time 0.0122/1.071, allocations: 7.633 MB / 0.5916 GB, free: 77.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/1.071, allocations: 289.3 kB / 0.5919 GB, free: 77.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/1.075, allocations: 2.51 MB / 0.5944 GB, free: 77.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006725/1.076, allocations: 32.67 kB / 0.5944 GB, free: 77.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.077, allocations: 1.672 MB / 0.596 GB, free: 76.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.078, allocations: 1.044 MB / 0.597 GB, free: 76.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/1.078, allocations: 0 / 0.597 GB, free: 76.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/1.078, allocations: 441 kB / 0.5975 GB, free: 75.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/1.08, allocations: 1.895 MB / 0.5993 GB, free: 75.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.083, allocations: 2.156 MB / 0.6014 GB, free: 75.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/1.092, allocations: 4.832 MB / 0.6061 GB, free: 75.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.093, allocations: 0 / 0.6061 GB, free: 75.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007827/1.1, allocations: 4.916 MB / 0.6109 GB, free: 74.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.1, allocations: 3.406 kB / 0.6109 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.1, allocations: 3.75 kB / 0.6109 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/1.101, allocations: 336.2 kB / 0.6113 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/1.105, allocations: 0.8206 MB / 0.6121 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/1.11, allocations: 6.981 MB / 0.6189 GB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/1.114, allocations: 99.83 kB / 0.619 GB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.114, allocations: 99.22 kB / 0.6191 GB, free: 68.56 MB / 442.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 () * 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.0008486/1.115, allocations: 154.7 kB / 0.6192 GB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006073/1.121, allocations: 3.525 MB / 0.6227 GB, free: 67.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.122, allocations: 301.9 kB / 0.623 GB, free: 67.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/1.124, allocations: 364.6 kB / 0.6233 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.124, allocations: 31.56 kB / 0.6233 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.124, allocations: 3.75 kB / 0.6233 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/1.124, allocations: 15.2 kB / 0.6233 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.137, allocations: 8.393 MB / 0.6315 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.137, allocations: 1.344 kB / 0.6315 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.141, allocations: 0.7139 MB / 0.6322 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007746/1.141, allocations: 275.5 kB / 0.6325 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/1.142, allocations: 62.97 kB / 0.6326 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00629/1.148, allocations: 9.864 MB / 0.6422 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.148, allocations: 1.828 kB / 0.6422 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009296/1.157, allocations: 5.782 MB / 0.6478 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.159, allocations: 423 kB / 0.6482 GB, free: 51.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008615/1.16, allocations: 50.39 kB / 0.6483 GB, free: 51.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.163, allocations: 375.3 kB / 0.6487 GB, free: 51.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/1.163, allocations: 179.3 kB / 0.6488 GB, free: 51.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.164, allocations: 95.06 kB / 0.6489 GB, free: 51.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002521/1.166, allocations: 1.909 MB / 0.6508 GB, free: 50.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.166, allocations: 0 / 0.6508 GB, free: 50.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003461/1.17, allocations: 0.9026 MB / 0.6517 GB, free: 50.64 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 () * 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.007514/1.177, allocations: 6.611 MB / 0.6581 GB, free: 47.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005957/1.183, allocations: 4.45 MB / 0.6625 GB, free: 45.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.183, allocations: 6.344 kB / 0.6625 GB, free: 45.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.186, allocations: 2.569 MB / 0.665 GB, free: 44.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.19, allocations: 0.5094 MB / 0.6655 GB, free: 44.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.213, allocations: 11.86 MB / 0.6771 GB, free: 39.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.216, allocations: 3.199 MB / 0.6802 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004039/1.22, allocations: 1.192 MB / 0.6814 GB, free: 38.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002352/1.222, allocations: 1.528 MB / 0.6828 GB, free: 36.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/1.222, allocations: 7.875 kB / 0.6829 GB, free: 36.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3707/1.593, allocations: 70.23 MB / 0.7514 GB, free: 73.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.593, allocations: 147.1 kB / 0.7516 GB, free: 73.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/5.67, allocations: 0 / 0.7516 GB, free: 73.75 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)