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.0008562/0.0008562, allocations: 95.44 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009958/0.0009958, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 7.984 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 51.51 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004039/0.1244, allocations: 3.075 MB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1265, allocations: 0.8652 MB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.1267, allocations: 11.94 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1269, allocations: 55.53 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.1274, allocations: 123 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.1279, allocations: 155.7 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1285, allocations: 0.557 MB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.1288, allocations: 166.4 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.1291, allocations: 203.3 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.1294, allocations: 231 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.1295, allocations: 32 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1296, allocations: 32 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.1297, allocations: 99.58 kB / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1298, allocations: 113.5 kB / 364 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1303, allocations: 458.9 kB / 364.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1303, allocations: 3.938 kB / 364.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1303, allocations: 4 kB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1303, allocations: 0 / 364.5 MB, free: 7.77 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.001534/0.1318, allocations: 0.7735 MB / 365.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.1319, allocations: 12.03 kB / 365.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.132, allocations: 86.52 kB / 365.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1322, allocations: 55.44 kB / 365.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.1327, allocations: 321.3 kB / 365.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.1327, allocations: 33 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.1328, allocations: 55.94 kB / 365.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.1338, allocations: 0.514 MB / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1339, allocations: 0 / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.1339, allocations: 20 kB / 366.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.1339, allocations: 12 kB / 366.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.1347, allocations: 327.8 kB / 366.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.1374, allocations: 1.569 MB / 368.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.1379, allocations: 226.7 kB / 368.5 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1382, allocations: 101.9 kB / 368.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1382, allocations: 4 kB / 368.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.1387, allocations: 217.6 kB / 368.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.1387, allocations: 0 / 368.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001617/0.1403, allocations: 0.7863 MB / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.1405, allocations: 324.4 kB / 369.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.141, allocations: 302.9 kB / 370.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.992e-05/0.141, allocations: 37.64 kB / 370.2 MB, free: 1.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1413, allocations: 267.4 kB / 370.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.1414, allocations: 94.73 kB / 370.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.1415, allocations: 7.938 kB / 370.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1417, allocations: 338.8 kB / 370.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1419, allocations: 108.7 kB / 371 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.1423, allocations: 265.1 kB / 371.3 MB, free: 444 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1426, allocations: 167.8 kB / 371.4 MB, free: 272 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1426, allocations: 0 / 371.4 MB, free: 272 kB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.2451/0.3878, allocations: 0.5347 MB / 372 MB, free: 19.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.3879, allocations: 33.31 kB / 372 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.3879, allocations: 4.594 kB / 372 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/0.3889, allocations: 170.4 kB / 372.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3892, allocations: 51.16 kB / 372.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.3942, allocations: 4.53 MB / 376.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.395, allocations: 72.36 kB / 376.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.3951, allocations: 16.06 kB / 376.8 MB, free: 15.31 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.000345/0.3954, allocations: 160.6 kB / 377 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.3955, allocations: 38.77 kB / 377 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3956, allocations: 38.25 kB / 377.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3956, allocations: 7.031 kB / 377.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.3957, allocations: 1.031 kB / 377.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3957, allocations: 3.031 kB / 377.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.3965, allocations: 425.8 kB / 377.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3965, allocations: 1.281 kB / 377.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.3968, allocations: 36.73 kB / 377.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.3973, allocations: 109 kB / 377.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.3974, allocations: 10.8 kB / 377.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.4017, allocations: 5.293 MB / 382.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.4018, allocations: 0.9375 kB / 382.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4032, allocations: 375.8 kB / 383.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4034, allocations: 116.5 kB / 383.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.4035, allocations: 7.406 kB / 383.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.404, allocations: 34.64 kB / 383.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.4041, allocations: 30.36 kB / 383.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.4042, allocations: 13.12 kB / 383.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.4046, allocations: 217.2 kB / 383.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4046, allocations: 0 / 383.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001298/0.406, allocations: 147.9 kB / 383.9 MB, free: 9.383 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.001813/0.4078, allocations: 0.9173 MB / 384.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.41, allocations: 0.7217 MB / 385.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.41, allocations: 1.062 kB / 385.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4111, allocations: 0.5919 MB / 386.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.4119, allocations: 62.53 kB / 386.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/0.4182, allocations: 2.139 MB / 388.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4188, allocations: 0.8152 MB / 389.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.4192, allocations: 39.7 kB / 389.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.4196, allocations: 142 kB / 389.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.805e-06/0.4196, allocations: 1.188 kB / 389.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.4598, allocations: 8.033 MB / 397.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.4601, allocations: 220.3 kB / 397.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.638, allocations: 0 / 397.5 MB, free: 3.031 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)