Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.45 kB / 306.6 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005003/0.128, allocations: 2.889 MB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1297, allocations: 0.8454 MB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.1301, allocations: 4 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1304, allocations: 35.75 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1308, allocations: 99.3 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1313, allocations: 175.8 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.132, allocations: 490.2 kB / 361.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.1323, allocations: 125.4 kB / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.1327, allocations: 191.4 kB / 361.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.1331, allocations: 211.2 kB / 362.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.854e-05/0.1332, allocations: 40 kB / 362.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1333, allocations: 48 kB / 362.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.1334, allocations: 99.64 kB / 362.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.1337, allocations: 191.1 kB / 362.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1342, allocations: 450.5 kB / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1342, allocations: 0 / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1342, allocations: 0 / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1342, allocations: 0 / 362.9 MB, free: 8.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001731/0.136, allocations: 0.6896 MB / 363.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.136, allocations: 8.031 kB / 363.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.1361, allocations: 62.73 kB / 363.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1363, allocations: 44.55 kB / 363.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.1369, allocations: 307.5 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.137, allocations: 46.7 kB / 364.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.1371, allocations: 24.38 kB / 364.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.1376, allocations: 284.3 kB / 364.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1377, allocations: 0 / 364.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1377, allocations: 12 kB / 364.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1377, allocations: 4 kB / 364.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.1381, allocations: 161.7 kB / 364.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.1409, allocations: 1.048 MB / 365.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.1414, allocations: 126.5 kB / 365.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.1416, allocations: 88.77 kB / 365.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1416, allocations: 0 / 365.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.1417, allocations: 42.5 kB / 365.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 3.957e-06/0.1417, allocations: 0 / 365.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001269/0.143, allocations: 441.3 kB / 366.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.1431, allocations: 158.2 kB / 366.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.1435, allocations: 278.5 kB / 366.7 MB, free: 4.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.1436, allocations: 33.7 kB / 366.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1438, allocations: 180.1 kB / 366.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1438, allocations: 43.3 kB / 367 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.144, allocations: 49.69 kB / 367 MB, free: 4.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1441, allocations: 334.8 kB / 367.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.1444, allocations: 83.95 kB / 367.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.1447, allocations: 133.9 kB / 367.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.1451, allocations: 165.6 kB / 367.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1451, allocations: 0 / 367.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008684/0.1538, allocations: 0.9063 MB / 368.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.1539, allocations: 7.984 kB / 368.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1539, allocations: 0 / 368.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.1642, allocations: 0.8249 MB / 369.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1644, allocations: 15.98 kB / 369.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.282/0.4463, allocations: 4.892 MB / 374.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4468, allocations: 25.2 kB / 374.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.4468, allocations: 9.922 kB / 374.4 MB, free: 16.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.4471, allocations: 144.4 kB / 374.5 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4472, allocations: 26 kB / 374.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.4473, allocations: 33.7 kB / 374.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4473, allocations: 2.688 kB / 374.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.4473, allocations: 1.969 kB / 374.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4473, allocations: 0.6094 kB / 374.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4486, allocations: 0.6204 MB / 375.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4487, allocations: 2 kB / 375.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4488, allocations: 20.14 kB / 375.3 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.4491, allocations: 49.33 kB / 375.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.4491, allocations: 8 kB / 375.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.4513, allocations: 2.925 MB / 378.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4513, allocations: 0.8438 kB / 378.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.452, allocations: 324 kB / 378.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4521, allocations: 105.2 kB / 378.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.4521, allocations: 6.531 kB / 378.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.4524, allocations: 11.91 kB / 378.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.4526, allocations: 30.16 kB / 378.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.4526, allocations: 10.86 kB / 378.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.453, allocations: 196.1 kB / 378.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.453, allocations: 4.625 kB / 378.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008997/0.4539, allocations: 98.23 kB / 379 MB, free: 13.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008855/0.4548, allocations: 0.8549 MB / 379.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4566, allocations: 0.5545 MB / 380.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4566, allocations: 0 / 380.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.4571, allocations: 323.7 kB / 380.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.4576, allocations: 56.28 kB / 380.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.4784, allocations: 4.073 MB / 384.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4788, allocations: 0.761 MB / 385.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.4791, allocations: 21.11 kB / 385.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.4792, allocations: 95.14 kB / 385.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4792, allocations: 4 kB / 385.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/0.5231, allocations: 9.711 MB / 395.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.5234, allocations: 266.3 kB / 395.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/2.931, allocations: 2.391 kB / 395.7 MB, free: 5.191 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)