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.001676/0.001676, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008607/0.0008607, allocations: 101.3 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000197/0.000197, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1918, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09096/0.2828, allocations: 80.23 MB / 489.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.283, allocations: 75.95 kB / 489.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03356/0.3165, allocations: 13.71 MB / 0.4917 GB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3166, allocations: 0 / 0.4917 GB, free: 12.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.3166, allocations: 8 kB / 0.4917 GB, free: 12.54 MB / 378.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.001176/0.3178, allocations: 0.7861 MB / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3178, allocations: 8.219 kB / 0.4925 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.3179, allocations: 94.45 kB / 0.4926 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.318, allocations: 55.44 kB / 0.4927 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3184, allocations: 317.4 kB / 0.493 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3184, allocations: 40.92 kB / 0.493 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.3185, allocations: 51.95 kB / 0.493 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.3193, allocations: 0.5023 MB / 0.4935 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3193, allocations: 0 / 0.4935 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.3193, allocations: 23.94 kB / 0.4936 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3194, allocations: 12 kB / 0.4936 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.32, allocations: 327.8 kB / 0.4939 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.322, allocations: 1.596 MB / 0.4954 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.3225, allocations: 234.6 kB / 0.4957 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3226, allocations: 4 kB / 0.4957 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.3229, allocations: 213.7 kB / 0.4959 GB, free: 8.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.323, allocations: 0 / 0.4959 GB, free: 8.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0014/0.3244, allocations: 0.7893 MB / 0.4966 GB, free: 7.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3245, allocations: 316.4 kB / 0.4969 GB, free: 6.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3248, allocations: 270.2 kB / 0.4972 GB, free: 6.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3248, allocations: 33.7 kB / 0.4972 GB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.325, allocations: 271.4 kB / 0.4975 GB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.325, allocations: 90.66 kB / 0.4976 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.3251, allocations: 11.94 kB / 0.4976 GB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.3252, allocations: 342.8 kB / 0.4979 GB, free: 5.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3254, allocations: 100.7 kB / 0.498 GB, free: 5.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.3257, allocations: 269.1 kB / 0.4983 GB, free: 5.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.326, allocations: 162.7 kB / 0.4984 GB, free: 5.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.326, allocations: 0 / 0.4984 GB, free: 5.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001056/0.3271, allocations: 0.5617 MB / 0.499 GB, free: 4.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3271, allocations: 29.7 kB / 0.499 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3271, allocations: 4 kB / 0.499 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.3277, allocations: 174.5 kB / 0.4992 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3279, allocations: 55.91 kB / 0.4992 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1617/0.4896, allocations: 4.57 MB / 0.5037 GB, free: 94.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.4901, allocations: 64.52 kB / 0.5038 GB, free: 94.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4902, allocations: 15.88 kB / 0.5038 GB, free: 94.25 MB / 378.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 () * 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 (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.0002293/0.4904, allocations: 162.1 kB / 0.5039 GB, free: 94.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.4905, allocations: 33.41 kB / 0.504 GB, free: 94.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.4906, allocations: 42.36 kB / 0.504 GB, free: 94.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4906, allocations: 3.219 kB / 0.504 GB, free: 94.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4906, allocations: 2.094 kB / 0.504 GB, free: 94.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4906, allocations: 2.391 kB / 0.504 GB, free: 94.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.491, allocations: 426.7 kB / 0.5044 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.491, allocations: 0.6562 kB / 0.5044 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4912, allocations: 34.77 kB / 0.5044 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/0.4916, allocations: 120.6 kB / 0.5046 GB, free: 93.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.4916, allocations: 12.25 kB / 0.5046 GB, free: 93.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.4942, allocations: 5.246 MB / 0.5097 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4942, allocations: 0 / 0.5097 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.4949, allocations: 380.8 kB / 0.5101 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.495, allocations: 110.8 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.495, allocations: 6.328 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.4953, allocations: 42.31 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.4954, allocations: 33.89 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4954, allocations: 8.375 kB / 0.5102 GB, free: 88.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4956, allocations: 214.4 kB / 0.5105 GB, free: 88.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4956, allocations: 0 / 0.5105 GB, free: 88.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.4961, allocations: 159.2 kB / 0.5106 GB, free: 88.61 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) * 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 (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.0008724/0.497, allocations: 0.9193 MB / 0.5115 GB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009626/0.498, allocations: 0.7284 MB / 0.5122 GB, free: 87.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.498, allocations: 0 / 0.5122 GB, free: 87.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.4986, allocations: 0.5972 MB / 0.5128 GB, free: 87.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.4989, allocations: 60.91 kB / 0.5129 GB, free: 87.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.5023, allocations: 3.962 MB / 0.5167 GB, free: 84.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5025, allocations: 0.821 MB / 0.5175 GB, free: 83.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.5027, allocations: 41.58 kB / 0.5176 GB, free: 83.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.5028, allocations: 139.9 kB / 0.5177 GB, free: 83.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5028, allocations: 0 / 0.5177 GB, free: 83.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.5201, allocations: 8.039 MB / 0.5256 GB, free: 81.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001159/0.5202, allocations: 234.5 kB / 0.5258 GB, free: 81.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.493, allocations: 0 / 0.5258 GB, free: 81.58 MB / 378.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)