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.001044/0.001048, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001187, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 54.38 kB / 307.1 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1107, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004909/0.1157, allocations: 3.598 MB / 361.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1174, allocations: 0.8997 MB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.1177, allocations: 8 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.118, allocations: 79.22 kB / 362.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.1184, allocations: 146.7 kB / 362.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1189, allocations: 199.6 kB / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.1196, allocations: 0.6116 MB / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.1199, allocations: 221.1 kB / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.1203, allocations: 239.2 kB / 363.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1206, allocations: 290.7 kB / 363.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1208, allocations: 60 kB / 363.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1209, allocations: 56 kB / 364 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.121, allocations: 127.6 kB / 364.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.1214, allocations: 282.7 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.1219, allocations: 0.6073 MB / 365 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1219, allocations: 0 / 365 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1219, allocations: 3.938 kB / 365 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1219, allocations: 0 / 365 MB, free: 6.594 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.001523/0.1235, allocations: 0.8515 MB / 365.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1235, allocations: 16.03 kB / 365.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1236, allocations: 86.7 kB / 365.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1237, allocations: 52.38 kB / 366 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.1242, allocations: 330.5 kB / 366.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.1242, allocations: 37.38 kB / 366.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.1243, allocations: 48.12 kB / 366.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008269/0.1251, allocations: 0.514 MB / 366.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1251, allocations: 0 / 366.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1252, allocations: 20 kB / 366.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1252, allocations: 11.98 kB / 366.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.1259, allocations: 315.8 kB / 367.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.1281, allocations: 1.572 MB / 368.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.1287, allocations: 210.5 kB / 369 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1289, allocations: 101.9 kB / 369.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.129, allocations: 4 kB / 369.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.1294, allocations: 217.6 kB / 369.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.1294, allocations: 0 / 369.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.00155/0.131, allocations: 0.772 MB / 370.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.1312, allocations: 320.4 kB / 370.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.1315, allocations: 299 kB / 370.7 MB, free: 408 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1315, allocations: 29.7 kB / 370.7 MB, free: 372 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1317, allocations: 271.4 kB / 371 MB, free: 96 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.1318, allocations: 90.66 kB / 371.1 MB, free: 4 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1872/0.319, allocations: 79.02 kB / 371.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3192, allocations: 340.9 kB / 371.5 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.3195, allocations: 98.92 kB / 371.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3199, allocations: 263.4 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.3205, allocations: 335.2 kB / 372.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3205, allocations: 1.094 kB / 372.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001222/0.3218, allocations: 0.5371 MB / 372.7 MB, free: 19.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.3218, allocations: 37.08 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3218, allocations: 3.062 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.3225, allocations: 174.5 kB / 372.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.3228, allocations: 49.3 kB / 373 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.3267, allocations: 4.93 MB / 377.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/0.3271, allocations: 63.55 kB / 378 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.3272, allocations: 19.05 kB / 378 MB, free: 15.06 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.3274, allocations: 168.2 kB / 378.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.3275, allocations: 28.91 kB / 378.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.3276, allocations: 37.78 kB / 378.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3276, allocations: 3.75 kB / 378.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3276, allocations: 13.17 kB / 378.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3276, allocations: 1.359 kB / 378.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.3281, allocations: 425.7 kB / 378.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3281, allocations: 1.312 kB / 378.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3283, allocations: 33.62 kB / 378.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.3286, allocations: 103.2 kB / 378.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3286, allocations: 13 kB / 378.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.3319, allocations: 5.766 MB / 384.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3319, allocations: 1.094 kB / 384.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.3329, allocations: 356.1 kB / 384.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3331, allocations: 116.6 kB / 385 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.3331, allocations: 8.047 kB / 385 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.3334, allocations: 33.39 kB / 385.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.3336, allocations: 51.8 kB / 385.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3337, allocations: 8.469 kB / 385.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003678/0.334, allocations: 219.4 kB / 385.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.334, allocations: 0 / 385.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.3349, allocations: 142.1 kB / 385.5 MB, free: 8.215 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.3362, allocations: 0.9179 MB / 386.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3376, allocations: 0.71 MB / 387.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3377, allocations: 1.312 kB / 387.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.3384, allocations: 0.5942 MB / 387.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3388, allocations: 58.7 kB / 387.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.3439, allocations: 3.528 MB / 391.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3442, allocations: 0.8089 MB / 392.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3444, allocations: 43.38 kB / 392.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3446, allocations: 143.5 kB / 392.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3446, allocations: 0 / 392.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.3793, allocations: 9.202 MB / 401.5 MB, free: 212 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/14.94, allocations: 5.688 kB / 401.5 MB, free: 212 kB / 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/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)