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.0009439/0.0009439, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009525, allocations: 103.1 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000217/0.000217, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1936, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09188/0.2856, allocations: 82.61 MB / 491.3 MB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.2858, allocations: 80.48 kB / 491.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3503/0.6362, allocations: 79.28 MB / 0.5573 GB, free: 53.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6362, allocations: 0 / 0.5573 GB, free: 53.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.6365, allocations: 104 kB / 0.5574 GB, free: 53.46 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.01181/0.6483, allocations: 4.906 MB / 0.5622 GB, free: 48.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6484, allocations: 8.031 kB / 0.5622 GB, free: 48.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.6501, allocations: 0.5031 MB / 0.5627 GB, free: 47.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006266/0.6564, allocations: 3.114 MB / 0.5657 GB, free: 44.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6565, allocations: 312.5 kB / 0.566 GB, free: 44.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007151/0.6573, allocations: 440.2 kB / 0.5664 GB, free: 44.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008804/0.6661, allocations: 5.823 MB / 0.5721 GB, free: 38.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/0.6662, allocations: 192 / 0.5721 GB, free: 38.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/0.6666, allocations: 175.9 kB / 0.5723 GB, free: 37.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.6667, allocations: 100 kB / 0.5724 GB, free: 37.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007393/0.6741, allocations: 5.161 MB / 0.5774 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.7019, allocations: 18.13 MB / 0.5951 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.7063, allocations: 3.698 MB / 0.5987 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.7094, allocations: 3.032 MB / 0.6017 GB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.7095, allocations: 38.31 kB / 0.6017 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.7096, allocations: 77.5 kB / 0.6018 GB, free: 7.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 5.23e-06/0.7096, allocations: 0 / 0.6018 GB, free: 7.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=304): time 0.01425/0.7239, allocations: 10.07 MB / 0.6116 GB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.724, allocations: 295.4 kB / 0.6119 GB, free: 12.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.7287, allocations: 3.186 MB / 0.615 GB, free: 9.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003905/0.7291, allocations: 97.64 kB / 0.6151 GB, free: 9.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.7302, allocations: 1.683 MB / 0.6168 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008073/0.7311, allocations: 1.074 MB / 0.6178 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.7313, allocations: 72 kB / 0.6179 GB, free: 6.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.7315, allocations: 444.9 kB / 0.6183 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.7343, allocations: 2.005 MB / 0.6203 GB, free: 4.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.7372, allocations: 2.301 MB / 0.6225 GB, free: 1.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/0.7513, allocations: 8.568 MB / 0.6309 GB, free: 9.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.7513, allocations: 3.938 kB / 0.6309 GB, free: 9.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.007762/0.7591, allocations: 5.256 MB / 0.636 GB, free: 3.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7592, allocations: 4 kB / 0.636 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7592, allocations: 0 / 0.636 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009364/0.7601, allocations: 343.2 kB / 0.6363 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.7632, allocations: 0.8383 MB / 0.6372 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.7694, allocations: 7.293 MB / 0.6443 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.7722, allocations: 167.8 kB / 0.6444 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.7725, allocations: 96 kB / 0.6445 GB, free: 10.48 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: 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.002558/0.7751, allocations: 1.36 MB / 0.6459 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/0.7758, allocations: 316.4 kB / 0.6462 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.7766, allocations: 417.6 kB / 0.6466 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.7767, allocations: 31.98 kB / 0.6466 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/0.7767, allocations: 7.938 kB / 0.6466 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.7767, allocations: 11.95 kB / 0.6466 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.7908, allocations: 9.191 MB / 0.6556 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.7909, allocations: 0 / 0.6556 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/0.7941, allocations: 0.7176 MB / 0.6563 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/0.7949, allocations: 285.7 kB / 0.6566 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.7951, allocations: 107.9 kB / 0.6567 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006818/0.802, allocations: 10.28 MB / 0.6667 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.802, allocations: 3.938 kB / 0.6667 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2341/1.036, allocations: 6.076 MB / 0.6726 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.038, allocations: 463.8 kB / 0.6731 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007805/1.038, allocations: 99.41 kB / 0.6732 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.041, allocations: 427.3 kB / 0.6736 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003814/1.042, allocations: 182.1 kB / 0.6737 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.042, allocations: 86.48 kB / 0.6738 GB, free: 116.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00352/1.046, allocations: 2.26 MB / 0.676 GB, free: 116 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.046, allocations: 0 / 0.676 GB, free: 116 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003207/1.049, allocations: 1.036 MB / 0.6771 GB, free: 116 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.0005445/1.049, allocations: 260.4 kB / 0.6773 GB, free: 115.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006756/1.056, allocations: 4.702 MB / 0.6819 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.056, allocations: 7.531 kB / 0.6819 GB, free: 115.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.06, allocations: 2.729 MB / 0.6846 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.064, allocations: 0.7311 MB / 0.6853 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/1.084, allocations: 13.75 MB / 0.6987 GB, free: 108.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.087, allocations: 3.068 MB / 0.7017 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.089, allocations: 240.2 kB / 0.7019 GB, free: 107.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/1.089, allocations: 0 / 0.7019 GB, free: 107.9 MB / 442.7 MB Notification: Performance of Templates: time 0.3636/1.452, allocations: 167.1 MB / 0.8651 GB, free: 128.9 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)