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.001208/0.001208, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 204.6 kB / 18.73 MB, free: 4.32 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.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.88 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004228/0.2598, allocations: 3.59 MB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2613, allocations: 0.892 MB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.2615, allocations: 8 kB / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2617, allocations: 79.22 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.2621, allocations: 142.7 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.2626, allocations: 199.6 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.2632, allocations: 0.6194 MB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.2635, allocations: 222.5 kB / 414.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.2638, allocations: 239.1 kB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.2642, allocations: 294.8 kB / 415.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.2642, allocations: 56 kB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.2643, allocations: 60 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2644, allocations: 127.5 kB / 415.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.2647, allocations: 274.8 kB / 415.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.2652, allocations: 0.6112 MB / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2652, allocations: 4 kB / 416.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2652, allocations: 0 / 416.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2653, allocations: 0 / 416.2 MB, free: 10.1 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.001511/0.2668, allocations: 0.8439 MB / 417 MB, free: 9.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2668, allocations: 12.03 kB / 417 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.2669, allocations: 94.58 kB / 417.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.267, allocations: 56.28 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.2676, allocations: 338.5 kB / 417.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2676, allocations: 41.3 kB / 417.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2677, allocations: 52.12 kB / 417.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/0.2686, allocations: 0.5023 MB / 418.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2686, allocations: 4 kB / 418.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.2686, allocations: 20 kB / 418.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2687, allocations: 15.94 kB / 418.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.2694, allocations: 315.8 kB / 418.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2715, allocations: 1.538 MB / 420 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.272, allocations: 218.5 kB / 420.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.2722, allocations: 100.8 kB / 420.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2723, allocations: 7.922 kB / 420.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.2727, allocations: 221.7 kB / 420.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.2727, allocations: 0 / 420.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001462/0.2741, allocations: 0.7681 MB / 421.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.2743, allocations: 312.4 kB / 421.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.2747, allocations: 310.8 kB / 421.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.2747, allocations: 33.7 kB / 421.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.2749, allocations: 267.4 kB / 422.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.122e-05/0.275, allocations: 94.73 kB / 422.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2751, allocations: 77.97 kB / 422.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2753, allocations: 342.8 kB / 422.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.2755, allocations: 100.7 kB / 422.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2759, allocations: 261.4 kB / 423.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.2764, allocations: 335.6 kB / 423.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2764, allocations: 0 / 423.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001076/0.2775, allocations: 0.5373 MB / 423.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.2775, allocations: 33.7 kB / 424 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.2775, allocations: 4 kB / 424 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.2781, allocations: 170.4 kB / 424.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.2783, allocations: 51.89 kB / 424.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.2824, allocations: 4.929 MB / 429.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.2829, allocations: 71.59 kB / 429.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2829, allocations: 12 kB / 429.2 MB, free: 12.04 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.0002019/0.2831, allocations: 170.8 kB / 429.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2832, allocations: 35.72 kB / 429.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.2832, allocations: 46.86 kB / 429.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2832, allocations: 4 kB / 429.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.2833, allocations: 192 / 429.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2833, allocations: 3.984 kB / 429.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.2837, allocations: 425.2 kB / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2837, allocations: 0 / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2839, allocations: 35.97 kB / 429.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.2842, allocations: 107.3 kB / 430 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2842, allocations: 11.94 kB / 430 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/0.288, allocations: 5.76 MB / 435.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.288, allocations: 0 / 435.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.2888, allocations: 364.8 kB / 436.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.2889, allocations: 108.8 kB / 436.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.2889, allocations: 4 kB / 436.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2892, allocations: 35.97 kB / 436.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2893, allocations: 51.92 kB / 436.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2893, allocations: 12 kB / 436.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.2896, allocations: 217.9 kB / 436.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2896, allocations: 0 / 436.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.2902, allocations: 151.5 kB / 436.7 MB, free: 3.848 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.000992/0.2912, allocations: 0.9041 MB / 437.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2923, allocations: 0.7138 MB / 438.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2923, allocations: 0 / 438.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.293, allocations: 0.5775 MB / 438.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.2934, allocations: 60.78 kB / 438.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.2984, allocations: 3.499 MB / 442.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.2989, allocations: 0.8118 MB / 443.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.2991, allocations: 43.05 kB / 443.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.2993, allocations: 147.4 kB / 443.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2993, allocations: 0 / 443.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.3349, allocations: 9.42 MB / 452.9 MB, free: 3.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.22, allocations: 6.656 kB / 452.9 MB, free: 3.488 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)