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.001259/0.001259, allocations: 113.6 kB / 17.78 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.001281/0.001281, allocations: 203.9 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.419/1.419, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2524, allocations: 50.55 MB / 408.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004971/0.2574, allocations: 3.601 MB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2591, allocations: 0.892 MB / 413.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2593, allocations: 8 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.2596, allocations: 83.16 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.26, allocations: 146.7 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.2605, allocations: 195.6 kB / 413.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007333/0.2613, allocations: 0.6194 MB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.2616, allocations: 220.8 kB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.262, allocations: 239.2 kB / 414.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.2624, allocations: 290.8 kB / 415.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.854e-05/0.2625, allocations: 60 kB / 415.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2626, allocations: 56 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2628, allocations: 127.5 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.2631, allocations: 278.8 kB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007817/0.2639, allocations: 0.6098 MB / 416.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2639, allocations: 3.938 kB / 416.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2639, allocations: 0 / 416.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2639, allocations: 4 kB / 416.3 MB, free: 10.02 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.001729/0.2656, allocations: 0.8589 MB / 417.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2657, allocations: 8.031 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.2658, allocations: 90.7 kB / 417.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.266, allocations: 60.61 kB / 417.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.2665, allocations: 342.5 kB / 417.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.2666, allocations: 33.38 kB / 417.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.2666, allocations: 52.11 kB / 417.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.2676, allocations: 0.5101 MB / 418.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2676, allocations: 0 / 418.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.2676, allocations: 20 kB / 418.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2677, allocations: 12 kB / 418.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.2684, allocations: 327.8 kB / 418.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.2708, allocations: 1.538 MB / 420.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.2714, allocations: 218.4 kB / 420.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.2716, allocations: 92.81 kB / 420.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.2717, allocations: 8 kB / 420.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/0.2721, allocations: 217.7 kB / 420.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.2721, allocations: 0 / 420.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001594/0.2737, allocations: 0.776 MB / 421.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.2739, allocations: 312.4 kB / 421.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2743, allocations: 310.9 kB / 422 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.2743, allocations: 33.7 kB / 422 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.2745, allocations: 280.1 kB / 422.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.2746, allocations: 91.2 kB / 422.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2747, allocations: 86.02 kB / 422.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2749, allocations: 334.8 kB / 422.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.2752, allocations: 100.7 kB / 422.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.2755, allocations: 257.4 kB / 423.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.2761, allocations: 339.6 kB / 423.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2761, allocations: 4 kB / 423.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001163/0.2773, allocations: 0.5336 MB / 424 MB, free: 1.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.2774, allocations: 37.7 kB / 424.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2774, allocations: 4 kB / 424.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.278, allocations: 162.4 kB / 424.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2782, allocations: 51.91 kB / 424.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.283, allocations: 4.945 MB / 429.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.2835, allocations: 63.69 kB / 429.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2835, allocations: 15.98 kB / 429.3 MB, free: 11.93 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.0002659/0.2838, allocations: 170.9 kB / 429.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2838, allocations: 35.81 kB / 429.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.2839, allocations: 38.92 kB / 429.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2839, allocations: 4.094 kB / 429.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.284, allocations: 7.938 kB / 429.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.284, allocations: 3.984 kB / 429.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.2845, allocations: 425.2 kB / 430 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2845, allocations: 0 / 430 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2847, allocations: 35.91 kB / 430 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000345/0.285, allocations: 103.4 kB / 430.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2851, allocations: 11.94 kB / 430.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.2899, allocations: 5.761 MB / 435.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/0.29, allocations: 7.922 kB / 435.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.2908, allocations: 361 kB / 436.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.291, allocations: 112.8 kB / 436.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.291, allocations: 8 kB / 436.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.2913, allocations: 27.97 kB / 436.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.2914, allocations: 55.94 kB / 436.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.2915, allocations: 11.92 kB / 436.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003007/0.2918, allocations: 221.9 kB / 436.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2918, allocations: 0 / 436.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.2925, allocations: 151.7 kB / 436.8 MB, free: 3.73 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.001207/0.2937, allocations: 0.9082 MB / 437.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.295, allocations: 0.7062 MB / 438.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.295, allocations: 0 / 438.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.2958, allocations: 0.5773 MB / 439 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2962, allocations: 60.84 kB / 439.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.3017, allocations: 3.509 MB / 442.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3022, allocations: 0.8157 MB / 443.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.3024, allocations: 42.98 kB / 443.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.3026, allocations: 147.4 kB / 443.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3026, allocations: 8 kB / 443.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.3461, allocations: 9.193 MB / 452.8 MB, free: 3.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.51, allocations: 9.469 kB / 452.8 MB, free: 3.582 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)