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.001144/0.001148, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001275, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2563, allocations: 50.55 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004281/0.2607, allocations: 3.602 MB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2621, allocations: 0.892 MB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2623, allocations: 11.94 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.2625, allocations: 75.22 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.2629, allocations: 146.7 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.2633, allocations: 195.6 kB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.2639, allocations: 0.6155 MB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.2643, allocations: 220.8 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.2646, allocations: 239.2 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.2649, allocations: 290.8 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.265, allocations: 60 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.2651, allocations: 59.94 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2652, allocations: 131.6 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.2654, allocations: 274.7 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.266, allocations: 0.6123 MB / 417.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.266, allocations: 0 / 417.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.266, allocations: 0 / 417.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.266, allocations: 0 / 417.4 MB, free: 10.14 MB / 334.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.001447/0.2675, allocations: 0.8517 MB / 418.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2675, allocations: 8.031 kB / 418.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2676, allocations: 56.28 kB / 418.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.2681, allocations: 338.4 kB / 418.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2681, allocations: 33.38 kB / 418.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.2682, allocations: 48.31 kB / 418.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.269, allocations: 0.5178 MB / 419.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2691, allocations: 0 / 419.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.2691, allocations: 20 kB / 419.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2691, allocations: 12 kB / 419.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.2698, allocations: 319.8 kB / 419.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.2719, allocations: 1.538 MB / 421.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.2724, allocations: 222 kB / 421.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.2727, allocations: 96.81 kB / 421.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2727, allocations: 4 kB / 421.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.2731, allocations: 221.6 kB / 421.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.953e-06/0.2731, allocations: 0 / 421.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001503/0.2746, allocations: 0.7642 MB / 422.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.2748, allocations: 316.4 kB / 422.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.2751, allocations: 314.8 kB / 423 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2751, allocations: 29.7 kB / 423 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2753, allocations: 271.4 kB / 423.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.2754, allocations: 90.73 kB / 423.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2755, allocations: 85.97 kB / 423.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2756, allocations: 334.8 kB / 423.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2759, allocations: 100.6 kB / 423.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.2762, allocations: 257.5 kB / 424.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.2767, allocations: 339.6 kB / 424.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2767, allocations: 4 kB / 424.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/0.2778, allocations: 0.5334 MB / 425 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.2779, allocations: 45.62 kB / 425 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2779, allocations: 4 kB / 425 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2785, allocations: 166.4 kB / 425.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2787, allocations: 47.91 kB / 425.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.2825, allocations: 4.933 MB / 430.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2829, allocations: 59.59 kB / 430.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.2829, allocations: 16 kB / 430.3 MB, free: 12.18 MB / 350.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.0002081/0.2831, allocations: 173.7 kB / 430.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.2832, allocations: 31.62 kB / 430.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.2833, allocations: 42.92 kB / 430.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.2833, allocations: 4 kB / 430.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.2833, allocations: 0 / 430.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2833, allocations: 4.078 kB / 430.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2837, allocations: 429.2 kB / 430.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2837, allocations: 4 kB / 430.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.2839, allocations: 39.91 kB / 431 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.2842, allocations: 103.4 kB / 431.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.2842, allocations: 11.94 kB / 431.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003936/0.2882, allocations: 5.761 MB / 436.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2882, allocations: 0 / 436.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.289, allocations: 360.9 kB / 437.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.2891, allocations: 108.8 kB / 437.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2891, allocations: 8 kB / 437.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.2894, allocations: 27.97 kB / 437.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.2895, allocations: 35.89 kB / 437.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.2895, allocations: 16 kB / 437.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.2897, allocations: 217.9 kB / 437.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2897, allocations: 0 / 437.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.2903, allocations: 151.5 kB / 437.8 MB, free: 4.004 MB / 350.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.0001523/0.2905, allocations: 111.2 kB / 437.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2917, allocations: 0.7223 MB / 438.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2917, allocations: 0 / 438.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00067/0.2924, allocations: 0.5689 MB / 439.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2927, allocations: 56.98 kB / 439.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.2939, allocations: 0.7069 MB / 439.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2943, allocations: 0.8118 MB / 440.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.2944, allocations: 31.42 kB / 440.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2944, allocations: 3.938 kB / 440.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.3057, allocations: 10.52 MB / 451.3 MB, free: 6.309 MB / 366.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 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)