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.001375/0.001375, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009023/0.0009023, allocations: 98.88 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.312e-05, allocations: 8.219 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 51.49 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4869, allocations: 79.5 MB / 474.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4872, allocations: 78 kB / 474.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.5177, allocations: 13.56 MB / 488.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5178, allocations: 0.7656 kB / 488.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.5178, allocations: 8 kB / 488.4 MB, free: 2.555 MB / 346.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.0009925/0.5188, allocations: 0.7464 MB / 489.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5189, allocations: 12.03 kB / 489.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.519, allocations: 51.44 kB / 489.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.5193, allocations: 328.2 kB / 489.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.5193, allocations: 20.84 kB / 489.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.5194, allocations: 28 kB / 489.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00038/0.5198, allocations: 258.3 kB / 489.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.5203, allocations: 427.6 kB / 490.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5203, allocations: 0 / 490.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.5204, allocations: 0 / 490.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.5204, allocations: 15.98 kB / 490.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.5223, allocations: 1.497 MB / 491.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.5226, allocations: 183 kB / 492 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.5227, allocations: 71.42 kB / 492 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.5228, allocations: 6.062 kB / 492 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.5231, allocations: 188.7 kB / 492.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.5231, allocations: 0 / 492.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006094/0.5237, allocations: 276.6 kB / 492.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.5239, allocations: 319.1 kB / 492.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5241, allocations: 248.4 kB / 493 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.5242, allocations: 29.69 kB / 493.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5243, allocations: 271.2 kB / 493.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.5244, allocations: 88.55 kB / 493.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.5244, allocations: 2.625 kB / 493.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5246, allocations: 339.1 kB / 493.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5247, allocations: 73.25 kB / 493.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.5249, allocations: 226.4 kB / 494.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.5251, allocations: 99.69 kB / 494.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5251, allocations: 4 kB / 494.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008323/0.526, allocations: 441.8 kB / 494.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.526, allocations: 41.64 kB / 494.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.526, allocations: 4 kB / 494.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.5266, allocations: 179.6 kB / 494.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.5268, allocations: 51.53 kB / 494.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.5308, allocations: 4.587 MB / 499.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.5313, allocations: 59.5 kB / 499.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.5313, allocations: 15 kB / 499.5 MB, free: 8.07 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.0001432/0.5315, allocations: 121 kB / 499.6 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004994/0.532, allocations: 267.3 kB / 499.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.532, allocations: 39.55 kB / 499.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.5321, allocations: 40.03 kB / 500 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5321, allocations: 4 kB / 500 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5321, allocations: 3.938 kB / 500 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5321, allocations: 0 / 500 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.5325, allocations: 352.6 kB / 0.4886 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5325, allocations: 0 / 0.4886 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.5327, allocations: 39.92 kB / 0.4886 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.533, allocations: 117.1 kB / 0.4887 GB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5331, allocations: 0 / 0.4887 GB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.5365, allocations: 5.018 MB / 0.4936 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5365, allocations: 3.953 kB / 0.4937 GB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.537, allocations: 309.5 kB / 0.4939 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.5371, allocations: 108.7 kB / 0.4941 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.5372, allocations: 0 / 0.4941 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.5374, allocations: 35.97 kB / 0.4941 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.5375, allocations: 31.33 kB / 0.4941 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5375, allocations: 8 kB / 0.4941 GB, free: 1.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.5377, allocations: 196.5 kB / 0.4943 GB, free: 1.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5377, allocations: 0 / 0.4943 GB, free: 1.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.5384, allocations: 143.5 kB / 0.4944 GB, free: 1.125 MB / 362.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.0008719/0.5393, allocations: 0.8568 MB / 0.4953 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.5403, allocations: 0.6424 MB / 0.4959 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5403, allocations: 6.156 kB / 0.4959 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.5409, allocations: 0.5406 MB / 0.4964 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.5412, allocations: 42.45 kB / 0.4965 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.5423, allocations: 485.3 kB / 0.4969 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5427, allocations: 0.8275 MB / 0.4978 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.5429, allocations: 39.41 kB / 0.4978 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.5431, allocations: 144.7 kB / 0.4979 GB, free: 13.69 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.5431, allocations: 4 kB / 0.4979 GB, free: 13.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.5728, allocations: 7.137 MB / 0.5049 GB, free: 6.633 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/0.5731, allocations: 164.5 kB / 0.5051 GB, free: 6.438 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.713, allocations: 4 kB / 0.5051 GB, free: 6.434 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)