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: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 190.7 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.6 MB / 244.7 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007473, allocations: 100 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002428, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2069, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.003897/0.2109, allocations: 5.735 MB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.2132, allocations: 1.653 MB / 415.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004032/0.2136, allocations: 19.94 kB / 415.5 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.214, allocations: 198.7 kB / 415.7 MB, free: 20.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.2147, allocations: 421.2 kB / 416.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.2153, allocations: 314.5 kB / 416.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.2201, allocations: 8.243 MB / 424.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.2224, allocations: 2.468 MB / 427.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.2245, allocations: 1.833 MB / 428.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.2268, allocations: 2.124 MB / 431 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004916/0.2273, allocations: 280 kB / 431.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.228, allocations: 288 kB / 431.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000639/0.2287, allocations: 1.008 MB / 432.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.2309, allocations: 2.296 MB / 434.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.236, allocations: 6.289 MB / 441.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.236, allocations: 0 / 441.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.236, allocations: 0 / 441.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002274/0.2363, allocations: 4 kB / 441.2 MB, free: 10.42 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.01045/0.2467, allocations: 4.972 MB / 446.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2468, allocations: 8.031 kB / 446.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.2481, allocations: 0.5108 MB / 446.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.2523, allocations: 2.557 MB / 449.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.2525, allocations: 320.4 kB / 449.5 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006543/0.2531, allocations: 448.1 kB / 450 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009695/0.2628, allocations: 6.021 MB / 456 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.2629, allocations: 0 / 456 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004091/0.2633, allocations: 172 kB / 456.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.029e-05/0.2634, allocations: 99.98 kB / 456.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009266/0.2727, allocations: 5.356 MB / 461.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.3058, allocations: 18.23 MB / 479.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/0.3109, allocations: 3.698 MB / 483.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/0.3147, allocations: 3.032 MB / 486.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.3149, allocations: 34.36 kB / 486.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.315, allocations: 85.5 kB / 486.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=301): time 6.282e-06/0.315, allocations: 0 / 486.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=304): time 0.01637/0.3314, allocations: 10.01 MB / 496.7 MB, free: 1.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.3316, allocations: 291.4 kB / 497 MB, free: 1.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/0.3365, allocations: 3.189 MB / 0.4885 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006359/0.3372, allocations: 93.7 kB / 0.4886 GB, free: 14.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.3384, allocations: 1.671 MB / 0.4902 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.3396, allocations: 1.082 MB / 0.4912 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.3399, allocations: 67.98 kB / 0.4913 GB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.3401, allocations: 448.9 kB / 0.4917 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.3432, allocations: 2.001 MB / 0.4937 GB, free: 9.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.3465, allocations: 2.301 MB / 0.4959 GB, free: 6.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2063/0.5528, allocations: 8.57 MB / 0.5043 GB, free: 88.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5528, allocations: 0.5312 kB / 0.5043 GB, free: 88.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.008729/0.5616, allocations: 5.271 MB / 0.5095 GB, free: 86.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.5616, allocations: 5.406 kB / 0.5095 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5617, allocations: 6.312 kB / 0.5095 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.5625, allocations: 343.7 kB / 0.5098 GB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/0.5655, allocations: 0.8193 MB / 0.5106 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/0.5707, allocations: 7.294 MB / 0.5177 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.5732, allocations: 175.4 kB / 0.5179 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.5735, allocations: 92.47 kB / 0.518 GB, free: 80.37 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.002069/0.5756, allocations: 1.365 MB / 0.5193 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005705/0.5761, allocations: 314.2 kB / 0.5196 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.5769, allocations: 419.6 kB / 0.52 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.5769, allocations: 31.31 kB / 0.52 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.5769, allocations: 7.438 kB / 0.52 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.5769, allocations: 14.62 kB / 0.5201 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.5893, allocations: 9.162 MB / 0.529 GB, free: 72.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5894, allocations: 0 / 0.529 GB, free: 72.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/0.5923, allocations: 0.7246 MB / 0.5297 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/0.593, allocations: 281.8 kB / 0.53 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.5932, allocations: 107.6 kB / 0.5301 GB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.5983, allocations: 10.3 MB / 0.5401 GB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5983, allocations: 7.938 kB / 0.5402 GB, free: 59.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007375/0.6057, allocations: 6.088 MB / 0.5461 GB, free: 53.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.6069, allocations: 465.7 kB / 0.5465 GB, free: 53.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004802/0.6074, allocations: 104 kB / 0.5466 GB, free: 53.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.6096, allocations: 423.6 kB / 0.547 GB, free: 53.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.6099, allocations: 174.1 kB / 0.5472 GB, free: 52.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.6101, allocations: 95.98 kB / 0.5473 GB, free: 52.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002545/0.6127, allocations: 2.26 MB / 0.5495 GB, free: 50.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6127, allocations: 0 / 0.5495 GB, free: 50.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002225/0.6149, allocations: 1.023 MB / 0.5505 GB, free: 49.49 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.0003617/0.6153, allocations: 262.4 kB / 0.5508 GB, free: 49.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005174/0.6205, allocations: 4.706 MB / 0.5554 GB, free: 44.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.6205, allocations: 6.75 kB / 0.5554 GB, free: 44.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.6231, allocations: 2.714 MB / 0.558 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.6263, allocations: 0.7336 MB / 0.5587 GB, free: 40.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.6413, allocations: 13.77 MB / 0.5722 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.6435, allocations: 3.061 MB / 0.5752 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.645, allocations: 243.4 kB / 0.5754 GB, free: 23.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.645, allocations: 2.734 kB / 0.5754 GB, free: 23.77 MB / 378.7 MB Notification: Performance of Templates: time 0.3113/0.9563, allocations: 167.1 MB / 0.7386 GB, free: 109.4 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (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 & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)