Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.56 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005009/0.1122, allocations: 3.602 MB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1144, allocations: 0.8959 MB / 363.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.115, allocations: 11.94 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1153, allocations: 79.22 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.116, allocations: 146.7 kB / 363.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.1167, allocations: 195.6 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.1176, allocations: 0.6154 MB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.118, allocations: 224.8 kB / 364.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1184, allocations: 239.2 kB / 364.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.1187, allocations: 286.9 kB / 365.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.017e-05/0.1188, allocations: 56 kB / 365.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.1189, allocations: 56 kB / 365.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.119, allocations: 135.5 kB / 365.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1193, allocations: 278.7 kB / 365.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1198, allocations: 0.6073 MB / 366.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1199, allocations: 4 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1199, allocations: 3.938 kB / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1199, allocations: 0 / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001504/0.1214, allocations: 0.8554 MB / 367.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1214, allocations: 8.031 kB / 367.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1216, allocations: 60.38 kB / 367.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.1221, allocations: 330.5 kB / 367.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.1221, allocations: 37.38 kB / 367.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.1222, allocations: 44.36 kB / 367.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.123, allocations: 0.5139 MB / 368.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.123, allocations: 0 / 368.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.1231, allocations: 24 kB / 368.2 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1231, allocations: 12 kB / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.1237, allocations: 319.8 kB / 368.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.126, allocations: 1.549 MB / 370 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.1265, allocations: 218.4 kB / 370.3 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1267, allocations: 101.9 kB / 370.4 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1267, allocations: 4 kB / 370.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.1271, allocations: 215.3 kB / 370.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.1271, allocations: 0 / 370.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001574/0.1287, allocations: 0.7759 MB / 371.3 MB, free: 476 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.1289, allocations: 316.4 kB / 371.7 MB, free: 84 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2145/0.3434, allocations: 295.5 kB / 371.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.3436, allocations: 35.86 kB / 372 MB, free: 20.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.344, allocations: 271.2 kB / 372.2 MB, free: 20.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3442, allocations: 95.28 kB / 372.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3444, allocations: 78.38 kB / 372.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3446, allocations: 340.4 kB / 372.7 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.3449, allocations: 99.2 kB / 372.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.3455, allocations: 265.4 kB / 373.1 MB, free: 19.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.3462, allocations: 336.5 kB / 373.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3463, allocations: 1.062 kB / 373.4 MB, free: 19.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001845/0.3481, allocations: 0.537 MB / 374 MB, free: 19.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.3482, allocations: 33.48 kB / 374 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.3482, allocations: 4.297 kB / 374 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008428/0.3491, allocations: 169.2 kB / 374.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3493, allocations: 46.39 kB / 374.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/0.3544, allocations: 4.925 MB / 379.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.3551, allocations: 66.86 kB / 379.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3551, allocations: 16.19 kB / 379.2 MB, free: 14.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003564/0.3555, allocations: 171.8 kB / 379.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.3556, allocations: 33.62 kB / 379.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.3557, allocations: 37.58 kB / 379.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3557, allocations: 2.75 kB / 379.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.3557, allocations: 2.125 kB / 379.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3557, allocations: 1.5 kB / 379.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.3564, allocations: 427.8 kB / 379.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3564, allocations: 2.75 kB / 379.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3566, allocations: 36.92 kB / 379.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003795/0.357, allocations: 108.3 kB / 380 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3571, allocations: 12.12 kB / 380 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.361, allocations: 5.757 MB / 385.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.361, allocations: 1 kB / 385.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.3619, allocations: 360.3 kB / 386.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3621, allocations: 116.5 kB / 386.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.3621, allocations: 6.656 kB / 386.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.3624, allocations: 27.97 kB / 386.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.3626, allocations: 54.31 kB / 386.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3626, allocations: 6.469 kB / 386.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.363, allocations: 218.7 kB / 386.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 5.75 kB / 386.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001129/0.3641, allocations: 151.1 kB / 386.7 MB, free: 7.984 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.3644, allocations: 109.7 kB / 386.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.3658, allocations: 0.7048 MB / 387.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3659, allocations: 2.188 kB / 387.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.3667, allocations: 0.5811 MB / 388.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3671, allocations: 63.25 kB / 388.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3688, allocations: 0.6696 MB / 388.9 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3693, allocations: 0.8138 MB / 389.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3695, allocations: 41.16 kB / 389.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3696, allocations: 38.73 kB / 389.7 MB, free: 5.766 MB / 302.1 MB Notification: Performance of SimCode: time 2.034e-06/0.3696, allocations: 4 kB / 389.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of Templates: time 0.01766/0.3873, allocations: 5.908 MB / 395.7 MB, free: 4.48 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)