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.0008874/0.0008874, allocations: 101.3 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009446/0.0009448, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 8 kB / 306.8 MB, free: 1.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 51.5 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00361/0.1411, allocations: 2.42 MB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1426, allocations: 0.7952 MB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1428, allocations: 4 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1429, allocations: 31.75 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1433, allocations: 91.3 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.1437, allocations: 147.7 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.1441, allocations: 418.4 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1444, allocations: 93.17 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.1447, allocations: 155.4 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.145, allocations: 175.3 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.1451, allocations: 20 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.1452, allocations: 31.98 kB / 362.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.1453, allocations: 63.73 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.1454, allocations: 81.52 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.1457, allocations: 335.3 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1457, allocations: 4 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1457, allocations: 0 / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1458, allocations: 0 / 363.1 MB, free: 9.133 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.001439/0.1472, allocations: 0.6454 MB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1473, allocations: 12.03 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.359e-05/0.1473, allocations: 58.55 kB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.1476, allocations: 43.61 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.1481, allocations: 297.5 kB / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/0.1482, allocations: 46.09 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.1483, allocations: 24 kB / 364.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1488, allocations: 284.4 kB / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1489, allocations: 0 / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.1489, allocations: 11.94 kB / 364.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1489, allocations: 4 kB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.1493, allocations: 169.7 kB / 364.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.1515, allocations: 1.06 MB / 365.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1518, allocations: 130.4 kB / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.152, allocations: 88.83 kB / 366 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.152, allocations: 0 / 366 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1521, allocations: 34.56 kB / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1521, allocations: 0 / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009422/0.153, allocations: 453.4 kB / 366.5 MB, free: 5.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.1531, allocations: 158.2 kB / 366.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1534, allocations: 262.6 kB / 366.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.1535, allocations: 33.7 kB / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1536, allocations: 180 kB / 367.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1536, allocations: 43.3 kB / 367.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.1537, allocations: 4 kB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1538, allocations: 338.8 kB / 367.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.154, allocations: 92.33 kB / 367.6 MB, free: 4.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.1542, allocations: 141.2 kB / 367.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.1544, allocations: 99.97 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1544, allocations: 3.938 kB / 367.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.006584/0.161, allocations: 0.9043 MB / 368.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1611, allocations: 7.938 kB / 368.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1611, allocations: 0 / 368.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007817/0.1689, allocations: 0.8327 MB / 369.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1691, allocations: 27.92 kB / 369.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2531/0.4222, allocations: 4.489 MB / 374.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.4226, allocations: 26.86 kB / 374.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.4227, allocations: 12.22 kB / 374.1 MB, free: 17.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {4 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.4229, allocations: 138.8 kB / 374.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.423, allocations: 21.75 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.423, allocations: 24.7 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4231, allocations: 6.344 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4231, allocations: 0.9688 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4231, allocations: 8.453 kB / 374.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.4242, allocations: 0.6253 MB / 374.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4242, allocations: 1.516 kB / 374.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4244, allocations: 23.47 kB / 374.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.4246, allocations: 55.27 kB / 375 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.4246, allocations: 5.547 kB / 375 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.4265, allocations: 2.667 MB / 377.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4265, allocations: 0 / 377.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.4271, allocations: 324.8 kB / 378 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.4272, allocations: 101 kB / 378.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4273, allocations: 5.109 kB / 378.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4275, allocations: 19.02 kB / 378.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.4276, allocations: 18.5 kB / 378.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.4276, allocations: 5.703 kB / 378.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.4279, allocations: 196.8 kB / 378.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4279, allocations: 0 / 378.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006936/0.4286, allocations: 102.3 kB / 378.4 MB, free: 13.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008622/0.4295, allocations: 0.8588 MB / 379.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.4311, allocations: 0.5551 MB / 379.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4311, allocations: 1.406 kB / 379.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.4316, allocations: 315.5 kB / 380.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.432, allocations: 45.33 kB / 380.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.4416, allocations: 2.219 MB / 382.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4421, allocations: 0.7644 MB / 383.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.4423, allocations: 23.45 kB / 383.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4425, allocations: 89.7 kB / 383.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4425, allocations: 0 / 383.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.4709, allocations: 8.894 MB / 392.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.4711, allocations: 262.1 kB / 392.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.813, allocations: 0 / 392.4 MB, free: 8.012 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/linux/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)