Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_cpp_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.001323/0.001323, allocations: 200.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 226.5 MB / 244.7 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007854/0.0007855, allocations: 98.73 kB / 296.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002279, allocations: 8 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1774, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.003648/0.1811, allocations: 5.735 MB / 413.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1829, allocations: 1.654 MB / 415.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.1832, allocations: 19.94 kB / 415.5 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1836, allocations: 190.7 kB / 415.7 MB, free: 20.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006111/0.1842, allocations: 425.2 kB / 416.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1847, allocations: 323.4 kB / 416.5 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.1891, allocations: 8.243 MB / 424.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1911, allocations: 2.464 MB / 427.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.1928, allocations: 1.825 MB / 429 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.1945, allocations: 2.124 MB / 431.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.1949, allocations: 280 kB / 431.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.1954, allocations: 288 kB / 431.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.196, allocations: 1.012 MB / 432.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.1978, allocations: 2.296 MB / 435 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.2024, allocations: 6.294 MB / 441.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2025, allocations: 0 / 441.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2025, allocations: 4 kB / 441.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.2026, allocations: 0 / 441.3 MB, free: 10.38 MB / 314.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.009728/0.2124, allocations: 4.972 MB / 446.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2124, allocations: 15.97 kB / 446.3 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008656/0.2133, allocations: 0.5631 MB / 446.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007658/0.2141, allocations: 0.507 MB / 447.3 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.2178, allocations: 2.569 MB / 449.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.218, allocations: 316.5 kB / 450.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005865/0.2186, allocations: 436.1 kB / 450.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009058/0.2276, allocations: 6.025 MB / 456.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.2277, allocations: 0 / 456.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.2281, allocations: 172 kB / 456.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.2282, allocations: 100 kB / 456.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007932/0.2361, allocations: 5.36 MB / 462.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02866/0.2648, allocations: 18.23 MB / 480.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/0.2696, allocations: 3.698 MB / 484.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.2732, allocations: 3.028 MB / 487.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.2733, allocations: 30.38 kB / 487.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.452e-05/0.2734, allocations: 89.38 kB / 487.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 4.388e-06/0.2734, allocations: 0 / 487.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=304): time 0.01524/0.2887, allocations: 10 MB / 497.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.2889, allocations: 299.4 kB / 497.7 MB, free: 1.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/0.2937, allocations: 3.186 MB / 0.4891 GB, free: 13.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005159/0.2942, allocations: 97.7 kB / 0.4892 GB, free: 13.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2954, allocations: 1.679 MB / 0.4908 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009067/0.2963, allocations: 1.082 MB / 0.4919 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.2965, allocations: 68 kB / 0.492 GB, free: 10.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.2967, allocations: 441 kB / 0.4924 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.2996, allocations: 2.001 MB / 0.4943 GB, free: 8.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.3026, allocations: 2.298 MB / 0.4966 GB, free: 6.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1746/0.4773, allocations: 8.582 MB / 0.505 GB, free: 86.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4773, allocations: 1.625 kB / 0.505 GB, free: 86.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007508/0.4848, allocations: 5.269 MB / 0.5101 GB, free: 85.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4849, allocations: 8.375 kB / 0.5101 GB, free: 85.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4849, allocations: 0 / 0.5101 GB, free: 85.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008194/0.4857, allocations: 343.2 kB / 0.5104 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.4886, allocations: 0.8236 MB / 0.5112 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.4933, allocations: 7.304 MB / 0.5184 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4954, allocations: 173.5 kB / 0.5185 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.4955, allocations: 92.81 kB / 0.5186 GB, free: 78.66 MB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: oLine1.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine3.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%) 5,(1,100.0%) 5,(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.4973, allocations: 1.349 MB / 0.5199 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.4977, allocations: 319.2 kB / 0.5203 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.4984, allocations: 419.7 kB / 0.5207 GB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4984, allocations: 29.88 kB / 0.5207 GB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.4984, allocations: 11.56 kB / 0.5207 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.4984, allocations: 14.67 kB / 0.5207 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009865/0.5083, allocations: 9.163 MB / 0.5297 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5083, allocations: 3.75 kB / 0.5297 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/0.5112, allocations: 0.7189 MB / 0.5304 GB, free: 70.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005647/0.5118, allocations: 281.8 kB / 0.5306 GB, free: 70.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.512, allocations: 107.3 kB / 0.5307 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/0.5167, allocations: 10.3 MB / 0.5408 GB, free: 59.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5167, allocations: 11.97 kB / 0.5408 GB, free: 59.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.5232, allocations: 6.09 MB / 0.5467 GB, free: 53.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/0.5239, allocations: 455.5 kB / 0.5472 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/0.5243, allocations: 99.95 kB / 0.5473 GB, free: 52.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/0.5266, allocations: 427.6 kB / 0.5477 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/0.527, allocations: 182.1 kB / 0.5479 GB, free: 52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/0.5272, allocations: 87.98 kB / 0.5479 GB, free: 51.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002351/0.5295, allocations: 2.256 MB / 0.5501 GB, free: 49.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5296, allocations: 0 / 0.5501 GB, free: 49.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001935/0.5315, allocations: 1.031 MB / 0.5511 GB, free: 48.62 MB / 378.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.006652/0.5382, allocations: 6.798 MB / 0.5578 GB, free: 41.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005027/0.5432, allocations: 4.707 MB / 0.5624 GB, free: 36.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5432, allocations: 6.562 kB / 0.5624 GB, free: 36.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.5457, allocations: 2.709 MB / 0.565 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.5485, allocations: 0.7347 MB / 0.5658 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/0.5917, allocations: 33.19 MB / 0.5982 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/0.595, allocations: 3.068 MB / 0.6012 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002691/0.5977, allocations: 1.562 MB / 0.6027 GB, free: 10.4 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5978, allocations: 0 / 0.6027 GB, free: 10.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.963/8.561, allocations: 175.9 MB / 0.7745 GB, free: 71.44 MB / 458.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)