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.001072/0.001072, allocations: 97.12 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 198.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002416, allocations: 7.984 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004544/0.1327, allocations: 2.888 MB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.135, allocations: 0.8887 MB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.1354, allocations: 8 kB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1355, allocations: 59.52 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005644/0.1361, allocations: 163.6 kB / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.1366, allocations: 151.7 kB / 362.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.1372, allocations: 411.8 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.1376, allocations: 166.4 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1379, allocations: 199.3 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.1382, allocations: 239.1 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.1383, allocations: 28 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.1383, allocations: 36 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1385, allocations: 95.64 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1386, allocations: 113.5 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.1391, allocations: 446.9 kB / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1391, allocations: 0 / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1391, allocations: 0 / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1391, allocations: 0 / 364.1 MB, free: 7.883 MB / 302.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.001472/0.1406, allocations: 0.7852 MB / 364.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1407, allocations: 8.031 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.1408, allocations: 90.45 kB / 364.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1409, allocations: 51.44 kB / 365 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.1414, allocations: 321.3 kB / 365.3 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.1415, allocations: 40.94 kB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.1415, allocations: 51.94 kB / 365.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/0.1424, allocations: 0.5062 MB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1425, allocations: 0 / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.1425, allocations: 19.94 kB / 365.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1426, allocations: 16 kB / 365.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.1433, allocations: 327.8 kB / 366.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.1458, allocations: 1.569 MB / 367.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.1463, allocations: 225.8 kB / 368 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1464, allocations: 4 kB / 368.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.1469, allocations: 225.6 kB / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.1469, allocations: 0 / 368.3 MB, free: 3.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001623/0.1485, allocations: 0.7863 MB / 369.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.1487, allocations: 320.4 kB / 369.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.1491, allocations: 298.9 kB / 369.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1491, allocations: 33.7 kB / 369.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1493, allocations: 267.4 kB / 370 MB, free: 1.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.1494, allocations: 98.67 kB / 370.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.1495, allocations: 4 kB / 370.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1496, allocations: 342.8 kB / 370.4 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1499, allocations: 104.7 kB / 370.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1502, allocations: 273 kB / 370.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1506, allocations: 155.9 kB / 370.9 MB, free: 496 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1506, allocations: 3.938 kB / 370.9 MB, free: 492 kB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.2978/0.4484, allocations: 0.5415 MB / 371.5 MB, free: 18.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.4485, allocations: 33.98 kB / 371.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.4485, allocations: 3.953 kB / 371.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.4494, allocations: 164.3 kB / 371.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.4497, allocations: 52.62 kB / 371.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.4539, allocations: 4.585 MB / 376.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.4545, allocations: 66.58 kB / 376.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.4545, allocations: 15.69 kB / 376.4 MB, free: 15.11 MB / 302.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 ($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.0004061/0.4549, allocations: 165.4 kB / 376.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.455, allocations: 34.61 kB / 376.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.4552, allocations: 37.98 kB / 376.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4552, allocations: 3.25 kB / 376.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.4552, allocations: 5.094 kB / 376.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4552, allocations: 6.031 kB / 376.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.4559, allocations: 426.5 kB / 377 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4559, allocations: 0 / 377 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4561, allocations: 35.97 kB / 377.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.4565, allocations: 100.9 kB / 377.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4565, allocations: 8.438 kB / 377.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.4598, allocations: 5.326 MB / 382.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4598, allocations: 0 / 382.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4611, allocations: 368.5 kB / 382.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4612, allocations: 110.9 kB / 383 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.4613, allocations: 7.844 kB / 383 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.4616, allocations: 43.7 kB / 383 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.4617, allocations: 30.22 kB / 383.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.4618, allocations: 10.75 kB / 383.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.4621, allocations: 217.4 kB / 383.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4621, allocations: 0 / 383.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007412/0.4628, allocations: 147 kB / 383.4 MB, free: 9.227 MB / 302.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 (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.001118/0.4639, allocations: 0.9136 MB / 384.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.4653, allocations: 0.7272 MB / 385.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4653, allocations: 0 / 385.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.466, allocations: 0.5921 MB / 385.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4664, allocations: 54.28 kB / 385.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.4708, allocations: 3.949 MB / 389.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4712, allocations: 0.8263 MB / 390.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.4715, allocations: 40.7 kB / 390.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.4717, allocations: 137.3 kB / 390.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of SimCode: time 2.825e-06/0.4717, allocations: 0 / 390.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.5034, allocations: 8.006 MB / 398.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.5036, allocations: 220.8 kB / 398.9 MB, free: 1.172 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.595, allocations: 0 / 398.9 MB, free: 1.172 MB / 302.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/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)