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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009199/0.0009196, allocations: 96.98 kB / 17.64 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001078, allocations: 192.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.686/1.686, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 8 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003423/0.1665, allocations: 2.417 MB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1683, allocations: 0.799 MB / 362 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1685, allocations: 4 kB / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1686, allocations: 31.75 kB / 362.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1689, allocations: 99.23 kB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1693, allocations: 139.7 kB / 362.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.1698, allocations: 430.4 kB / 362.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.17, allocations: 85.2 kB / 362.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1703, allocations: 159.4 kB / 362.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1706, allocations: 179.3 kB / 363.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.1706, allocations: 20 kB / 363.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.1707, allocations: 24 kB / 363.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.1708, allocations: 63.73 kB / 363.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.1709, allocations: 89.5 kB / 363.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.1712, allocations: 331.3 kB / 363.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1712, allocations: 0 / 363.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1712, allocations: 0 / 363.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1712, allocations: 4 kB / 363.6 MB, free: 9.023 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.001369/0.1726, allocations: 0.6389 MB / 364.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1727, allocations: 8.031 kB / 364.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.1729, allocations: 51.61 kB / 364.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.1734, allocations: 293.5 kB / 364.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.1735, allocations: 46.14 kB / 364.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.1735, allocations: 23.95 kB / 364.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.174, allocations: 288.3 kB / 365 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1741, allocations: 0 / 365 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1741, allocations: 8 kB / 365 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1741, allocations: 4 kB / 365 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1745, allocations: 169.7 kB / 365.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1767, allocations: 1.064 MB / 366.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.1771, allocations: 122.5 kB / 366.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.1773, allocations: 84.83 kB / 366.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.1773, allocations: 15.88 kB / 366.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1774, allocations: 34.56 kB / 366.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1774, allocations: 0 / 366.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009863/0.1784, allocations: 449.4 kB / 366.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.1785, allocations: 158.2 kB / 367.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1788, allocations: 270.6 kB / 367.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1788, allocations: 29.7 kB / 367.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.179, allocations: 180 kB / 367.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.179, allocations: 39.36 kB / 367.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.1791, allocations: 8 kB / 367.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1792, allocations: 334.8 kB / 367.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.1794, allocations: 88.33 kB / 368 MB, free: 4.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1796, allocations: 138.8 kB / 368.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1799, allocations: 103.9 kB / 368.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1799, allocations: 7.938 kB / 368.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.006654/0.1865, allocations: 0.8951 MB / 369.1 MB, free: 3.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1866, allocations: 4 kB / 369.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1866, allocations: 8 kB / 369.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008151/0.1948, allocations: 0.8365 MB / 370 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.195, allocations: 19.98 kB / 370 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2936/0.4886, allocations: 4.494 MB / 374.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.4891, allocations: 24.94 kB / 374.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.4891, allocations: 6.109 kB / 374.5 MB, free: 16.96 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.0002451/0.4894, allocations: 145.8 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.4895, allocations: 22.28 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.4895, allocations: 31.83 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4895, allocations: 1.094 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.4896, allocations: 0.875 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4896, allocations: 10.03 kB / 374.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.4911, allocations: 0.6189 MB / 375.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4912, allocations: 2.25 kB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4913, allocations: 26.2 kB / 375.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.4916, allocations: 51.81 kB / 375.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.4917, allocations: 5.969 kB / 375.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.4942, allocations: 2.665 MB / 378.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4942, allocations: 1.125 kB / 378.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.495, allocations: 324.4 kB / 378.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.4951, allocations: 108.2 kB / 378.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4952, allocations: 4.969 kB / 378.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4954, allocations: 18.28 kB / 378.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4955, allocations: 16.41 kB / 378.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.4955, allocations: 9.844 kB / 378.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.4959, allocations: 195.6 kB / 378.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4959, allocations: 0 / 378.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000729/0.4966, allocations: 98.41 kB / 378.9 MB, free: 13.55 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.0001848/0.4968, allocations: 102.5 kB / 379 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.4984, allocations: 0.5514 MB / 379.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4985, allocations: 1.219 kB / 379.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.499, allocations: 324.3 kB / 379.8 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4995, allocations: 49.5 kB / 379.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5006, allocations: 0.6457 MB / 380.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.501, allocations: 0.766 MB / 381.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5011, allocations: 23.17 kB / 381.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5011, allocations: 3.906 kB / 381.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01261/0.5137, allocations: 6.154 MB / 387.5 MB, free: 10.84 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLineCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLineCalcHelperMain.o] Error 1