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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00221/0.002211, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.4 MB / 240.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009593/0.0009593, allocations: 98.62 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.178e-05, allocations: 4 kB / 350.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09374, allocations: 51.49 MB / 402.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4355, allocations: 80.16 MB / 482.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4358, allocations: 80.73 kB / 482.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03174/0.4676, allocations: 13.66 MB / 496 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4677, allocations: 4 kB / 496 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.4677, allocations: 12 kB / 496.1 MB, free: 13.19 MB / 362.7 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.001375/0.4691, allocations: 0.7442 MB / 496.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4691, allocations: 8.031 kB / 496.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.4693, allocations: 90.7 kB / 496.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.4694, allocations: 51.44 kB / 496.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4699, allocations: 334 kB / 497.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.4699, allocations: 29 kB / 497.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.47, allocations: 48 kB / 497.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.4708, allocations: 494 kB / 497.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4708, allocations: 0 / 497.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.4709, allocations: 28 kB / 497.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4709, allocations: 8 kB / 497.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.4714, allocations: 279.9 kB / 498.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.4739, allocations: 1.587 MB / 499.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.4743, allocations: 191.2 kB / 499.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.4745, allocations: 76.86 kB / 500 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.4745, allocations: 11.98 kB / 0.4883 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.4749, allocations: 202.2 kB / 0.4885 GB, free: 8.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.4749, allocations: 0 / 0.4885 GB, free: 8.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007086/0.4756, allocations: 300.6 kB / 0.4888 GB, free: 8.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.4758, allocations: 320.4 kB / 0.4891 GB, free: 8.098 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.4761, allocations: 275.3 kB / 0.4893 GB, free: 7.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4762, allocations: 29.7 kB / 0.4894 GB, free: 7.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.4764, allocations: 267.4 kB / 0.4896 GB, free: 7.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.4764, allocations: 90.73 kB / 0.4897 GB, free: 7.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.4765, allocations: 12 kB / 0.4897 GB, free: 7.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4766, allocations: 338.8 kB / 0.49 GB, free: 7.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4768, allocations: 80.73 kB / 0.4901 GB, free: 6.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.4771, allocations: 245.2 kB / 0.4903 GB, free: 6.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.4773, allocations: 141.9 kB / 0.4905 GB, free: 6.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4773, allocations: 3.953 kB / 0.4905 GB, free: 6.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009352/0.4782, allocations: 0.5033 MB / 0.491 GB, free: 6.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.4783, allocations: 37.69 kB / 0.491 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4783, allocations: 2.5 kB / 0.491 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.4789, allocations: 174.5 kB / 0.4912 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.4791, allocations: 51.91 kB / 0.4912 GB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.483, allocations: 4.523 MB / 0.4956 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.4834, allocations: 59.66 kB / 0.4957 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.4835, allocations: 16 kB / 0.4957 GB, free: 0.7422 MB / 362.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4837, allocations: 136.9 kB / 0.4959 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.4837, allocations: 33.03 kB / 0.4959 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.4838, allocations: 43.02 kB / 0.4959 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4838, allocations: 3.938 kB / 0.4959 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4839, allocations: 4 kB / 0.4959 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4839, allocations: 3.953 kB / 0.4959 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.4844, allocations: 433.2 kB / 0.4963 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4844, allocations: 0 / 0.4963 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.4846, allocations: 36.11 kB / 0.4964 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/0.485, allocations: 123.3 kB / 0.4965 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.4851, allocations: 4 kB / 0.4965 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.4888, allocations: 5.216 MB / 0.5016 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4889, allocations: 0 / 0.5016 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.4895, allocations: 332 kB / 0.5019 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4896, allocations: 112.7 kB / 0.502 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.4897, allocations: 12 kB / 0.502 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.49, allocations: 38.12 kB / 0.5021 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.4901, allocations: 31.91 kB / 0.5021 GB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4901, allocations: 12 kB / 0.5021 GB, free: 9.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.4903, allocations: 215.1 kB / 0.5023 GB, free: 9.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4903, allocations: 0 / 0.5023 GB, free: 9.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005539/0.4909, allocations: 151.6 kB / 0.5025 GB, free: 9.195 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009252/0.4918, allocations: 0.8851 MB / 0.5033 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.4928, allocations: 0.6559 MB / 0.504 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4928, allocations: 4 kB / 0.504 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4935, allocations: 0.5809 MB / 0.5045 GB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4938, allocations: 52.7 kB / 0.5046 GB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4949, allocations: 0.4993 MB / 0.5051 GB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.4952, allocations: 0.8197 MB / 0.5059 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.4954, allocations: 43.94 kB / 0.5059 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.4956, allocations: 143.4 kB / 0.5061 GB, free: 5.297 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4956, allocations: 0 / 0.5061 GB, free: 5.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.5199, allocations: 8.076 MB / 0.5139 GB, free: 13.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.5201, allocations: 187.5 kB / 0.5141 GB, free: 13.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.691, allocations: 0 / 0.5141 GB, free: 13.29 MB / 394.7 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/linux/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)