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.001593/0.001593, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.45 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00508/0.1158, allocations: 3.641 MB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1176, allocations: 0.8882 MB / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.1181, allocations: 11.94 kB / 361.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1184, allocations: 55.59 kB / 361.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.1189, allocations: 127 kB / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1194, allocations: 171.8 kB / 362 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.1202, allocations: 0.6116 MB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.1205, allocations: 229 kB / 362.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1209, allocations: 231.3 kB / 363 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.1213, allocations: 294.7 kB / 363.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1214, allocations: 56 kB / 363.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.1215, allocations: 60 kB / 363.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1216, allocations: 127.5 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1219, allocations: 278.8 kB / 363.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.1225, allocations: 0.6033 MB / 364.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1225, allocations: 4 kB / 364.5 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1225, allocations: 4 kB / 364.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.1225, allocations: 3.984 kB / 364.5 MB, free: 6.898 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.001633/0.1242, allocations: 0.8437 MB / 365.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1242, allocations: 8.031 kB / 365.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1243, allocations: 90.7 kB / 365.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1245, allocations: 56.38 kB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.1249, allocations: 334.5 kB / 365.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.125, allocations: 33.38 kB / 365.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.125, allocations: 48.12 kB / 365.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.1259, allocations: 0.5139 MB / 366.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.126, allocations: 4 kB / 366.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.126, allocations: 20 kB / 366.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.126, allocations: 12 kB / 366.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.1267, allocations: 311.8 kB / 366.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1291, allocations: 1.573 MB / 368.3 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.1296, allocations: 214.4 kB / 368.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.1298, allocations: 105.9 kB / 368.6 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1299, allocations: 7.984 kB / 368.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.1303, allocations: 205.7 kB / 368.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.1303, allocations: 4 kB / 368.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001543/0.1319, allocations: 0.7699 MB / 369.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.132, allocations: 316.4 kB / 369.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.1324, allocations: 307 kB / 370.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1324, allocations: 33.7 kB / 370.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1326, allocations: 263.4 kB / 370.5 MB, free: 416 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.1327, allocations: 94.64 kB / 370.6 MB, free: 320 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1328, allocations: 82.05 kB / 370.7 MB, free: 228 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1957/0.3285, allocations: 338.8 kB / 371 MB, free: 20.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.3289, allocations: 93.58 kB / 371.1 MB, free: 20.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.3293, allocations: 263 kB / 371.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.3299, allocations: 335.2 kB / 371.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3299, allocations: 1.125 kB / 371.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001236/0.3311, allocations: 0.5349 MB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.3312, allocations: 33.92 kB / 372.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3312, allocations: 3.062 kB / 372.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/0.3319, allocations: 172.7 kB / 372.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3321, allocations: 50.97 kB / 372.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.3354, allocations: 4.93 MB / 377.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3359, allocations: 61.48 kB / 377.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.3359, allocations: 16.77 kB / 377.5 MB, free: 15.36 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.0002091/0.3361, allocations: 170 kB / 377.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.3362, allocations: 32.53 kB / 377.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.3363, allocations: 37.78 kB / 377.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3363, allocations: 3.312 kB / 377.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3363, allocations: 5.469 kB / 377.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3363, allocations: 2.734 kB / 377.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.3368, allocations: 432.8 kB / 378.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3368, allocations: 0.5625 kB / 378.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.337, allocations: 39.28 kB / 378.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.3373, allocations: 108.5 kB / 378.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.3373, allocations: 8.625 kB / 378.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.3399, allocations: 5.759 MB / 384 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3399, allocations: 0 / 384 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3407, allocations: 361.8 kB / 384.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.3407, allocations: 111.9 kB / 384.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.3408, allocations: 12.92 kB / 384.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.3411, allocations: 32.33 kB / 384.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3412, allocations: 54.11 kB / 384.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3413, allocations: 6.375 kB / 384.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3415, allocations: 217.7 kB / 384.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3415, allocations: 4 kB / 384.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005915/0.3421, allocations: 151.9 kB / 385 MB, free: 8.516 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.0009445/0.343, allocations: 0.9102 MB / 385.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3441, allocations: 0.7137 MB / 386.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3441, allocations: 1.875 kB / 386.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.3448, allocations: 0.6023 MB / 387.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3452, allocations: 52.28 kB / 387.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.35, allocations: 3.701 MB / 390.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3502, allocations: 0.8122 MB / 391.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.3504, allocations: 42.78 kB / 391.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.3506, allocations: 149.5 kB / 391.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3506, allocations: 0 / 391.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.383, allocations: 8.992 MB / 400.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3832, allocations: 241.7 kB / 401.2 MB, free: 276 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.585, allocations: 0 / 401.2 MB, free: 276 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)