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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 121.2 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.001085/0.001086, allocations: 199.8 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.88 kB / 358.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2642, allocations: 50.53 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004124/0.2684, allocations: 3.601 MB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2698, allocations: 0.892 MB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.27, allocations: 8 kB / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2703, allocations: 75.22 kB / 413.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.2706, allocations: 150.7 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.271, allocations: 191.7 kB / 413.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.2716, allocations: 0.6116 MB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.2719, allocations: 230.5 kB / 414.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2722, allocations: 239.2 kB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.2725, allocations: 290.7 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.2726, allocations: 60 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.597e-05/0.2727, allocations: 56 kB / 415.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2728, allocations: 131.6 kB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.2731, allocations: 278.7 kB / 415.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.2736, allocations: 0.6112 MB / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2736, allocations: 0 / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2736, allocations: 0 / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2736, allocations: 0 / 416.2 MB, free: 10.11 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.001359/0.275, allocations: 0.8517 MB / 417 MB, free: 9.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.275, allocations: 8.031 kB / 417 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.566e-05/0.2751, allocations: 86.72 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.2752, allocations: 60.27 kB / 417.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.2757, allocations: 342.3 kB / 417.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.2757, allocations: 33.38 kB / 417.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.2758, allocations: 52.12 kB / 417.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.2766, allocations: 0.514 MB / 418.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2766, allocations: 0 / 418.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.2766, allocations: 16 kB / 418.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2767, allocations: 12 kB / 418.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.2773, allocations: 315.8 kB / 418.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.2793, allocations: 1.545 MB / 420 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2797, allocations: 215.5 kB / 420.2 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.2799, allocations: 104.8 kB / 420.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.28, allocations: 4 kB / 420.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.2803, allocations: 217.6 kB / 420.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.2803, allocations: 0 / 420.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001393/0.2817, allocations: 0.7681 MB / 421.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.2819, allocations: 320.4 kB / 421.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.2822, allocations: 310.8 kB / 421.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.2822, allocations: 29.7 kB / 421.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2824, allocations: 263.4 kB / 422.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.2824, allocations: 90.73 kB / 422.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2826, allocations: 93.95 kB / 422.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2827, allocations: 334.8 kB / 422.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2829, allocations: 100.7 kB / 422.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.2832, allocations: 265.4 kB / 423.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.2837, allocations: 331.7 kB / 423.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2837, allocations: 4 kB / 423.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/0.2847, allocations: 0.5373 MB / 423.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.2848, allocations: 40.5 kB / 424 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2848, allocations: 4 kB / 424 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.2854, allocations: 162.4 kB / 424.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2856, allocations: 55.89 kB / 424.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.2893, allocations: 4.936 MB / 429.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.2897, allocations: 55.59 kB / 429.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2898, allocations: 16 kB / 429.2 MB, free: 12.05 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.0001738/0.2899, allocations: 173.7 kB / 429.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.29, allocations: 31.62 kB / 429.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.2901, allocations: 42.92 kB / 429.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2901, allocations: 4.094 kB / 429.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.2901, allocations: 3.938 kB / 429.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2901, allocations: 3.984 kB / 429.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.2905, allocations: 429.3 kB / 429.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2905, allocations: 0 / 429.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2907, allocations: 36.16 kB / 429.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.291, allocations: 107.3 kB / 430 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.291, allocations: 11.94 kB / 430 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.2946, allocations: 5.757 MB / 435.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2946, allocations: 0 / 435.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.2953, allocations: 372.8 kB / 436.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.2954, allocations: 108.8 kB / 436.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.2954, allocations: 8 kB / 436.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.2957, allocations: 27.97 kB / 436.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2958, allocations: 51.94 kB / 436.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.2958, allocations: 11.98 kB / 436.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.2961, allocations: 218 kB / 436.5 MB, free: 4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2961, allocations: 0 / 436.5 MB, free: 4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005554/0.2966, allocations: 151.5 kB / 436.7 MB, free: 3.852 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.001004/0.2976, allocations: 0.9041 MB / 437.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2988, allocations: 0.7099 MB / 438.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2988, allocations: 0.75 kB / 438.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.2994, allocations: 0.5806 MB / 438.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2998, allocations: 60.84 kB / 439 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.3045, allocations: 3.503 MB / 442.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3049, allocations: 0.8079 MB / 443.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.3051, allocations: 47.05 kB / 443.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3053, allocations: 139.4 kB / 443.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3053, allocations: 0 / 443.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.3391, allocations: 9.204 MB / 452.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.644/9.983, allocations: 6.75 kB / 452.7 MB, free: 3.711 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines_fmu --startTime=0 --stopTime=2e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLosslessLines.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)