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.00125/0.00125, allocations: 117.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3431, allocations: 50.55 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005122/0.3482, allocations: 3.597 MB / 412.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3503, allocations: 0.892 MB / 413.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.3505, allocations: 4 kB / 413.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3508, allocations: 83.16 kB / 413.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.3511, allocations: 146.7 kB / 414 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.3515, allocations: 191.7 kB / 414.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.3521, allocations: 0.6232 MB / 414.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.3525, allocations: 220.8 kB / 415 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.3527, allocations: 239.2 kB / 415.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.3531, allocations: 286.8 kB / 415.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-05/0.3531, allocations: 56 kB / 415.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.3532, allocations: 60 kB / 415.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3534, allocations: 135.5 kB / 415.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.3536, allocations: 274.8 kB / 416.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.3542, allocations: 0.6184 MB / 416.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3543, allocations: 0 / 416.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3543, allocations: 0 / 416.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3543, allocations: 0 / 416.7 MB, free: 10.18 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.001378/0.3557, allocations: 0.855 MB / 417.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3557, allocations: 16.03 kB / 417.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.3558, allocations: 56.61 kB / 417.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.3563, allocations: 346.5 kB / 417.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.3564, allocations: 37.36 kB / 418 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.3565, allocations: 48.38 kB / 418 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.3574, allocations: 0.51 MB / 418.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3574, allocations: 4 kB / 418.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.3575, allocations: 20 kB / 418.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.3575, allocations: 12 kB / 418.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.3581, allocations: 315.8 kB / 418.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.3602, allocations: 1.542 MB / 420.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.3607, allocations: 222.4 kB / 420.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.361, allocations: 100.8 kB / 420.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.361, allocations: 0 / 420.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.3614, allocations: 221.7 kB / 420.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.3614, allocations: 0 / 420.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001481/0.3629, allocations: 0.776 MB / 421.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.3631, allocations: 312.4 kB / 422 MB, free: 4.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3634, allocations: 306.9 kB / 422.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3634, allocations: 33.7 kB / 422.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3637, allocations: 280.1 kB / 422.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.3637, allocations: 95.22 kB / 422.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3639, allocations: 78.02 kB / 422.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.364, allocations: 342.8 kB / 423.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3643, allocations: 100.7 kB / 423.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.3646, allocations: 261.4 kB / 423.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.3652, allocations: 335.7 kB / 423.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3652, allocations: 3.938 kB / 423.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001019/0.3662, allocations: 0.5376 MB / 424.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.3662, allocations: 37.64 kB / 424.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3663, allocations: 0 / 424.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.3669, allocations: 174.4 kB / 424.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.367, allocations: 47.91 kB / 424.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.3711, allocations: 4.933 MB / 429.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3715, allocations: 59.7 kB / 429.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3715, allocations: 16 kB / 429.6 MB, free: 12.19 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.0001947/0.3717, allocations: 185 kB / 429.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.3717, allocations: 31.81 kB / 429.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.3718, allocations: 42.92 kB / 429.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3718, allocations: 4 kB / 429.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3718, allocations: 0 / 429.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3718, allocations: 3.984 kB / 429.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.3722, allocations: 421.4 kB / 430.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3723, allocations: 4 kB / 430.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3724, allocations: 39.91 kB / 430.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.3727, allocations: 107.3 kB / 430.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3727, allocations: 11.94 kB / 430.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.3762, allocations: 5.757 MB / 436.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3762, allocations: 0 / 436.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.3769, allocations: 361 kB / 436.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.377, allocations: 112.8 kB / 436.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3771, allocations: 8 kB / 436.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3773, allocations: 31.97 kB / 436.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3774, allocations: 51.92 kB / 436.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3775, allocations: 12 kB / 436.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.3777, allocations: 221.9 kB / 437 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3777, allocations: 3.938 kB / 437 MB, free: 4.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005291/0.3782, allocations: 151.7 kB / 437.1 MB, free: 3.984 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.00015/0.3784, allocations: 111.2 kB / 437.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3795, allocations: 0.714 MB / 438 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3795, allocations: 0.75 kB / 438 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.3801, allocations: 0.5845 MB / 438.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3805, allocations: 60.44 kB / 438.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3817, allocations: 0.6884 MB / 439.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3821, allocations: 0.8157 MB / 440.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3822, allocations: 38.95 kB / 440.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.3823, allocations: 39.31 kB / 440.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3823, allocations: 4 kB / 440.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of Templates: time 0.01109/0.3934, allocations: 5.964 MB / 446.2 MB, free: 10.83 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)